Info for R users (Links, Manuals, Books, etc.)

Dason

Ambassador to the humans
#42
I haven't tried it out yet but it came highly recommended to me:
RStudio - an R IDE available on all platforms.

I haven't seen Tart around in a while but I was thinking it might be a good idea to compile all the suggestions in the first post so people don't have to dig through a couple of pages to possibly see if there's something that meets what they're looking for. So I guess what I'm saying is...

Tart - if you're around and just lurking would you be alright with either me editing your first post or possibly you editing it?

Other mods / active users - If Tart doesn't respond what do you think of the idea?
 
Last edited:

Lazar

Phineas Packard
#43
I haven't tried it out yet but it came highly recommended to me:
RStudio - an R IDE available on all platforms.

I haven't seen Tart around in a while but I was thinking it might be a good idea to compile all the suggestions in the first post so people don't have to dig through a couple of pages to possibly see if there's something that meets what they're looking for. So I guess what I'm saying is...

Tart - if you're around and just lurking would you be alright with either me editing your first post or possibly you editing it?

Other mods / active users - If Tart doesn't respond what do you think of the idea?

Rstudio really is fantastic and it has some built in sweave elements including a compile PDF button straight from R.
 
#44
Other mods / active users - If Tart doesn't respond what do you think of the idea?
Nice idea. I dont think Tart will object if you keep his original post intact, so update it below his post.

Note: Post space is limited though so you could summarize each subsequent post, and then cite the poster with a link.

e.g post this:

ASCII text representation of an R object; easy way to recreate objects Dason #38

That should maximize space use efficiency!

If all the mods keep updating the summary after your initial work it should turn out incredibly useful. We can even split the posts (e.g. you 2-22, me 23-44), if you think it will take too much of your time to summarize everything.
 

Dason

Ambassador to the humans
#46
I just reread this thread looking for posts to thank and I realized I never got around to modifying the original post! I'll try to do that later tonight.
 

Dason

Ambassador to the humans
#48
Ha. Thanks. I really need to update that to explain why we need to do some of the things we need to do. I also want to do a more advanced one at some point because it's a lot more useful if you can call R functions within the C code.

MDV makes good points too in that I should probably write it using the .Call interface. I know there are a lot of advantages to that but I just never have got around to learning the differences and using that myself. But maybe I'll do that at some point and writing the article can be my motivation.
 

bugman

Super Moderator
#52
And I'm pretty good at missing posts. I didn't see you previous post to suggest this. I'll do it anyway, since tart hasn't been around.
 

trinker

ggplot2orBust
#54
Compiled Various R Websites Into an R Function

I recently have been compiling useful R websites that have been helpful (many of these I stole from this TS thread) into an R function. I thought it may be useful.

Description
It gives a menu of 41 choices for R websites. Select the website you wish to view and R opens your web browser to that site.

I'll continue to update this post as this thread gets more links added

