# Friday freebies: Comment to win a copy of R Cookbook – winners announced

Want a free copy of *R Cookbook* by Paul Teetor? You're in luck, because I have four copies to give away, generously provided by O'Reilly. In case you're unfamiliar, here's my review for some background. Bottom line: It's a fine addition to the O'Reilly series of cookbooks.

### How to Win

You know the drill. Simply leave a comment on this post by **Sunday, March 8 at 11pm PST**. This time around, let's go with... your favorite number. Yeah, tell me what your favorite number is. Then I'll choose four winners at random on Monday.

Obviously make sure you use a valid email address, and only one entry per person please. Good luck!

**Update:** Winners announced! You should have received an email if you were picked. Thanks for participating, everyone.

awesome!

7 is my favorite number.

4

…because it works for me

5

My favorite number is 0

520

the birthday of my favorite little guy

Just learning R, so this would be a great help.

2π

Hmmm tough one… I think I would have to go with 3

3.14159

I like the number 1

121

21

my favorite number is 44

113

8

i (of course!)

23

favoriteInt = random.nextInt();

1138 is a favorite along with 421

Favorite number … Θ (theta), cuz 2 Π are better than one. ;)

52

7 – the number of completion

42

-6, I am a Cal grad, so I am a bit left of center.

42, the answer to the question about life, the universe and everything…

22…days till I’m getting married!

e^π

Because, why not?

R maties!!!

Love R

112358

My fave number is 4 – it goes with everything.

My favourite number is 7

I will say e = 2.71828183 because it neutralizes pi in Euler’s identity :p

e^(i*pi) + 1 = 0

http://en.wikipedia.org/wiki/Euler's_identity

525.600

1, its the most complete (unity) but its also the loneliest.

Well, for this contest, it’s either 18 or 82.

0 (but not NULL)

13

13, because it’s lucky

91!

My favorite number is 5. It seems like a very round number to me since I was little. I have always liked it… maybe it also has something to do with me having a crush on a guy in 3rd grade, whoes class number was “5″. :)

e.

Really I have four, e, pi, i, and 1

1.61; approximately the golden ratio

And approximately the ratio of successive Fibonacci numbers

My favorite number is e. Works so hard, gets no respect.

2

Even and prime.

e (the constant)

0.7734

sqrt(-1). Because of our long history together, which has not always been pleasant for either of us.

21. It’s divisible by 7 and 3, among other things. Pretty much win.

the number 3

5, it is also my favorite prime number

Is that a parrot on the cover?

9780596809157

7

0

My favorite number is 4, because that’s the number of people in my family!

2

Because it’s the only even prime number

My favorite number is the Feigenbaum constant, 4.66920… It’s a fundamental number that strangely pops-up in all sorts of apparently unrelated chaotic systems like the Mandelbrot set, Logistic map.

8 is my favorite number.

6.0221415 × 1023

8

21. My sons birthdate.

Zero. It’s quite powerful for something with no value.

16!

zero, where everything starts.

e

1729! Ramanujan!

My favorite number of the day would be 4, because I hope to be one of the 4 winners.

3

Need to start figuring out how to wrap my head around R properly sooner or later…

100

-0 (a negative zero), because positive zero is just too mainstream.

11

0

5

42

(I can’t believe I am only the second person with this number)

a_number

3

720 my wedding day

1357 looks easy on the eye

111100110

23

2

1234567890

1/137. I read some Richard Feynman in high school and that number stuck with me, though I really have very little understanding of what it means (http://en.wikipedia.org/wiki/Fine-structure_constant)

84

1066

pi.

I like pi. It’s delicious.

80085. An early entryway to the visualization of numbers.

e^sqrt(163)

805

42 ofcourse!

8, a digit perfectly combining complexity and symmetry

28

It’s simply perfect.

28

6

Me, Me, Me!

13, because it’s more than 12

2

1 million is my favorite number

1000000

10^6

ps I love your blog!

Oh, and I like 42

18

72

99 !

87. I don’t know why. Just is :)

e^(5pi/6)

anything with p < 1e-08

i

Imaginary numbers rule.

1024 = two to the tenth power. nice.

Thanks for the game!

10 is my favorite number

π – and pi day is my favorite day.

