Installing R

R is a standalone package. However, to get the most benefit, you must install a good text editor that works with R also.

If you are having trouble installing R, please email us for assistance.

Windows installation

Base R package

R-compatible text editor

  • Visit the Tinn-R website to get the latest version; click on the “Download Now” button

  • Save and install the EXE file

Configuration

After installing Tinn-R you need to configure Tinn-R to communicate with R:

  • Vista and Windows 7 users: right-click on the Tinn-R icon and choose Run as Administrator. For Windows XP users: just start Tinn-R by clicking on the icon.

  • Go to the menu at the top, click on R

  • Then Configure

  • Then Permanent. Answer OK when completed.

  • Next, you must start R from Tinn-R:

    • Click on Start/Close and connections

    • Select Rgui (start): this causes Tinn-R to start R.

    • You will require internet access as it will continue to install several updates to allow Tinn-R and R to communicate.

Your windows will be arranged as shown here; you can see the internet updates taking place in the screenshot.

../../_images/R-and-TinnR-screenshot.jpg

Mac installation

Linux installation

Contribute your comments (this window can be dragged out of the way)X

(Please read the help on commenting)

Want to add to the discussion? Please click here.

About this comment system

This pages uses a commenting system to obtain your feedback. Feel free to ask questions, provide your perspective, or leave a relevant comment on any block of text, bullet point, code, or chunck of content.

To get started, please click on the vertical sidebar, near the content you would like to comment on. It will highlight the section you are commenting on.

Shows how the comment system works

After being approved, your comment will appear on the website. Please provide your name and email address if you would like to receive credit for your contribution.

Please note that we reserve the right to edit or remove a comment, and that you give us permission to use your contribution.

How to comment

  • Italics:    *italic text*
  • Bold text:     **bold text**
  • monospaced text:     ``monospaced text`` (use backquotes)
  • Hyperlinks are automatically detected:      http://ucomment.org shows up as http://ucomment.org
  • Unnumbered bullet points use * asterisks, while numbered points use a # hash mark.
    * This is a bulleted list.
    * It has two items, the second
      item uses two lines.
      #. Point one.
      #. Point two.
    
  • Mathematics: \(e^{i\pi} + 1 = 0\) will show as Euler's famous equation, \(e^{i\pi} + 1 = 0\).

  • Similarly, you can use \[ ... \] to write a stand-alone mathematical equation.

    See this page for help with writing math equations.

Tables, source code and other elements can also be added to your comment; please read more here.