Code:
webR <- function(site=NULL){
if (is.null(site)){
x <- menu(c("Addicted to R Graphics", "Announcements", "ALSM examples (Bryan Goodrich)", "Calendar", 
          "Coding Conventions", "Contributed Documentation (CRAN)", "CRAN", "Creating R Packages", 
          "Experience With R (blog)", "ggplot2", "Insider-R","Journal of Statistical Software", 
          "Learn R(Webinar)", "Manuals", "News", "One R Tip a Day", "Packages(alphabetical)", 
          "Packages(date)", "planet r (daily news)", "Programming R", "QuickR", "R-bloggers",
          "R-Forge", "R Forum", "r-for-stats (R tutorial)", "R Graphics Manual", 
          "R Study Guide (R tutorial)", "Reference Card (Tom Short)", "Revolutions", 
          "Rseek", "R Tips (Paul Johnson)", "R-Tutotial", "Statistical Data Analysis",
          "Statistics With R (Vincent Zoonekynd's notes)", "Stack Overflow", "Tutorials (Burns Statistics)", 
          "UCLA-R Statistics Examples", "UCLA-R", "Vanderbilt University (Frank Harrell)", 
          "Videos 1 (Jeremy Anglim's)", "Videos2 (vcasmo)"))

          SEL <- c(LETTERS, letters)[x]
}        
else {
      SEL = site
}

switch(SEL,
       A = browseURL("http://addictedtor.free.fr/graphiques/"),
       B = browseURL("http://blog.revolutionanalytics.com/announcements/"),
       C = browseURL("http://www.bryangoodrich.com/?page_id=7"),
       D = browseURL("http://blog.revolutionanalytics.com/calendar.html"),
       E = browseURL("http://www1.maths.lth.se/help/R/RCC/"),
       F = browseURL("http://cran.r-project.org/other-docs.html"),
       G = browseURL("http://cran.r-project.org/"),
       H = browseURL("http://web.archive.org/web/20080619144014/http://www.maths.bris.ac.uk/~maman/computerstuff/Rhelp/Rpackages.html"),
       I = browseURL("http://statisticsr.blogspot.com/"),
       J = browseURL("http://had.co.nz/ggplot2/"),
       K = browseURL("http://www.inside-r.org/"),
       L = browseURL("http://www.jstatsoft.org/"),
       M = browseURL("http://www.fort.usgs.gov/brdscience/LearnR.htm"),
       N = browseURL("http://cran.r-project.org/manuals.html"),
       O = browseURL("http://developer.r-project.org/blosxom.cgi/R-devel/NEWS"),
       P = browseURL("http://onertipaday.blogspot.com/"),
       Q = browseURL("http://lib.stat.cmu.edu/R/CRAN/web/packages/available_packages_by_name.html"),
       R = browseURL("http://lib.stat.cmu.edu/R/CRAN/web/packages/available_packages_by_date.html"),
       S = browseURL("http://planetr.stderr.org/"),
       T = browseURL("http://www.programmingr.com/"),
       U = browseURL("http://www.statmethods.net/"),
       V = browseURL("http://www.r-bloggers.com/"),
       W = browseURL("http://r-forge.r-project.org/"),
       X = browseURL("http://forums.revolutionanalytics.com/forums/forum.php"),
       Y = browseURL("http://r4stats.com/"),
       Z = browseURL("http://www.oga-lab.net/RGM2/images.php?show=all&pageID=105"),
       a= browseURL("http://www.ling.upenn.edu/~joseff/rstudy/index.html"),
       b = browseURL("http://cran.r-project.org/doc/contrib/Short-refcard.pdf"),  
       c = browseURL("http://blog.revolutionanalytics.com/"),
       d = browseURL("http://www.rseek.org/"),
       e = browseURL("http://pj.freefaculty.org/R/statsRus.html"),
       f = browseURL("http://www.r-tutor.com/"),
       g = help.start(),
       h = browseURL("http://zoonek2.free.fr/UNIX/48_R/all.html"),
       i = browseURL("http://stackoverflow.com/questions/tagged/r"), 
       j = browseURL("http://www.burns-stat.com/pages/tutorials.html"),
       k = browseURL("http://www.ats.ucla.edu/stat/r/dae/"),
       l = browseURL("http://www.ats.ucla.edu/stat/r/"),
       m = browseURL("http://biostat.mc.vanderbilt.edu/wiki/Main/RS"),
       n = browseURL("http://jeromyanglim.blogspot.com/2010/05/videos-on-data-analysis-with-r.html"),
       o = browseURL("http://www.vcasmo.com/user/drewconway"))
}
To run type:
webR()

You can just enter the number of the menu if you've already run the function once and the menu is still in the console.
Example:
webR(4) #this will run the calendar because calendar is 4th on the menu
 

trinker

ggplot2orBust
#55
I just got my university library to order the new R book "R in Action written by Robert Kabacoff. He's the same guy who did the Quick R site. I'm enjoying the layout of this book very much. If you have to recommend an R book for new users of R I'd add this one to the list.

Link to book description
Quick R Link
 
#56
I've never found a package quite as useful;

Check out sos

Pdf alert

It is a search package that searches through multiple R resources for your keywords.

Usage:
Code:
#first try
help.search('Petal.Length')

# now search with sos
library(sos)
 PL <- findFn('Petal.Length')

RSiteSearch('Petal.Length')
Save our Souls, indeed ;)
 

trinker

ggplot2orBust
#60
Some of this looks useful to me while others is way above my pay grade. I think this guy's a major contributor in stackoverflow.com Thanks for sharing.