I have wrapped it into a Flash animation, so we can really see it now: http://yihui.name/en/2009/12/merry-christmas-using-r/
Regards, Yihui -- Yihui Xie <xieyi...@gmail.com> Phone: 515-294-6609 Web: http://yihui.name Department of Statistics, Iowa State University 3211 Snedecor Hall, Ames, IA On Thu, Dec 24, 2009 at 12:36 PM, Yihui Xie <x...@yihui.name> wrote: > As a useR, you'd better present this message in a more professional > way :) Let's see Christmas shining in R: > > n = length(speed <- runif(angle <- runif(x <- strsplit("MERRY > CHRISTMAS", "")[[1]], 0, 360), 0, 15)) > x11(10, 3) > par(mar = rep(0, 4), bg = "black") > for (j in 1:1000) { > angle = angle + speed > plot.new() > plot.window(c(1, n), c(0, 1)) > for (i in 1:n) text(i, 0.5, x[i], srt = angle[i], cex = runif(1, > 1, 4), col = sample(colors(), 1)) > Sys.sleep(0.02) > } > > > Regards, > Yihui > -- > Yihui Xie <xieyi...@gmail.com> > Phone: 515-294-6609 Web: http://yihui.name > Department of Statistics, Iowa State University > 3211 Snedecor Hall, Ames, IA > > > > On Thu, Dec 24, 2009 at 5:18 AM, Maithili Shiva > <maithili_sh...@yahoo.com> wrote: >> Dear R helpers, >> >> I understand that this is absolutely unprofessional on my part and this >> group doesn't entertain such things. I have been associted with this group >> since last 1 and half years and have been immensely benefited by the noble >> service rendred by many R helpers. >> >> So I take this opportunity to thank all of you and wish you all >> >> "MERRY CHRISTMAS". >> >> I sincerely apologize for using this platform for writing such an >> unprofessional message and especially when I am aware that nobody has ever >> done such thing but I really mean it. >> >> Warm Regards >> >> Maithili >> >> >> >> >> The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. >> [[alternative HTML version deleted]] >> >> >> ______________________________________________ >> R-help@r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. >> >> > ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.