Skip to main content

Posts

Showing posts from June, 2015

Getting Started with R

The easy way to get started with R is to use RStudio. You will need to install both R and RStudio. Here are the software packages you need to install: Windows http://cran.csie.ntu.edu.tw/ http://www.rstudio.com/products/rstudio/download/ Mac OSX http://xquartz.macosforge.org/landing/ http://cran.csie.ntu.edu.tw/ http://www.rstudio.com/products/rstudio/download/ You will need access to the internet to download R packages. If you need to configure a proxy, in RStudio, you will need to edit the environment text file: file.edit('~/.Rprofile') In that file, you will need to add the following settings: Mac OSX: Sys.setenv(http_proxy="http://proxy:8080") Windows: http_proxy=http://proxy:8080 Instructions were based from the following articles: https://support.rstudio.com/hc/en-us/articles/200488488-Configuring-R-to-Use-an-HTTP-Proxy http://www.kenbenoit.net/how-to-set-proxy-settings-for-r-mac-osx/ Once you have set up internet access, you s