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

#### Tart

##### New Member
Note: This original post has been modified to make it easier to find the resources in the thread and to compile them into one location. If you want to view the post as Tart left it click on the spoiler at the end of the thread

Hello All,

Editors:
• RStudio - One of the best IDEs for working with R today. It is being developed at an amazing rate and new features are being added all the time.
• Emacs + ESS - If you're an Emacs user then using the ESS (Emacs Speaks Statistics) plugin is a natural choice. Emacs is a very powerful editor and ESS adds support for R syntax and easily allows you to create a buffer for an R session.
• Rkward - It is available in the repositories for most Linux distros. You can run it on Windows and/or Macs but takes a little bit more work.
• Tinn-R (Windows) - The former king. It seems to be out of fashion now a days.

There is more to add but I haven't got around to updating this post yet. View the spoiler for more.

Hello All,

These are some links if you are just starting with R I hope they will help you, others may find them useful too.

EDITORS:
http://www.sciviews.org/Tinn-R/ - Tinn-R (Windows)
http://rkward.sourceforge.net/ - Rkward (Linux). It is available in repositories if you are running Ubuntu.

MANUALS

http://cran.r-project.org/manuals.html - The Official R Manuals
http://cran.r-project.org/other-docs.html - Contributed Documentation. Contains wealth of documentation. This is the second step after official introduction.

Following two links are stolen from TheEcologist post
http://www.splusbook.com/Rintro/RCourse.pdf
http://people.su.se/~ma/R_intro/

http://zoonek2.free.fr/UNIX/48_R/all.html - statistics with R. This is extremely useful site, I learned many useful tricks there.
http://addictedtor.free.fr/graphiques/ - R Graph Gallery. Very nice collection of graphs.
http://cged.genes.nig.ac.jp/RGM2/index.php – R Graphical Manuals. A collection of R graphics from all packages.
http://www.rseek.org/ - search engine for R functions, lists and more

http://news.gmane.org/index.php?prefix=gmane.comp.lang.r - Mailing list in web format

The R Inferno
http://www.burns-stat.com/pages/Tutor/R_inferno.pdf
"If you are using R and you think you're in hell, this is a map for you.". Nice manual.

Last edited:

#### TheEcologist

##### Global Moderator
Excellent Idea! But lets not forget:

Dan Bailey and Matt Nunes at the University of Bristol and their "idiot’s guide" to builing packages in R.

http://www.maths.bris.ac.uk/~maman/computerstuff/Rhelp/Rpackages.html

http://web.archive.org/web/20080619....uk/~maman/computerstuff/Rhelp/Rpackages.html

A webpage to search the R-Help archives (so no need to keep the digests anymore like I still do).

http://finzi.psych.upenn.edu/search.html

And Ofcourse :yup:

Last but not least... the one, the only...

The R Graph Gallery!! :tup:

(edit: Oeps Tart already added it I missed that, but its worth the emphasis anyway )

Last edited:

#### nelsonpa

##### New Member
Getting started in R, I've found Michael J. Crawley's "Statistical Computing, An Introduction to Data Analysis using S-Plus" very helpful. Crawley's newer "The R Book" may be better for R users, though I haven't seen it. Cheers, Pete

#### Tart

##### New Member
Some books.

"Modern Applied Statistics with S" by Venables and Ripley - classic, must have for everyone.

If you are doing linear modeling then I think that flowing two books are a must have.
"Linear Models with R" and "Extending the Linear Models with R" by Faraway. Books very well written, full of examples, advices, recommendations and tricks.

"Data Analysis using Regression and Multilevel/Hierarchical Models" by Gelman and Hill. I just started reading this book, this is a book about multilevel modeling, but all examples are in R. Authors show you how to apply theory in R. Really nice.

If you are working with graphics, then this book will help you a lot
"R Graphics" by Murrell. It doesn't tell you how to create certain plot. It describes how graphics works. Especially tricky lattice/Trellis graphics.

"Statistical Computing with R" by Rizzo this book covers statistical methods using R quite well. It is not specialized, just gives overview of essential methods.

"Data Manipulation with R (Use R)" by Spector - this one on my wish list. It looks like another must have . UPDATE: I have this book now, and it is very useful. Definitely mast have.

Last edited:

#### TheEcologist

##### Global Moderator
http://www.ats.ucla.edu/stat/r/

Whole Page full of R-tips
http://pj.freefaculty.org/R/statsRus.html

Need mathematical notation/mathematical expressions in your graphs? try

help(plotmath)

Example

Code:
x <- seq(-4, 4, len = 101)
y <- cbind(sin(x), cos(x))
matplot(x, y, type = "l", xaxt = "n",
main = expression(paste(plain(sin) * phi, "  and  ",
plain(cos) * phi)),
ylab = expression("sin" * phi, "cos" * phi), # only 1st is taken
xlab = expression(paste("Phase Angle ", phi)),
col.main = "blue")
axis(1, at = c(-pi, -pi/2, 0, pi/2, pi),
labels = expression(-pi, -pi/2, 0, pi/2, pi))

#### Tart

##### New Member
http://rattle.togaware.com/ - Rattle: Gnome Cross Platform GUI for Data Mining using R. Didn't play with it yet, but it looks interesting.

Rattle (the R Analytical Tool To Learn Easily) is a data mining toolkit used to analyse very large collections of data. Rattle presents statistical and visual summaries of data, transforms data into forms that can be readily modelled, builds both unsupervised and supervised models from the data, presents the performance of models graphically, and scores new datasets.

Through a simple and logical graphical user interface based on Gnome, Rattle can be used by itself to deliver data mining projects. Rattle also provides an entry into sophisticated data mining using the open source and free statistical language R.

Rattle runs under GNU/Linux, Macintosh OS/X, and MS/Windows. The aim is to provide an intuitive interface that takes you through the basic steps of data mining, as well as illustrating the R code that is used to achieve this. Whilst the tool itself may be sufficient for all of a user's needs, it also provides a stepping stone to more sophisticated processing and modelling in R itself, for sophisticated and unconstrained data mining.

#### mp83

##### TS Contributor
Soooo good!

> statisticsr.blog-spot.com
> statisticsr.blog-spot.com

Note : Delete the "-" at the blog-spots...

#### TheEcologist

##### Global Moderator
"The R Book" didn't receive favorable review in Rnews 2007-2 page 53.

Some of the good discussions about the book here
http://www.stat.columbia.edu/~cook/movabletype/archives/2009/03/88_or_110_list.html

Although Uwe has got a few points there, I dont thinks he's completely fair.

That Crawley does not actively contributing to R development or mailing lists or does not quote the R-development team within the book seems trivial. Although the book title (THE R BOOK) might indeed be a little over the top.

#### fatemeh

##### New Member
bayesian logistic regression

Hello All,
I want to write a program about Bayesian Logistic Regression in R (R2Winbugs).
Thank you very much

Soooo good!