Rate This Document
Findability
Accuracy
Completeness
Readability

Installing R

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Use an SFTP tool to upload the R installation package to the /path/to/R directory.
  3. Run the following command to decompress the installation package and go to the installation directory:
    cd /path/to/R && tar -zxf R-3.1.1.tar.gz && cd R-3.1.1
  4. Run the following command to perform the configuration:
    ./configure --enable-R-shlib --enable-R-static-lib --with-libpng --with-jpeglib --prefix=/path/to/R
  5. Run the following command to perform the compilation and installation:
    make all -j8 && make install