10 is my favorite number

Thanks for the game!

85

4!

(four excitedly, not four factorial)

Googleplex for me!

100010011100100101010011100110101010 :)

e

26

My favorite is pi but if you are using integers I’d go with 25

Thanks!

37.5

^5 and 8!

2^(43,112,609)-1 also known as M_{43112609}

10 for Larry Wayne

9 because sounds like nite

-0, because it was invented by computer scientists.

1, number one, the one before all others, primary, basic, selfish, the self who knows itself as one, the one and only, only one is needed, … and then there is another one, the best one, the other one, the one which makes one complete

love the stuff on this blog!

16

21, as in the number of months I’ve been in guatemala

Let it be 27

42! Don’t panic!

My favorite # is 9. Maybe brainwashed by The White Album? Love the blog–I use it in my classroom all the time :)

13

2

32, magic

8

7

My favorite number is 5.2

8

99

Agent 99, Barbara Feldon. That is all.

I am assuming you meant by May 8th.

But anyway. My favorite number is 10648 = 22^3

3 is the magic number.

It’d have to be 52 from

U+0052: Lain Capital Letter R

(character map)

13 Hot Dogs

6,000

e, its so versitile

28

Because when I was ten, I tried to win the Pick Three lottery by collecting several weeks worth of winning numbers and determining the numbers that appeared most often. 28 had the most hits. I’ve never won the lottery.

8

17

1.6180339887

The golden ratio (PHI).

I know it’s kinda obvious but just look at the nature outside and…

My favourite number is 42!

4131, my apple of choice.

e^(iπ)

17

4

1,61803 :-)

-3

Don’t ask….

1

42 because it’s the answer to the question about life, the universe and everything…

4.815162342

2, because I already have 2 R books and could use another one.

The ever popular 42. Thankfully, it is at random and not for being unique.

7

My favorite is 0. It could never be 7 because as a kid I was told that 7 ate 9 and I have never forgiven it.

my favorite number is either pi or e.. I teach Alg 2 and Statistics, so I get to use both quite a bit :)

BTW – thank you so much for your site – I often use your examples of how real world data can be shown (and nicely) as examples of where kids can go with the math that they learn.

Myself in a number:

150177

R ForTheWinneR :)

Number 5 is ALIVE!

4

Fav Num: 2600

As in Atari 2600!

Now Gimmie Gimmie Gimmie!

7

25

My birthday date and squares of primes are pretty cool.

42. For obvious reasons.

7

5 – Prime Number and it occurs in so many (meaningful) contexts

New to R, would love this book.

I’ll go with 22!

R these physical books or R they eBooks?

;)

int favNum = rand();

Favorite number is 7, but I’m pretty happy with most small integers.

What a fantastic giveaway! I have been tinkering with R and would greatly appreciate such a great resource.

My favorite number is 5, mostly because of pentagons.

5!!! Lame I know, but I have my reasons.

Phi, the golden ratio

7

5 – for high fives

3

2357111317192329313741434753596167717379838997

3

My first soccer jersey # and it just stuck…

My favorite number is eight , one above of “natural order of seven”. It’s two cubed,the largest .You can split a pie into 8 sections with three straight cuts. Source see http://www.archimedes-lab.org/

72

13 !!

4

The Golden Ratio, Phi

27 is definitely the best number 3^3

1

27

for no reason

42, for obvious reasons…

e

21, my sons birthday in August.

I’m going to join the contingent in favor of phi, the golden ratio. It feels so strong in aesthetics, mathematics, and nature.

Favorite number? Zero.

11

Nice! My favorite number is 22 (old high school basketball jersey number)

4 – because it is square

623

I like how 6 = 2 x 3

And it’s my birthday.

10042008

200 (at least when I started). Round numbers make me feel good but for bigger, more challenging problems, I like to use R.

33

Zero. Is there anything it can’t undo?

I like 15. And I would love me a copy of the R Cookbook. The SQL Cookbook is very good too.

1 googol

47!!!!!

Trying to move from sas to R more this would help!

1.61803399

14. Hopefully you’ll count all of our comments as valid even though we are way past March 8th… though May 8th is right around the corner.

The number 10.

3

43

122

21296. It’s how many days old I am.

