### R on UCL Computers

UCL Computers have two different versions of R and RStudio installed. Some packages require the newer version of R so make sure you're starting RStudio from the correct folder under the `Start` menu.

The old version appears under `Applications Q-S`, while the newer version is under it's own `R 3.2.0` folder.

<table>
<colgroup>
<col width="50%" />
<col width="50%" />
</colgroup>
<thead>
<tr class="header">
<th>Old Version, R 3.0.1</th>
<th>New Version, R.3.2.0</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>The one under <code>Applications Q-S</code> is the old version</td>
<td>The one under <code>R 3.2.0</code> is the newer version</td>
</tr>
<tr class="even">
<td><img src="../img/rstudio_old.png" /></td>
<td><img src="../img/rstudio_new.png" /></td>
</tr>
</tbody>
</table>

When RStudio starts, the console displays the R version number.

![](../img/rstudio.png)

You can also verify by typing `version` at the console.

``` r
version
```

                   _                           
    platform       x86_64-apple-darwin13.4.0   
    arch           x86_64                      
    os             darwin13.4.0                
    system         x86_64, darwin13.4.0        
    status                                     
    major          3                           
    minor          3.2                         
    year           2016                        
    month          10                          
    day            31                          
    svn rev        71607                       
    language       R                           
    version.string R version 3.3.2 (2016-10-31)
    nickname       Sincere Pumpkin Patch
