Chronomics Analysis Toolkit
  • Home
    • Citing this site
    • Reference Material
    • Contact Us
  • Analysis Techniques
    • Actogram
    • Smoothing
    • Autocorrelation
    • Crosscorrelation
    • Cosinor
    • Distributions
  • Running CAT
    • Running CAT Cosinor >
      • Interpreting CATCall
      • Data Formats
      • Errors
    • Running CAT PMC
    • Running CAT PMCTest
  • Installation
    • Installing R
    • Installing CAT >
      • Version Archive
    • Vignettes
  • Sample Output
    • CAT Output
    • Cosinor Output
  • Data
  • MBS Supplemental Materials
  • Supplemental

Installing R and RStudio

Select Quick Start instructions, in the left column, if you are comfortable with minimal guidance.  For more detailed instructions, follow instructions in the right column. 

Quick Start Instructions

Step 1:  Installing R
Here is where you can get the latest version of R:    http://cran.r-project.org
Install the version appropriate to your platform  (including tcltk, if asked).

Once installed, there are several packages you need to download.  Packages are add-ons to R that do additional tasks.  My program, CAT, will be submitted to R as a package as well, soon, as CATkit.  These package installs are very easy.  And it is even easier if you install RStudio first  -- that provides an enhanced interface to work in.
 
Step 2: Installing RStudio
http://www.rstudio.com/ide/download/desktop  
Just select the version that is listed as recommended for you, on the web page.  Install should be very straight forward.
RStudio is a GUI on top of R, and not strictly required to run R packages.  However, it makes many steps much easier, so the instructions on this site assume you have RStudio installed.  If you are a developer, or if you would like more information about using RStudio, read Editing and Executing code  section  -- and near the bottom of that is a subsection called Executing code!  This is far superior to breakpointing  (it is like live breakpointing).

At this point you can proceed to Step 3: Installing CAT.

  

Detailed Installation Instructions

Instructions for installing R
r_install_v1.2.pdf
File Size: 10273 kb
File Type: pdf
Download File

Instructions for installing RStudio
rstudio_install_v1.2.pdf
File Size: 1459 kb
File Type: pdf
Download File

After installing both R and RStudio you can proceed to installing CAT.  

More information about R

And all your answers about the world of R are at http://www.rseek.org

R Manuals:  http://cran.r-project.org/manuals.html
Other documentation:  http://cran.r-project.org/other-docs.html
A great site to get started:  http://www.statmethods.net/index.html
Another good reference site:  http://www.inside-r.org/r-doc/stats/acfAbout data imports:  http://www.r-tutor.com/r-introduction/data-frame/data-import

Using graphing in amazing ways:
http://sphaerula.com/legacy/R/multiplePlotFigure.html
http://wiki.stdout.org/rcookbook/Graphs/Multiple%20graphs%20on%20one%20page%20(ggplot2)/
http://zoonek2.free.fr/UNIX/48_R/04.html
http://gallery.r-enthusiasts.com
http://www.r-bloggers.com/setting-graph-margins-in-r-using-the-par-function-and-lots-of-cow-milk/


Community help forums:
http://stackoverflow.com/questions/1660124/how-to-group-columns-by-sum-in-r
©Copyright June 2013, Cathy Lee Gierke