Setting up R |
Top Previous Next |
R is a free software environment for statistical computing and graphics. It compiles and runs on a wide variety of UNIX platforms, Windows and MacOS. To use R for multivariate analyses in CAP you will need to undertake the following. First, if you have not already got R you will need to install it on your computer and note the directory where it is installed. You can use the default or choose your own location. You will find many useful YouTube videos taking you through installation, for example: https://www.youtube.com/watch?v=MFfRQuQKGYg for Windows To download R, choose your preferred CRAN mirror at https://cran.r-project.org/mirrors.html (any will do). For example, download and install the current Windows version of R from https://cran.r-project.org/bin/windows/base/ When installing, you can usually just accept the default settings. Within CAP run Check R Install from the drop-down menu. NOTE: a data set needs to be loaded in CAP before the Check R Install function will work. If it is not found you will get an R not found error and will be asked to tell CAP where R is on your machine. If R is not found you will be asked to select the path to the file R.exe. For example my path is C:\Program Files\R \R-3.4.3\bin
If you need to reinstall R or get CAP to work with a new R update select Reset R exe Path |