Common R packages for the social sciences

# I find it helpful to have all the packages I use in a single R file rather than
# having them in each script
# I am sure that will change as i start using ever more packages
# Install files to be run at beginning when install R on your laptop

# To find R version
sessionInfo()
# You should have R version 3.0.3; if not download latest version

install.packages(“sandwich”)
install.packages(“Hmisc”)
install.packages(“gmodels”)
install.packages(“psych”)
install.packages(“gdata”)
install.packages(“pastecs”)
install.packages(“doBy”)
install.packages(‘WDI’)
install.packages(‘ggplot2’)
install.packages(‘countrycode’)
install.packages(‘RCurl’)
install.packages(‘dplyr’)
install.packages(“plyr”)
install.packages(‘memisc’)
install.packages(“bear”)

library(“bear”)
library(“sandwich”)
library(“Hmisc”)
library(“gmodels”)
library(“psych”)
library(“gdata”)
library(“pastecs”)
library(“doBy”)
library(‘WDI’)
library(‘ggplot2’)
library(‘countrycode’)
library(‘RCurl’)
library(‘dplyr’)
library(‘memisc’)

About mkevane

Economist at Santa Clara University and Director of Friends of African Village Libraries.
This entry was posted in Politics. Bookmark the permalink.