Installing R, RStudio, and Rattle for Windows

Installing R

  1. Download R 3.2.0 for Windows.
  2. Run the installer – accepting all default options.

Installing RStudio

  1. Download RStudio 0.98.1103 for Windows.
  2. Run the installer.

Installing Rattle

  1. Run R.
  2. To install Rattle 3.4.1 and all other packages that Rattle uses at once – enter install.packages(“rattle”, dep=c(“Suggests”)) at the command prompt > – (this is a rather long install!)
  3. To run Rattle, enter
  • > library(rattle)
    > rattle()
  • The RGtk2 package has yet to be installed – You’ll get an error popup indicating that libatk-1.0-0.dll is missing – click on the OK -then you’ll be asked if you would like to install GTK+ – click OK to download the appropriate GTK+ libraries for your computer- when this is done, exit and restart R so that it can find the newly installed libraries. (Note: GTK+ has been configured to use the Microsoft Windows theme engine – so Rattle will look like other Windows applications in terms of colour and style).

Resources

R

R Homepage
The Comprehensive R Archive Network (CRAN)
R-Windows FAQS
R Manuals
Contributed Documentation
The R Journal

If you have a specific R related question, here are some quick resources to help you find an answer:

  • RStudio’s online training guide –http://www.rstudio.com/training/online.html
    RStudio has curated links and sources for learning R and its extensions, including links to online and in-person courses for structured learning.
  • RSeek meta search enginehttp://www.rseek.org/
    The RSeek meta search engine, provides a unified interface for searching the various sources of online R information. If an answer to your question is already available online, RSeek can help you locate it.
  • Stack Overflowhttp://stackoverflow.com/questions/tagged/r
    The R tag on Stack Overflow is becoming an increasingly important resource for seeking answers to R related questions. You can search the R tag in general, or refine your search to another tag such as ggplot2 or sweave.
  • R-help mailing listhttps://stat.ethz.ch/mailman/listinfo/r-help
    R-help list archives
    The R-help mailing list is a very active list with questions and answers about problems and solutions using R. Before posting to the list, it is recommended to search the list archives to see if an answer already exists.
  • CrossValidated Q&A communityhttp://stats.stackexchange.com/
    For more statistics related questions, the CrossValidated Q&A community is a great resource with lots of R users active on the site.

RStudio

If you are experiencing difficulties using RStudio, the following articles describe how to troubleshoot common problems:

RStudio Will Not Start
RStudio Crashed
Problem Installing Packages
Problem with Plots or Graphics Device
Problems with TeX or Sweave
R Code is Not Working

Racine, JS – RStudio – A platform-independent IDE for R and Sweave – 2012

R Commander vs. RStudio

Wilson, J – Statistical computing with R – Selecting the right tool for the job – R Commander or something else – 2012

Rattle

Rattle: A Graphical User Interface for Data Mining using R