Oracle® R Enterprise User's Guide Release 1.3 for Linux and Windows Part Number E36761-04 |
|
|
PDF · Mobi · ePub |
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; seehttp://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 is an IDE for standalone machines. The installation is straightforward:
Install R.
Download RStudio Desktop.
Run the installer and follow the prompts
Click on the desktop icon to initialize RStudio.
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:
From a Linux terminal window, download RStudio.
Create configuration files rserver.conf
and .Renviron
so necessary environment variables are recognized in the RStudio environment.
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
.
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
End-users sign in to RStudio Server by providing login credentials: Username, Password.