[R] The R Inferno revised
Hell is new and improved. The new version is in the same old place: http://www.burns-stat.com/pages/Tutor/R_inferno.pdf An explanation of the changes is at: http://www.portfolioprobe.com/2011/05/02/the-r-inferno-revised/ -- Patrick Burns pbu...@pburns.seanet.com twitter: @portfolioprobe http://www.portfolioprobe.com/blog http://www.burns-stat.com (home of 'Some hints for the R beginner' and 'The R Inferno') __ 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] The R-Inferno
Patrick, Thanks for your suggestion! The R-Inferno was especially useful!! The first chapter had me chuckling aloud despite the fact that I work alone. Well worth the price! Thanks! Stu -Original Message- From: Patrick Burns [mailto:pbu...@pburns.seanet.com] Sent: Tuesday, June 16, 2009 11:31 AM To: Stu @ AGS Subject: Re: [R] The most straightfoward way to write a function that sums over the rows of a matrix 'The R Inferno' may be of use to you. Patrick Burns patr...@burns-stat.com +44 (0)20 8525 0696 http://www.burns-stat.com (home of The R Inferno and A Guide for the Unwilling S User) __ 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.
Re: [R] The R Inferno
Extremely nice. Tons of useful information presented in a very entertaining way. Thanks! Tom Patrick Burns wrote: The R Inferno is now on the Burns Statistics website at http://www.burns-stat.com/pages/Tutor/R_inferno.pdf Abstract: If you are using R and you think you're in hell, this is a map for you. Also, I've expanded the outline concerning R on the Burns Statistics 'Links' page. Suggestions (off-list) for additional items are encouraged. Patrick Burns patr...@burns-stat.com +44 (0)20 8525 0696 http://www.burns-stat.com (home of The R Inferno and A Guide for the Unwilling S User) __ 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. -- ++ | Tom Backer Johnsen, Psychometrics Unit, Faculty of Psychology | | University of Bergen, Christies gt. 12, N-5015 Bergen, NORWAY | | Tel : +47-5558-9185Fax : +47-5558-9879 | | Email : bac...@psych.uib.noURL : http://www.galton.uib.no/ | ++ __ 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.
Re: [R] The R Inferno
Excellent read, Patrick. A very useful and clear guide. On 2009.01.09 16:14:49, Patrick Burns wrote: The R Inferno is now on the Burns Statistics website at http://www.burns-stat.com/pages/Tutor/R_inferno.pdf Abstract: If you are using R and you think you're in hell, this is a map for you. Also, I've expanded the outline concerning R on the Burns Statistics 'Links' page. Suggestions (off-list) for additional items are encouraged. Patrick Burns patr...@burns-stat.com +44 (0)20 8525 0696 http://www.burns-stat.com (home of The R Inferno and A Guide for the Unwilling S User) __ 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. -- ~ Jason Morgan __ 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.
Re: [R] The R Inferno
Hi , I have been trying to convince Pat to come up with a book on this. He can add in the chapters on *Purgatorio* (Purgatoryhttp://en.wikipedia.org/wiki/Purgatory), and *Paradiso* (Paradise http://en.wikipedia.org/wiki/Heaven) Regards, Ajay On Sat, Jan 10, 2009 at 9:33 PM, Jason Morgan jwm-r-h...@skepsi.net wrote: Excellent read, Patrick. A very useful and clear guide. On 2009.01.09 16:14:49, Patrick Burns wrote: The R Inferno is now on the Burns Statistics website at http://www.burns-stat.com/pages/Tutor/R_inferno.pdf Abstract: If you are using R and you think you're in hell, this is a map for you. Also, I've expanded the outline concerning R on the Burns Statistics 'Links' page. Suggestions (off-list) for additional items are encouraged. Patrick Burns patr...@burns-stat.com +44 (0)20 8525 0696 http://www.burns-stat.com (home of The R Inferno and A Guide for the Unwilling S User) __ 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. -- ~ Jason Morgan __ 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. [[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.
Re: [R] The R Inferno
Hi Pat R-list, Congratulation for this very informative and funny reading! I enjoyed so much. Best wishes, miltinho astronauta brazil On Sat, Jan 10, 2009 at 1:31 PM, Ajay ohri ohri2...@gmail.com wrote: Hi , I have been trying to convince Pat to come up with a book on this. He can add in the chapters on *Purgatorio* (Purgatoryhttp://en.wikipedia.org/wiki/Purgatory), and *Paradiso* (Paradise http://en.wikipedia.org/wiki/Heaven) Regards, Ajay On Sat, Jan 10, 2009 at 9:33 PM, Jason Morgan jwm-r-h...@skepsi.net wrote: Excellent read, Patrick. A very useful and clear guide. On 2009.01.09 16:14:49, Patrick Burns wrote: The R Inferno is now on the Burns Statistics website at http://www.burns-stat.com/pages/Tutor/R_inferno.pdf Abstract: If you are using R and you think you're in hell, this is a map for you. Also, I've expanded the outline concerning R on the Burns Statistics 'Links' page. Suggestions (off-list) for additional items are encouraged. Patrick Burns patr...@burns-stat.com +44 (0)20 8525 0696 http://www.burns-stat.com (home of The R Inferno and A Guide for the Unwilling S User) __ 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. -- ~ Jason Morgan __ 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. [[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. [[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] The R Inferno
The R Inferno is now on the Burns Statistics website at http://www.burns-stat.com/pages/Tutor/R_inferno.pdf Abstract: If you are using R and you think you're in hell, this is a map for you. Also, I've expanded the outline concerning R on the Burns Statistics 'Links' page. Suggestions (off-list) for additional items are encouraged. Patrick Burns patr...@burns-stat.com +44 (0)20 8525 0696 http://www.burns-stat.com (home of The R Inferno and A Guide for the Unwilling S User) __ 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.
Re: [R] The R Inferno
excellent adaptation of Dante and R with real common sense tips to help beginners especially ..goes to the blogroll.. now if only i could get tips to sort a 5 column * 1 million rows dataset in less than ..eternity Ajay www.decisionstats.com On Fri, Jan 9, 2009 at 9:44 PM, Patrick Burns pbu...@pburns.seanet.comwrote: The R Inferno is now on the Burns Statistics website at http://www.burns-stat.com/pages/Tutor/R_inferno.pdf Abstract: If you are using R and you think you're in hell, this is a map for you. Also, I've expanded the outline concerning R on the Burns Statistics 'Links' page. Suggestions (off-list) for additional items are encouraged. Patrick Burns patr...@burns-stat.com +44 (0)20 8525 0696 http://www.burns-stat.com (home of The R Inferno and A Guide for the Unwilling S User) __ 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. [[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.
Re: [R] The R Inferno
Ajay ohri wrote: excellent adaptation of Dante and R with real common sense tips to help beginners especially ..goes to the blogroll.. now if only i could get tips to sort a 5 column * 1 million rows dataset in less than ..eternity Er, that's a fairly short eternity: x - data.frame(rnorm(1e6),rnorm(1e6),rnorm(1e6),rnorm(1e6),rnorm(1e6)) names(x) - letters[1:5] system.time(y - x[order(x$a),]) user system elapsed 3.259 0.160 3.435 head(y) a b c d e 227944 -4.418977 0.9635349 0.2477897 -0.10172584 0.09840375 492006 -4.327607 -1.4967631 -0.3467700 0.53053492 -0.80043595 89830 -4.285324 -2.0491949 -2.2024725 -0.34946013 -0.63538249 -- O__ Peter Dalgaard Ă˜ster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~ - (p.dalga...@biostat.ku.dk) FAX: (+45) 35327907 __ 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.
Re: [R] The R Inferno
now if only i could get tips to sort a 5 column * 1 million rows dataset in less than ..eternity May I suggest mySQL, postgreSQL, etc.? If what you need to do is a basic sort, a database is going to be faster than R. -- Insert something humorous here. :-) __ 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.
Re: [R] The R Inferno
I think that this continuation constitutes what Pat calls hijacking the thread at the end of his new and magnificent opus. The original thread should be reserved for kudos to Pat. url:www.econ.uiuc.edu/~rogerRoger Koenker emailrkoen...@uiuc.eduDepartment of Economics vox: 217-333-4558University of Illinois fax: 217-244-6678Champaign, IL 61820 On Jan 9, 2009, at 11:52 AM, Andrew Choens wrote: now if only i could get tips to sort a 5 column * 1 million rows dataset in less than ..eternity May I suggest mySQL, postgreSQL, etc.? If what you need to do is a basic sort, a database is going to be faster than R. -- Insert something humorous here. :-) __ 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.
Re: [R] The R Inferno
On 1/9/2009 1:27 PM, roger koenker wrote: I think that this continuation constitutes what Pat calls hijacking the thread at the end of his new and magnificent opus. The original thread should be reserved for kudos to Pat. Which he well deserves -- it's good advice, and a fun read too. Duncan url:www.econ.uiuc.edu/~rogerRoger Koenker emailrkoen...@uiuc.eduDepartment of Economics vox: 217-333-4558University of Illinois fax: 217-244-6678Champaign, IL 61820 On Jan 9, 2009, at 11:52 AM, Andrew Choens wrote: now if only i could get tips to sort a 5 column * 1 million rows dataset in less than ..eternity May I suggest mySQL, postgreSQL, etc.? If what you need to do is a basic sort, a database is going to be faster than R. -- Insert something humorous here. :-) __ 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. __ 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.
Re: [R] The R Inferno
2009/1/9 Duncan Murdoch murd...@stats.uwo.ca: Which he well deserves -- it's good advice, and a fun read too. I'm looking forward to the sequel - Shakespeare perhaps? as.YouLike(it)? Much Ado About NULL? Night[12] | What(You.Will)? Barry __ 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.
Re: [R] The R Inferno
Dear Barry, In Dante's Divine Comedy the sequels were the Purgatorio and the Paradiso; the analogy suggests that there may be a way out of R Hell (and actually Patrick provides the way out right in his Inferno -- thanks Patrick!). Regards, John -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Barry Rowlingson Sent: January-09-09 3:12 PM To: Duncan Murdoch Cc: roger koenker; r-h...@stat.math.ethz.ch; Patrick Burns Subject: Re: [R] The R Inferno 2009/1/9 Duncan Murdoch murd...@stats.uwo.ca: Which he well deserves -- it's good advice, and a fun read too. I'm looking forward to the sequel - Shakespeare perhaps? as.YouLike(it)? Much Ado About NULL? Night[12] | What(You.Will)? Barry __ 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.