My favorite number will change tomorrow.

2071

I’ve been wanting to learn about R for a while now.

a googolplex

256!

must be the golden ratio: 1.6180340

6502

Favorite number? Ⅵ It’s not just a s[ie]xy number, it’s a text-editor.

11!

(sqrt(5)+1)/2 = phi

The Silver Constant: S = 3.246979603…

http://mathworld.wolfram.com/SilverConstant.html

h/2pi

my favourite number is big fat

8

There’s something about 144 that works for me.

Four sounds like a good number today.

the golden ratio, 1.61803399

42

It’s the answer to life, the universe, and everything!

e – how irrational

I’ve always had a thing for 808s… TR-808s. ^_^

I like the number 1, since it’s the only number you really need.

8

My favorite number is… FLOWINGDATA.COM

Wait…

5

Hi!

9

404

good ol’ trusty 11

exp(i*pi)

10

LAST!

I have a long running battle with the number two. I have to choose it, or it might come to get me

My favorite number is .. 2. For the number of hours I spent trying to recreate the bubble chart in Excel that I could create on R in less than 5 minutes using your tutorial. Go R!

13…for luck!

6.

My favorite number is one larger than your favorite number…

My favorite number is 13, it was the day I was born.

i :)

My favorite number is the Godel number of the Godel sentence.

4, then 42, and then maybe 24 in that order. So 4 is the favorite.

I’m in! Nice price!

I’m learning R, and I’ve never formally owned a computing book.

I’ve never learned how to read a calendar either. So why did this show up on my FB feed today?

18!

10!

I’ve never won anything like this, but will give it a try anyway.

3′s my favorite #!

e

because e^(i*pi) + 1 = 0 (Euler’s formula)

My wife is learning R for her studies in Forensic Science. If I can get this book for her, it will help bring criminals to justice!

p.s. Her favorite number is 3, but mine is irrational

81

Easy, 299 792 458 m/s. So tantalizingly close to 3e8 m/s, but so far away.

29. Why all the prime numbers?

mine is 60

30

23

666 – the number of the beast ;)

It’s pi. Sweet, delicious pi.

9.81 (m/s^2)

Ok I will try this again. Fav number 33m. Love the site and view it often. Fantastic and creative.

42

98.77%

5

99.44%

Zero … seems so simple, yet it really had to be “discovered” to make mathematics as we know it possible.

MMXI

(thanks)

And it has got to be 2\pi

1111 — My House

42

i

Two, because it’s the foundation of everything electronic.

My favorite number is -1. Why? Because of euler’s identity formula.

My favorite number is blue…and 3…

{:-) Fear the unibrow!

8128, it just seems so perfect

My favorite number is 5.

82

411

Will I have to pay for shipping? :^p

42

78107

definitely 12. I don’t know why humans are so fascinated with it, but I guess it’s universal cause I am too

Seven, because it makes a filled hexagon.

Favorite number is 15. It just seems like a nice level-headed kind of a number.

My favorite number is 0.00000001. Why –because this is the ding-ding-ding p-value for GWAS..

17 – the least random of the random numbers!

88

42 is so old fashioned… but then, so am I. OK, 42 it is!

Interesting that only one other commenter found that March/May typo (or at least I hope it was a typo!) interesting enough to comment on. Reminds me of something I read about somewhere else… Bananas! Oh wait, wrong forum…

1729 is a great Number! :)

23

300

e

I like 2

The golden ratio obviously : 1.6180339887

Far more impressive than pi from a viz perspective.

i

but also: 1729 (it has a good story associated with it)

1/137 which is alpha, the atomic fine structure constant

and for your geeky pleasure, there are 10 types of people who understand binary

5, because it’s may not march

6474067

Here is a simple log-log graph of the data http://i.imgur.com/aamGv.png

Because it is the arithmetic mean of comments above mine with less than 10 digits.

Download the csv file here: http://cl.ly/6WRn

42 – obviously!

e!!

17, because it’s the Humbug’s answer to every question in _The Phantom Tollbooth_ and because it is the least random number (according to the Jargon File).

9

33

$4.44

0

R books R awesome !

i want it. 18.

23

lets do 45

436. The number of pages I hope to be reading in my favorite new book.

exp(i*π)

mine is 3.. birth day, lucky number.. and so on..

Tau (2 * Pi)

3,481,704 – the number of holes in the ceiling tiles of the main hallway in my high school. It’s been almost 20 years, but that math lesson has stuck.

i

8 it is :)

pi is my favorite number.

yummy indeed!

8 or maybe infinity sideways

Did no one else notice that the post says to leave comments by Sunday *March* 8? I think the next year March 8 will be on a Sunday is 2015, so no rush.

3

it looks like boobs, or a mustache, or a butt

2

3056

32423

I like it because if you visualize it, you see a snippet of an interference pattern peaking at the centre with 4. Also, not only is it a palindromic prime, but the sum of all primes before it and this number make a pandigital number! No other sum of continuous primes has this property! Much more interesting than your average rational!

The moar you know..

My favorite number is i.

12!

15 :)

My favorite number is the aesthetically pleasing (1+SQRT(5))/2

42: the answer to life the universe and everything http://goo.gl/j7PnT

My favorite number is Euler’s Number (e). It’s got so many nice properties. It’s easy to take derivatives and integrals of e^x. Euler’s number is the main part of the pdf of the exponential distribution, and is part of what makes the distribution so fancy (memoryless distributions, anyone?).

3,720 (to 1). The possibility of successfully navigating an asteroid field…

My favorite number is definitely two times pi (a quantity that is sometimes called tau). It’s useful in all kinds of statistical formulae, and its abbreviated form (6.28) makes for a great summer holiday: http://tauday.com/

256

My favorite number is pi, it sounds like pie (yummi yummi)

8

1.616252(81)×10−35 … the Planck length :-)

4 8 15 16 23 42

Don’t know why but they keep repeating themselves in my head. Maybe I’ll play them in the lottery…

9

1.61803399

Easy, but looks like I’ve been beaten to it 7 times.

Still, definitely Phi

2

5318008

Best if you’re 11 and using a calculator upside down.

5

Infinity

8.

3

345, because that’s the number of the comment that won!

53.5

17, it’s my lucky number!

Here’s mine. Go ahead – see what it is today…

library(random)

i<–randomNumbers(n=1, min=1, max=1000000, col=1)

i

I assume you meant May 8?

My favorite number?

How about, oh,…. -i.

42 of course. =D

11. Prime, visually balanced–what could be better?

Daddy needs a new pairs of shoes …

Oh please oh please oh please

My favorite number is 219.

26

33 because that’s how old Tomohiro Nishikado was when he wrote Space Invaders.

27

42

10 – It’s so metric, and it was my high school football jersey number.

Coincidentally, I just purchased the pdf of this book. But it would be nice to have a hardcopy, so… 7?

Googol (10 to the power 100)

8!

8

i

And that explain why I never win any lottery.

Not even this one!!!

Love 2 R !!!

1

64

3

5 and 11

My Fav number is 23!!

13!

Thanks… Don’t know why I like this no. 27

The Answer, aka 42.

33

7

365

1 – number of times I’ve entered a flowing data competition :-)

i is my favorite number.

321

thanks!

0 – nothing more or less

8

e

9

18.

10

66

672!

Favorite number: 9

10, but only in sexagesimal. <3 for the sumerians.

24

12

Favorite number is 1 because God is 1 :)

9

3!

3… nice and sturdy.

Hm. It would have to 144.

51

6

8 but I’ll change it if I can get a book.

13 … may because I am not superstitious? Oh wait, maybe I am if I think I my just win an awesome book with it! :)

I’d have to say 17.

Zero. That’s it–zero.

14.. because it was julie foudy’s number. also jerseys for high school teams are usually numbered by size – so there’s no way I would fit into no. 7.

42, nach.

Nice book. My favourite number is 13.

313

0

why? because it has unique characteristics: no effect on addition and subtraction, reduce to zero any number multiplied by zero, you can’t divide by zero, log(0) ~= negative infinity… zero is a badass number!

e^i

1/phi because the digits after the decimal are the same as phi, the Golden Ratio. It’s the same as phi^2, but I choose 1/phi because I really want the R Cookbook. We have a lot of cookbooks that we don’t use, I think I could learn a lot from this one, even if it doesn’t have a cupcake recipe.

