Win a free copy of a new video course on ggplot2 and Shiny!

Noticed all these posts on r-bloggers about ggplot2 and shiny? Do you want in? My course “Building Interactive Graphs with ggplot2 and Shiny” (published by Packt Publishing) covers those 2 packages in a series of 40 videos, each one dedicated to one concept at the time. After this course, you’ll be able to make fancy customised plots and publish them on the internet on some cool interactive webpages to be shared with the world!

See the content of the course here, and my previous post about it for an introduction and some reviews.

Now, I am pleased to announce that I have teamed up with Packt Publishing to organise a giveaway! Three (3) of you beautiful readers are going to get this course for free!

Here’s how it works:

  • Simply leave a comment below (e.g. “I want it!”, “You rock!” or whatever takes your fancy) together with your email address*.
  • After the deadline (Wed. 09th July at midnight, UK time), I’ll pick 3 winners at random.

Winners will be contacted by email, so be sure to use your real email address when you comment!

(By the way here’s a question for you to ponder over: how do you pick three numbers between 1 and n at random, transparently so that no-one can contest the fairness of the selection?)

Good luck!

* Use the field “email” in the form; the address won’t show in the comment.

EDIT: Don’t worry if I don’t approve your comment straight away. I’ll get to it as soon as I can. Thanks.

UPDATE: The comments are now closed. Thanks for the great response! I’ll announce the 3 winners early next week, after selecting them with the strategy explained here.

SECOND UPDATE: We have the winners!

I have followed the protocol I designed here and selected 3 lucky winners. I got the list of unique participants sorted by their posting date directly from the blog’s database and ran the following code:

Select All Code:
players <- read.csv2("wp_comments.csv", sep=",", header=FALSE, col.names=c("ID","PlayerName"))
lotteryResult <- c(3,19,23,28,37,43,34) # UK national lottery resultst on the 12th July 2014 https://www.national-lottery.co.uk/player/lotto/results/results.ftl
nPlayers <- nrow(players)
nWinners <- 3
 
allCombinations <- combn(nPlayers,nWinners,simplify = FALSE) 
index <- ceiling(choose(nPlayers, nWinners) * lexicographicIndex(lotteryResult, 49) / choose(49,7))
winners <- allCombinations[[index]]
cat("\n The winners are:", winners)
cat("\n that is:")
print(players[winners,])

So the winners are:

Eduardo, David and Jeff: packt will contact you soon about this.

Thanks again everyone for playing, it was great to see such a great response to the competition!

This entry was posted in Uncategorized and tagged , , , , , . Bookmark the permalink.

