This appendix provides tips for installing RStudio Server for use with Oracle R Enterprise on Linux. This appendix includes these topics:
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:
http://www.gnu.org/licenses/agpl-3.0-standalone.html
for details about AGPL
http://www.rstudio.com/
for details about RStudio
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:
Download RStudio to your Linux system from the RStudio website and follow the installation instructions:
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/lib:ORACLE_HOME/lib
Note: The default value of RHOME
on Linux is /usr/lib64/R
.
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
Refer to the instructions for configuring the server at:
RStudio Desktop is an IDE for standalone machines.
To install RStudio Desktop:
Install R.
Download RStudio Desktop from the RStudio website:
Run the installer and follow the prompts.
Click the desktop icon to initialize RStudio.