R for Social Scientists: Instructor Notes

This lesson uses SAFI_clean.csv. The direct download link for this file is:
https://ndownloader.figshare.com/files/11492171. When time comes in the lesson to use this file, we recommend that the
instructors, place the download.file() command in the Etherpad, and that the
learners copy and paste it in their scripts to download the file directly from
figshare in their working directory. . If the learners haven’t created the
data/ directory and/or are not in the correct working directory, the
download.file command will produce an error. Therefore, it is important to use
the stickies at this point. Some learners may have previous R installations. On Mac, if a new install is
performed, the learner’s system will create a symbolic link, pointing to the new
install as ‘Current.’ Sometimes this process does not occur, and, even though a
new R is installed and can be accessed via the R console, RStudio does not find
it. The net result of this is that the learner’s RStudio will be running an
older R install. This will cause package installations to fail. This can be
fixed at the terminal. First, check for the appropriate R installation in the
library; We are currently using R 3.x.y If it isn’t there, they will need to install it.
If it is present, you will need to set the symbolic link to Current to point to
the 3.x.y directory: Then restart RStudio.


Activity log