11

Wow. People know numbers. Now I regret not paying attention in my math classes..

I’ll go with.. INFINITY (∞).

7

I’m torn between 0 and 42

1

I am a fan of 2.

don’t have a “favorite”, so I guess i’d just pick rnorm(1)

17

27

9 works for me

$\phi$, she shur is purdy

1989, the year the best decade EVER started to end.

Miss, miss, miss.

———————————————————————-

By the way I think the date is wrong, shouldn’t it be May 8?

My favorite number is 7. Not too original, I know!

7

I nominate 40.

43 .. cause if 42 is currently the answer, 42+1 is the next logical step in the evolution of life, the universe and everything

Phi, because

Phi – 1 = 1 / Phi

is just about the coolest relationship ever.

…Although 6 is a pretty ballin’ number, for an integer…

3

5 is the 1. The heck it is. :)

its 7/19 for me…….

8

# 10

3.14 …. its the basis for everything!

37

7 is pretty nice

88 is my fav number!

50. No wait, 51.

gotta go with a googol

My favourite number is …13, contrary to the superstition that 13th day of a month is a day of bad luck.

Duh. 1337 is obviously the favourite number of anyone who deserves that book. =p

Data analysis, all the basis necessary into such book…

favorite number 666

1/7 is awesome.

17 :D

‘e’ is the natural choice… (groan).

531,8008

7, but I never did work out why.

21~!

14 – hehe .. :-)

667 – the neighbor of the beast.

My favorite number is 3

1, of course

104 !

13 for me,no superstitions since my son was born on the 13th.

9

(-.75r, 0j)

1729 (known as the Hardy–Ramanujan number) = 7 * 13 * 19

I like the story “I had ridden in taxi cab number 1729…”

Featured in the dialogue of a modern theatre production:

http://www.wikipedia.org/wiki/A_Disappearing_Number

A very interesting story involving two prominent Mathematicians, and dramatised by Complicite theatre company.

10011958…”You cannot be late, Nate!”

213

25

11. The number of my T-shirt when I used to play basketball :)

My favourite number is 13

Mine is 3!

789487028702648679320890849320890890843290

Cause that’s what rolled off the fingers.

Jim

2

9

comes to mind somehow

7 first, but others chose lucky 7

I want some R enlightenment

=)

3.5

16 – it’s always been a special number to me because it has so many different facets. It’s the fourth non-zero perfect square. It’s 2^4 -and- 4^2. 1+6 = 7, another lucky number. It’s also my birthday, and that’s four cool things about it times my square personality, which makes 16 – again.

70

37

It is obvious. My favorite number, an indeed almost everyone’s favorite number is 10. It is the basis of the decimal system and the metric system. Its fantastic. Now if only we could convince birthright Americans that 10 was a really nice number. They tend to prefer numbers such as 12 and 16.

12407 – It’s the first uninteresting number!! The smallest integer that does not appear in the Online Encyclopaedia of Integer Sequences :)

9B (or 9*10^9)

The estimated population in 2050… if we get there.

3 it’s a magic number

not sure if this is within the deadline… :)

anyway, my favourite number today is: 49

happy R cooking everyone!

338 works for me

e because pi gets all the attention.

3…if it works for 2, it may or may not work for 3…but it it works for 3, it will work for 4 or more (generally true in mathematics and programming)

14 !! what a number!

The answer is 42.

37

42, naturally.

666

4

Hey!

My favourite number is 1337

my favourite number is 8, for obvious reasons

favourite number is MCMLXXXIII according to the romans

My fav number is 9!!!

Definitely the least random number, 17.

666

8!

27

11

3

That’s the magic number

Yes it is

It’s the magic number

Somewhere in this hip-hop soul community

Was born 3 Daisy, Dax and me

And that’s the magic number

starting to use it in astronomy

Negative 3.

I’m doing my masters in Information Systems at UCT (Cape Town). Our lecturers are trying to get us to use proprietary tools but I’ve just discovered R and I like it!

9

And the number is…8!

7

6.02 x 10^23. The universal constant, in litre atm/mole degree k

05062011 it is the day you posted the great give away..

cheers

Sven

Favorite Number: 42, the Answer to the Ultimate Question of Life, the Universe, and Everything

