D Installing RStudio

This appendix provides tips for installing RStudio Server for use with Oracle R Enterprise on Linux. This appendix includes these topics:

D.1 About RStudio

RStudio is a free, open source Integrated Development Environment (IDE) for R. RStudio is available under GNU Affero General Public License (AGPL). You can use RStudio with Oracle R Enterprise, however RStudio is not included with Oracle R Enterprise. If you want to use RStudio, you must install and license it separately.

See Also:

D.2 Installing RStudio Server

RStudio Server is a Linux application that provides a web-based interface to R on a server.

To install RStudio Server for use with Oracle R Enterprise: 

  1. Download RStudio to your Linux system from the RStudio web site:

    http://www.rstudio.com/ide/

  2. Edit the configuration file rserver.conf. Supply the values of RHOME and ORACLE_HOME.

    % sudo vi /etc/rstudio/rserver.conf
        rsession-ld-library-path=RHOME:ORACLE_HOME
    
  3. Edit the configuration file Renviron. Supply the values of ORACLE_HOME, ORACLE_HOSTNAME, and ORACLE_SID. For example, using the BASH shell:

    % cd /home/oracle
    % sudo vi .Renviron
        ORACLE_HOME=ORACLE_HOME
        ORACLE_HOSTNAME=ORACLE_HOSTNAME
        ORACLE_SID=ORACLE_SID
     
    # export ORACLE_HOME
    # export ORACLE_HOSTNAME
    # export ORACLE_SID
    

D.3 Installing RStudio Desktop

RStudio Desktop is an IDE for standalone machines.

To install RStudio Desktop: 

    1. Install R.

    2. Download RStudio Desktop from the RStudio web site:

      http://www.rstudio.com/ide/

    3. Run the installer and follow the prompts.

    4. Click the desktop icon to initialize RStudio.