Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Draft -- please don't follow these instructions yet!

Make sure R is installed!

...

Although our focus will be on R, we will cover the interaction between R and Python. In order to install Python on your computer, you can follow one of Iain's installation guide: Modelling with Python Workshop - Installation Guide for OSX, Modelling with Python Workshop - Installation Guide for Linux, Modelling with Python Workshop - Installation Guide for Windows . You only need to follow the sections "Install Python" and "Install setuptools". For this workshop, we will keep the required Python knowledge to a minimum. However, since Python will be used extensively in other workshops, it's a good idea to go over some Resources for Learning Python.

Installing

...

PypeR

OSX
  1. Open a terminal
  2. Type sudo python -m easy_install rpy2==2.2pyper
  3. easy_install will download and install RPy2 PypeR to your computer
Linux
  1. Open a terminal.
  2. Type easy_install rpy2==2.2pyper
  3. easy_install will download and install RPy2 to PypeR to your computer
Windows
  1. Open a command prompt and navigate to your Python folder's scripts folder, e.g. by running "cd C:/Python27/Scripts"
  2. Type easy_install rpy2==2.2install pyper
  3. easy_install will download and install RPy2 to PypeR to your computer

Testing your installation

...