8. Day of birth of my first son. Month of birth of my second.

One gross. Not a lot of whole numbers are special enough to have their own name.

14.5 – screw integers.

e

141 – ain’t prime, but mighty fine.

8

good cooking is central to my tekkie life!

13

239

41 because it’s a prime number and the solution to the universe (not 42)!!!!

π!

3. because good things come in 3′s!

88

229

24

72 (27 is a close second)

1453 because it’s so sad.

I like my R well roasted,

Zero is a good round(ish) number

My favourite number is 3!

1.08 (just made it up)

8, as made famous by Nintendo!

My favorite number is 10, today. For the midfield maestro in me.

27, and I don’t know why. Whenever I have to come up with a number to use as an example, I use 27.

666

Because it confounds a certain sector of the Right Wing

1.61…

well, I just wanted to make a present to my wife, an infographic designer as well as me!. Thanks!

I forgot to mention, my favourite number is 6!

My favourite number is 4

7, obviously.

1111111111^2

I’ve always loved 56. Has a harmony for me.

14

and of course, March is making question

327 is my favourite number.

1 – the loneliest number

I’ll go with phi. Call me old-fashioned.

3 because it’s my lucky number!

Pi. Because it sounds like ‘pie’.

5 – i’m sure it’ll win!

2468 (Motorway!)

i work with 64 bits, and that is my number

My favourite number is φ – phi, a ratio most extreme and mean

My fav number is 7!

2-because it takes two to make 1.

6

2σ

42, for reasons that should be obvious.

Looks like a great book!

77

6

1886

1138 – comprenne qui pourra

72011 because that’s the month I will receive my copy of “Visualize This”

0

My favorite number is 111111

this one goes to 11.

As a newly-wed it has to be:

2

My favorite number is probably a googleplex.

9

My favorite number is 3

2112 !!

11

I’d have to say s(4,2) at the moment, been wrestling with a programming contest entry that revolves around it all morning.

1.6180339887 …

The Golden Ratio

17

My favorite numbers are 3 & 7.

13. It’s my lucky number.

6

twenty eight

18

60

1

2

because fuck binary

I have several favorites: 3, 5, 7, 9 and 11

4

23!! ^_^

3 because that’s when things get serious

6 and I don’t know why. It was always my baseball number when I was a kid, though.

30,000.

187

323

11.

1 is my favorite number!

9 because it rules the single digit world

e – a useful number

My favourite number is 13…though the number that follows me everywhere is 1210…don’t ask why, but it’s stalking me o.O

φ, often referred to as the ‘Golden number.’

1313

0

Been dying to get this book!

Favorite number: 22/7, because sometimes I wish the universe were more rational.

I’ll go with 17

7, of course- Born 7/7, weighed 7lb 7oz.

24

My favourite number is 3. Probably.

Lucky 610 !

j – an engineers i

114

For some reason I’ve always gravitated to 121 – it’s easy to type quickly.

111

number e,

simply beautiful….

My favorite number is 11.

4

randomly chosen. ;)

216!

72

54

8 – the oct rules – screw the hexadecimal system!

Plus on its side it becomes infinite!

I know 42 was said but damn its a good number

21

41

euler’s number!

270 (majority of the electoral college)

27 is my favorite

129 is my favorite number

99!!!

0

My favorite has to be 246. :)

Number 7

Favorite number? pi of course. Especially ala mode.

probably 26 right now since that is how many cousins i have

-1

is “R” about pirates?

Numbers… you either love them or hate them…. You can add me to the first group who love them.. (and to the group of 4 :)

Favorite number: five.

22

33 – Larry Bird

My favorite number? 1.

867-5309

Hey Nathan, 7 is my favorite number. Thanks for this giveaway!

favorite number : 512010

-40, the point at which Fahrenheit and Celcius temperatures are the same.

Number 13. :)

13!

Do transfinites count? Because then I’d have to go with ω.

If not, how about… uh… 24.

Favorite number is 4!

29 all the way!!

2 is my favorite number.

22 here, too.

77

113

2 !

17

13 (unlucky for some)

50189!

Why, 42, of course, in all the geekiest ways!

51!

sqrt(2)

The Golden Ratio (phi).

7 cause it eight nine.