2 Installing R and EdSurvey
and Loading the Package
Last edited: February 2022
Suggested Citation
Lee, M. Installing R and EdSurvey and Loading the Package. In Bailey, P. and Zhang, T. (eds.), Analyzing NCES Data Using EdSurvey: A User’s Guide.
2.1 Software Requirements
Unless you already have R version 3.5 or later, install the latest R version—which is available online at https://cran.r-project.org/. Users also may want to install RStudio desktop, which has an interface that many find easier to follow. RStudio is available online at https://www.rstudio.com/products/rstudio/download/.
2.2 Installing and Loading EdSurvey
Inside R, run the following command to install EdSurvey
as well as its package dependencies:
install.packages("EdSurvey")
Once the package is successfully installed, load EdSurvey
can be loaded with the following command: