Skip Headers
Oracle® R Enterprise User's Guide
Release 1.3 for Linux and Windows

Part Number E36761-04
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

C RStudio Installation

Note:

This Oracle R Enterprise documentation includes information about RStudio IDE software. However, RStudio IDE is not included with Oracle R Enterprise and you do NOT receive a license or support to use RStudio IDE under your agreement with Oracle. If you wish to use RStudio IDE it must be separately obtained and licensed; see http://www.rstudio.com/ide/ for additional information.

RStudio IDE is a popular user interface for R that you can use with Oracle R Enterprise.

RStudio consists of these products:

For your convenience, this appendix summarizes how to install RStudio Server so that it works with Oracle R Enterprise. For detailed information about RStudio Server, see http://www.rstudio.com/ide/.

RStudio Desktop

RStudio Desktop is an IDE for standalone machines. The installation is straightforward:

RStudio Server

RStudio Server is a Linux server application that provides a web browser based interface to the version of R running on the server. RStudio Server makes it possible for users to remotely access RStudio using a web browser.

Follow these steps to install RStudio Server so that it works with Oracle R Enterprise:

  1. From a Linux terminal window, download RStudio.

  2. Create configuration files rserver.conf and .Renviron so necessary environment variables are recognized in the RStudio environment.

    1. Create rserver.conf:

      sudo vi /etc/rstudio/server.conf
      rsession-ld-library-path=R_HOME:ORACLE_HOME
      

      A typical value for R_HOME is /usr/lib4/R/lib; a typical value for ORACLE_HOME is /u01/app/oracle/product/11.2.0/dbhome_1/lib.

    2. Include ORACLE_HOME, ORACLE_HOSTNAME, ORACLE_SID in .Renviron using the bash shell:

      cd /home/oracle
      sudo vi .Renviron
      ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
      ORACLE_HOSTNAME=localhost
      ORACLE_SID=orcl
       
      export ORACLE_HOME
      export ORACLE_HOSTNAME
      export ORACLE_SID
      
  3. End-users sign in to RStudio Server by providing login credentials: Username, Password.