This workshop provides a practical introduction to text analysis using the R programming language. We will cover basic text processing, data ingestion, data preparation, and analysis. The main computing environment for the workshops will be R: “the open source programming language and software environment for statistical computing and graphics.”
While no programming experience is required, participants must have basic computer skills, must be familiar with their computer’s file system, and must be comfortable entering commands in a command line environment.
Suggested Workshop Preparation:
While not required, participants are encouraged to work through at least the first two of the seven basic R lessons available at R Code School prior to taking this workshop.
In advance of the workshop, students should:
- Download the current version of R (at the time of this writing version 3.1.2) from the CRAN website by clicking on the link that is appropriate to your operating system (see http://cran.at.r-project.org):
- If you use MS Windows, click on the “base” and then on the link to the executable (i.e. “.exe”) setup file.
- If you are running Mac OSX, choose the link to the most current package.
- If you use Linux, choose your distribution and then the installer file. Follow the instructions for installing R on your system in the standard or “default” directory. You will now have the base installation of R on your system.
- Download and Install RStudio
- RStudio is an application that offers a very nice user environment for writing and running R programs. RStudio is an IDE, that’s “Integrated Development Environment” for R. RStudio runs happily on Windows, Mac, and Linux. After you have downloaded R (by following the instructions above) you must download the “Desktop” version (i.e. not the Server version) of RStudio from http://www.rstudio.com. Follow the installation instructions and then launch RStudio just like you would any other program/application. When you launch RStudio, you do *not* need to also launch the R program. RStudio accesses the R program you installed in the first step. Here is a link to a video describing the RStudio programming environment.
- You will also need to download the workshop materials.
- Please also make sure that your Java Runtime-Environment installation is up to date.
- On a Mac, you can do this via Software Update. If your OS is up to date, you should have JRE version 1.6.0 or greater.
- For Windows, visit this page to download version 7 of the JRE, and then follow the installation instructions.
IMPORTANT: It is critical that you arrive on time to every session and be ready to roll with RStudio installed and running. The sessions will begin on schedule, and if you miss the first few minutes of any session you will be lost!