R Community, I've put together a website that I thought this mailing list might be interested in: http://www.r-cookbook.com It's a (free) community-driven content management system for R "recipes", or working examples. Some of the features of the site are code highlighting, recipe ratings, recipe comments, personal "recipe boxes" to save your favorite recipes, community tagging, RSS feeds for each user and for each tag, and similar recipe recommendations. Although I imagine that many users will sort/search/find recipes by tags, I've implemented a linear organization for recipes as well: guides. These will be compilations of "recipes", organized in a logical fashion as to promote understanding of the topic of that particular guide and introduced with user-contributed pages. Over time, hopefully with the help of the community, more guides will be created and the ones I have will be filled-in to actually be useful. I have started several guides to give you an idea of the sort of thing I'm thinking: Introduction to R, Longitudinal Modeling in R, Exploratory Data Analysis in R, and more here, http://www.r- cookbook.com/guide A couple of features that will be worked on in the near future are (1) the design of the site and (2) working on a more interactive code display (right now, functions are highlighted and linked to the r- docs, but that's it). I hope some of you might find the site useful and perhaps even consider contributing your own recipes. If you have any suggestions or feature requests, I'd be glad to hear them! Jeff.
Hello Jeff, Good initiative,... but why not to put this in the official R Wiki (http://wiki.r-project.org)? There is a section named 'tips' dedicated to such little recipes (http://wiki.r-project.org/rwiki/doku.php?id=tips:tips). It should be better to centralize all these little tips, don't you think so? Should you have difficulties to use the Wiki, just tell me, and I will help... Best, Philippe Grosjean ..............................................<?}))><........ ) ) ) ) ) ( ( ( ( ( Prof. Philippe Grosjean ) ) ) ) ) ( ( ( ( ( Numerical Ecology of Aquatic Systems ) ) ) ) ) Mons-Hainaut University, Belgium ( ( ( ( ( .............................................................. Jeff wrote:> R Community, > > I've put together a website that I thought this mailing list might be > interested in: http://www.r-cookbook.com > > It's a (free) community-driven content management system for R > "recipes", or working examples. Some of the features of the site are > code highlighting, recipe ratings, recipe comments, personal "recipe > boxes" to save your favorite recipes, community tagging, RSS feeds > for each user and for each tag, and similar recipe recommendations. > > Although I imagine that many users will sort/search/find recipes by > tags, I've implemented a linear organization for recipes as well: > guides. These will be compilations of "recipes", organized in a > logical fashion as to promote understanding of the topic of that > particular guide and introduced with user-contributed pages. Over > time, hopefully with the help of the community, more guides will be > created and the ones I have will be filled-in to actually be useful. > I have started several guides to give you an idea of the sort of > thing I'm thinking: Introduction to R, Longitudinal Modeling in R, > Exploratory Data Analysis in R, and more here, http://www.r- > cookbook.com/guide > > A couple of features that will be worked on in the near future are > (1) the design of the site and (2) working on a more interactive code > display (right now, functions are highlighted and linked to the r- > docs, but that's it). > > I hope some of you might find the site useful and perhaps even > consider contributing your own recipes. If you have any suggestions > or feature requests, I'd be glad to hear them! > > Jeff. > > ______________________________________________ > R-help at 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. >
Hi Jeff, That looks like a nice initiative. However, if you are interested in getting contributions from the community, it might be good to spell out how others might use the content of the site. Currently you have copyright r-cookbook.com, but maybe you could consider a creative commons (http://creativecommons.org/) license instead? Hadley On 9/27/07, Jeff <admin at r-cookbook.com> wrote:> R Community, > > I've put together a website that I thought this mailing list might be > interested in: http://www.r-cookbook.com > > It's a (free) community-driven content management system for R > "recipes", or working examples. Some of the features of the site are > code highlighting, recipe ratings, recipe comments, personal "recipe > boxes" to save your favorite recipes, community tagging, RSS feeds > for each user and for each tag, and similar recipe recommendations. > > Although I imagine that many users will sort/search/find recipes by > tags, I've implemented a linear organization for recipes as well: > guides. These will be compilations of "recipes", organized in a > logical fashion as to promote understanding of the topic of that > particular guide and introduced with user-contributed pages. Over > time, hopefully with the help of the community, more guides will be > created and the ones I have will be filled-in to actually be useful. > I have started several guides to give you an idea of the sort of > thing I'm thinking: Introduction to R, Longitudinal Modeling in R, > Exploratory Data Analysis in R, and more here, http://www.r- > cookbook.com/guide > > A couple of features that will be worked on in the near future are > (1) the design of the site and (2) working on a more interactive code > display (right now, functions are highlighted and linked to the r- > docs, but that's it). > > I hope some of you might find the site useful and perhaps even > consider contributing your own recipes. If you have any suggestions > or feature requests, I'd be glad to hear them! > > Jeff. > > ______________________________________________ > R-help at 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. >-- http://had.co.nz/
Hello all, I am attempting to use the seq() function to define breaks for the cut() function but am finding performance that I do not understand. The root of my problem appears to be contained in the following simple example.> brks <- seq(0.8,1.2,0.1) > brks[1] 0.8 0.9 1.0 1.1 1.2> brks==1.2[1] FALSE FALSE FALSE FALSE FALSE> brks==1.1[1] FALSE FALSE FALSE TRUE FALSE The last value in the sequence does not appear to be equal to its apparent value (i.e., 1.2) whereas the fourth value in the sequence, for example, does (e.g., 1.1). Any help/suggestions with the concept or "trick" that I am missing here? Thank you in advance. p.s., I am using R 2.5.1 with ...> Sys.info()sysname release "Windows" "NT 5.1" version nodename "(build 2600) Service Pack 2" "CSE229-001" machine "x86"
Has something do with the precision. Check this: all.equal(1.1, brks[4], tolerance = 0) all.equal(1.2, brks[5], tolerance = 0) all.equal(1.2, brks[5]) "Derek Ogle" <DOgle at northland. edu> To Sent by: <R-help at r-project.org> r-help-bounces at r- cc project.org Subject [R] seq() question 29/09/2007 04:58 Hello all, I am attempting to use the seq() function to define breaks for the cut() function but am finding performance that I do not understand. The root of my problem appears to be contained in the following simple example.> brks <- seq(0.8,1.2,0.1) > brks[1] 0.8 0.9 1.0 1.1 1.2> brks==1.2[1] FALSE FALSE FALSE FALSE FALSE> brks==1.1[1] FALSE FALSE FALSE TRUE FALSE The last value in the sequence does not appear to be equal to its apparent value (i.e., 1.2) whereas the fourth value in the sequence, for example, does (e.g., 1.1). Any help/suggestions with the concept or "trick" that I am missing here? Thank you in advance. p.s., I am using R 2.5.1 with ...> Sys.info()sysname release "Windows" "NT 5.1" version nodename "(build 2600) Service Pack 2" "CSE229-001" machine "x86" ______________________________________________ R-help at 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.
Hi, That looks great, but maybe you should have a field "R Version Used" too. Of course lots of code in specific versions of R fail when applied in alternative versions. Best, David U Bristol, UK PG Student Jeff-136 wrote:> > R Community, > > I've put together a website that I thought this mailing list might be > interested in: http://www.r-cookbook.com > > It's a (free) community-driven content management system for R > "recipes", or working examples. Some of the features of the site are > code highlighting, recipe ratings, recipe comments, personal "recipe > boxes" to save your favorite recipes, community tagging, RSS feeds > for each user and for each tag, and similar recipe recommendations. > > Although I imagine that many users will sort/search/find recipes by > tags, I've implemented a linear organization for recipes as well: > guides. These will be compilations of "recipes", organized in a > logical fashion as to promote understanding of the topic of that > particular guide and introduced with user-contributed pages. Over > time, hopefully with the help of the community, more guides will be > created and the ones I have will be filled-in to actually be useful. > I have started several guides to give you an idea of the sort of > thing I'm thinking: Introduction to R, Longitudinal Modeling in R, > Exploratory Data Analysis in R, and more here, http://www.r- > cookbook.com/guide > > A couple of features that will be worked on in the near future are > (1) the design of the site and (2) working on a more interactive code > display (right now, functions are highlighted and linked to the r- > docs, but that's it). > > I hope some of you might find the site useful and perhaps even > consider contributing your own recipes. If you have any suggestions > or feature requests, I'd be glad to hear them! > > Jeff. > > ______________________________________________ > R-help at 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. > >-- View this message in context: http://www.nabble.com/New-R-website%3A-R-Cookbook.com-tf4531381.html#a12958215 Sent from the R help mailing list archive at Nabble.com.