Introduction

After installation of R, additional steps might be require for MAC and Window users. Below are the instructions

MAC Users

  1. Download and install the latest XQuartz
  2. This is because MAC no longer ship the X11 package which is required by R to perform plotting.
  3. Run xcode-select --install on your terminal
  4. This will install the required zlib package on your system, which is required by PRSice (for decompressing bgen files)

Note

For anyone with older Mac Versions (e.g. Mountain Lion or before), you should follow the guide here to install the require Command Line Tools.

Window Users

As installation of R does not automatically add it to the system path, one will need to type the full path of the R.exe and Rscript.exe in order to use PRSice. To avoid this complication, we can manually add the folder containing the R binary to the system path:

For Windows 8 and 10

  1. In Search, search for and then select: System (Control Panel)
  2. Click the Advanced system settings link
  3. Click the Advanced tab
  4. Click Environment Variables
  5. Under System Variables, select path (If you cannot find path, you can click new to make it)
  6. Click Edit
  7. Click Browse and select the location of the executable of R. If you use the default installation path, you can add C:\Program Files\R\R-3.3.2\bin, where (eg.) 3.3.2 is the version number. Some installation might also have a i384 and x64 version and either one of those will work.

For Windows 7

  1. From the desktop, right click the Computer icon.
  2. Choose Properties from the context menu.
  3. Click the Advanced system settings link.
  4. Click Environment Variables. In the section System Variables, find the PATH environment variable and select it. Click Edit.
  5. In the Edit System Variable (or New System Variable) window, add the location of the executable of R. If you use the default installation path, you can add C:\Program Files\R\R-3.3.2\bin, where (eg.) 3.3.2 is the version number. Some installation might also have a i384 and x64 version and either one of those will work.