My Oracle Support Banner

FAQ:How to Install R packages (Doc ID 2313280.1)

Last updated on OCTOBER 16, 2019

Applies to:

Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Information in this document applies to any platform.


This document explains the various ways in which such R packages can be installed for use with R and together with Oracle R Enterprise. In the following, the same instructions apply when using either open source R or Oracle R Distribution.

The installation and use of open source R packages for use within Oracle R Enterprise is supported by Oracle. Troubleshooting or guidance for the package code itself is not supported by Oracle, but is often provided by the package author and/or maintainer. This contact information is listed on the package's CRAN site.

Troubleshooting Steps

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document
Troubleshooting Steps
 1. R Package Installation Basics
 2. Setting the Repository
 3. Installing R Packages for use with Oracle R Enterprise
 4. CRAN Task Views
  5. Using and Managing R packages
  6. Troubleshooting Common Problems
 Installing Older Versions of R packages
 Oracle R Enterprise is not in the R library path
 Binary package compiled with different version of R 
 Unable to execute files in /tmp directory 

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.