Install R

From InterSciWiki
Jump to: navigation, search


library(mice)
library(foreign)
library(stringr)
library(psych) #for corr.test(), e.g.,  corr.test(dx$v204,dx$v205)
library(AER)
library(spdep)
library(geosphere)
library(relaimpo)
#to help install:
install.packages("mice")
install.packages("foreign")
install.packages("stringr")
install.packages("psych")
install.packages("AER")
install.packages("spdep")
install.packages("geosphere")
install.packages("relaimpo")

http://cran.r-project.org/bin/macosx/RMacOSX-FAQ.html --- notes for new Macbook users

http://cran.r-project.org/bin/windows/

r check installed packages