173 Responses to Win a free copy of a new video course on ggplot2 and Shiny!

  1. Tom Palmer says:

    You rock Christophe!

  2. János Divényi says:

    I definitely want it!:)

  3. Sumit bindra says:

    I want this course!!

  4. Emilia Lombardi says:

    I do want this.

  5. erik says:

    I do in fact want this surely fantastic video!

    Thanks Christophe!!

  6. Ian King says:

    You don’t want to know what “takes my fancy”! Thanks for the opportunity to win.

  7. Matt H. says:

    Fingers crossed! #youRock

  8. Laurent says:

    I do want this incredible course !!!

  9. Rodrigo says:

    You rock!! God save R!!

  10. Ilias Biris says:

    Thanks CL! I want it!!!

  11. Jack says:

    You rock CJ!

  12. gd047 says:

    I want it!

  13. Felipe Jimenez says:

    Yo lo quiero!

  14. Yeah, I really want it!!

  15. Yoshifumi Yamamoto says:

    I want it!!

  16. gd047 says:

    how do you pick three numbers between 1 and n at random, transparently so that no-one can contest the fairness of the selection?

    set.seed(sum(1:n))
    sample(n,3)

    • CL says:

      Nice and simple! But not really fair to the players. For example, if you assume there’ll be between 30 and 100 participants, player #13 will win 7 times, while many others will never win:

      Select All Code:
      x <- sapply(30:100, function(n) {set.seed(sum(1:n)); sample(n,3)}) # all the winners
      table(c(x)) # winning frequency
      setdiff(1:100,unique(c(x))) # these players will never win.
  17. Joshua French says:

    I’d love a copy! Thanks for making this available.

  18. Thank you very much for this opportunity to get it by free.

  19. Eric says:

    Woo! Free copy!

  20. Andrius says:

    I need one for sure!!!

  21. Guessed says:

    I want rocks! Did I do it right?

  22. Joe Hightower says:

    I want it!!!! After seeing ggvis at useR! 2014 I am really interested in applying it to data display for our Quality Engineering Toolkit.

  23. Eduardo García says:

    This course looks awesome!

    #IWantThisCourse #youRock

  24. Pedro says:

    I want it!

  25. LN Yaddanapudi says:

    I need this.

  26. Manny says:

    You rock!

  27. Phil K says:

    I want it!

  28. Eric Bremer says:

    You Rock! Looks like an awesome course.

  29. Denton Brosius says:

    I’d love to have a copy of this.

  30. Danilo Freire says:

    I do want it, too! :-D

  31. pasqui says:

    Hi, you are an great guy,
    so, please, give me the book!

  32. Przemyslaw says:

    set.seed(20140703)
    sample.int(n, size = 3, replace = FALSE)

    • CL says:

      Nice but as in a previous solution, the draw is not fair for the players; some are more likely to win than others, and some players have no chance of winning.

  33. tom says:

    I will write comments on this post for new video post! :-)
    I will write comments on this post for new video post! :-)
    I will write comments on this post for new video post! :-)
    I will write comments on this post for new video post! :-)
    I will write comments on this post for new video post! :-)
    I will write comments on this post for new video post! :-)
    I will write comments on this post for new video post! :-)
    I will write comments on this post for new video post! :-)

    Actually, I am just copy-pasting it. :)

  34. ro says:

    this plot is shiny. #IWantThisCourse #youRock

  35. Dr. Love says:

    Sounds great. I definitely want a copy.

  36. Luis Otavio says:

    I want it!

  37. Andrew says:

    I’d love a copy! Thanks for posting this!

  38. Andrew says:

    Nice!! I’d love a copy.

  39. macroecology says:

    I’ll throw in my hat. Want to see that shiny parts… ^_^

  40. David says:

    Me want course. ME WANT NOW!

  41. Matias Garcia-Constantino says:

    I want it!

  42. Scott Robinson says:

    The video looks interesting.

  43. Curt Seeliger says:

    Yes, this graphy stuff is a great new topic for us to explore.

  44. MalditoBarbudo says:

    You rock!!!!!

  45. Paul says:

    I want it!

  46. Ken Mayeaux says:

    Great offer! Thanks.

  47. Patrick Gardella says:

    WANT!

  48. Ron says:

    Me wants it, my precious, precious. But of course: You rock!

  49. Scott says:

    Woo! You rock! I want that please!

  50. tim essam says:

    Would really enjoy the course and am sure it would boost my productivity at work!

  51. Yijian Huang says:

    I definitely want it!

  52. Gu Mi says:

    I would love to have it, thanks!

  53. Ricardo says:

    I want it!

  54. Niko Partanen says:

    I want it!

  55. Antonio Lima says:

    I definitely want a copy!!!!

  56. Fernando Souza says:

    I want it! A lot!!!!!

  57. Richard says:

    I want it!

  58. Paulo says:

    #IWantThisCourse too!

  59. Tim jacobs says:

    Good topic!

  60. Hayi says:

    Send the video to this address ;)

  61. Kaushik says:

    This seems like some kind of a prank!!! But I too want it.

  62. Carlos says:

    Lo quiero mucho, o quero, jo ho vull, nahi dut. That is: I want it.

  63. NL says:

    OK. excited to leave a comment.

  64. Robert Duval says:

    Great idea. I’m in!

  65. Wall-E says:

    Very interesting! I want it!

  66. This would be great set of videos to see. Thanks for the kind offer to share with the lucky winners! BTW, http://www.random.org/ is a great place and service to get truly random numbers.

  67. r2evans says:

    Pick me!

  68. Alexandro says:

    You rock ! I want it!!!

  69. Matt R says:

    I want it!

  70. steve says:

    gissa vid ;-)

  71. Robert says:

    Very good proposal thank’s in advance christophe

  72. JieFu Yu says:

    This is better than Christmas gifts! I WANT it~~>_<!

  73. Claudio says:

    Luck is with me, I want it :D

  74. Gerardo says:

    C.Ladroue<-c("you.rock!!")

  75. Dominykas says:

    I want it!

  76. Steve says:

    I need this course (and you rock)!

  77. Dan Bowen says:

    You rock!

  78. Bernie Kruger says:

    A shining example of an excellent visual experience! Bring it on!

  79. Michelle says:

    Pick me! I want one.

  80. You’re the man, human male!

  81. Prabha Pillay says:

    I would love this.

  82. Joao Santos says:

    You rock and I want this course!

  83. David says:

    sample(3, 1:n)

  84. Vanessa says:

    I would love, by far,
    even more than a new car
    with great, academic force
    to learn from this new course!

  85. Manish Dalwani says:

    You rock CJ!!!

  86. Sean Raleigh says:

    Sounds cool. I’d like that!

  87. Pradeep Kumar says:

    You are fantabulous!

  88. Kirill Pomogajko says:

    You’re awesome!

  89. Aqhat says:

    You rock!

  90. serf says:

    Good idea, will improve my shiny skills!

  91. Stefan says:

    I’d love to learn ggplot2 properly. As a base graphics user, I’ve found moving to ggplot2 difficult and I’d appreciate a course which might help demystify this excellent package. (It’s not that ggplot2 is difficult, it’s just that base graphics are so easy! Not to mention, I’ve been using it for years.)

  92. Teru says:

    I wanna have it.

  93. David says:

    This newbie definitely wants!

  94. Charles Joly says:

    I want it too!

  95. Carlesla says:

    It would be nice. Thanks a lot

  96. Matt H says:

    I want this course! Pick me!

  97. I’d LOVE to win!
    - Markus from Germany

  98. Diego says:

    Awesome !!! I would love to have a copy !

  99. Dan Siddle says:

    “Whatever takes your fancy” – But more seriously looks good.

  100. Maciej says:

    I want to be picked

  101. Bruno Lavoie says:

    I want it! I need it!

  102. Monkel says:

    sounds interesting

  103. Jason Thomas says:

    This is awesome!

  104. Michael says:

    Need to learn about ggplot2 and shiny. What better way? Curious about how you decide to choose winners

  105. Ray Becker says:

    Great giveaway! Thanks. I would love a course on Shiny and ggplot2.

  106. Rohan Misra says:

    Pick meee!!

  107. Valentino Salvado says:

    I want a copy! Thanks for making this contest.

  108. Etienne Delay says:

    I need one for sure!!!

  109. Leland Lockhart says:

    I want this video!

  110. I’m interested in being randomly selected!

  111. Paul Drake says:

    Might as well try the competition before buying it!

  112. Matt barney says:

    You rock (and roll R ). I’d love a copy of the video

  113. V. Rajeswaran says:

    “whatever takes your fancy” – Unique comment?

  114. Cynthia Sadler says:

    I’d love this. And of course, you rock! :-)

  115. Steve Bronder says:

    Excellent! For something pseudo-random and transparent you could use some combination of local lottery numbers from that night.

    • CL says:

      ah! that’s exactly what I’m planning to do. I’ll post something about it soon.

  116. Kevin Emerson says:

    Yes please.

  117. Chris Gallo says:

    This looks great! Thanks, Christophe.

  118. Chip Lynch says:

    Viva la free stuff! Also, very nicely chosen and effective way to bump your comment count. ;-) Kudos.

  119. davidcroushore says:

    I can haz ggplotz?

  120. Ryan Seo says:

    As a student who is learning R and Shiny, I would definitely love to learn more from your videos.
    This is a fantastic event!

  121. Lod says:

    Who doesn’t want his/her R-life not to be more Shiny?

  122. andrew says:

    Would like to see the videos!

  123. sylvie says:

    I totally would LOVE to have it! :)

  124. Bernhard says:

    Is your decision algorithm good enough to pick me?

  125. Sean Murphy says:

    I definitely want it!

  126. pattern says:

    Nothing beats R and Shiny, Thanks for making it so

  127. Jeff says:

    I want it!

  128. Nils says:

    My precioussss.

  129. M says:

    Nice one!

  130. Federico Andreis says:

    Whatever takes your fancy!!

  131. mazatlan says:

    Hola,
    When I read about these videos on you first post I was amazed to see what you have done but I couldn’t afford it because I am a poor PhD student. Would love to win one of these copies. YOU ROCK!!!! YOU ARE THE BEST THING THAT GOD CREATED IN THIS WORLD!!!!!!

  132. That looks very impressive!

  133. The Armadillo says:

    You are one hoopy frood!

  134. Ed Mendes says:

    I hope I can get one. You rock, man!

  135. Mitch M says:

    I would love to become more familiar with ggplot2 and Shiny!

  136. Rich Gillin says:

    You Rock, Christophe!

  137. Kartikeya Shandilya says:

    Looks great.. I’m in !

  138. Rufo says:

    Love Shiny, never understood ggplot (never putted to much effort to it either). It would be great to win. Un abrazo!

  139. Ken Bury says:

    I’m in.

  140. Bob Mrotek says:

    Ooooohhh…I want it sooo bad :)
    email bob.mrotek@gmail.com

  141. James Jensen says:

    I want it. Your’re awesome!!

  142. diego volponi says:

    I would be a real Dummy tester :)
    Diego

  143. Afelio Padilla says:

    I want it!! I need it!!

  144. Genie Jx says:

    I’d like to win one!! Thanks for the opportunity!

  145. Matheus Rabetti says:

    It would be such a great thing winning this! Thank you

  146. Nicola Romanò says:

    I’m in too!

  147. Mirko Köster says:

    R rocks, and hopefully your course does too ;-)

  148. Xinye Li says:

    Sounds great, can I have it please!

  149. ggplot2 and Shiny rock the planet!

  150. Mikhail Strukov says:

    Thank you for the drawing. You rock! :)

  151. James G says:

    I want to learn more about these packages.

  152. Vadym B. says:

    This is cool ;) I want this course!

  153. Matías Ocampo Reinaldo says:

    Awesome! I want it!

  154. Przemyslaw says:

    How will you deal with multiple postings from single person?

    and of course I want it! and You rock!

  155. GG says:

    I want it!

  156. Roger Taylor says:

    I’d like a copy. :-)

  157. İbrahim H. Seyrek says:

    Yes, I want it too…

  158. Spock says:

    Yes, #need please to transiton over from Python poor indirect support of ggplot.
    Thanks.