All Apps and Add-ons

Installing new R packages in R analytics app (windows)

charuk
New Member

I have recently installed the R analytics app on Splunk following the directions available here:

https://answers.splunk.com/answers/575629/how-to-install-r-analytics-on-windows.html

I now want to install a new R package. I have R installed on windows in the C drive.

I tried installing the ISLR package into the C:\Program Files\R\R-3.5.0\library using the below command in R and in R, I can see that the package was installed successfully.

install.packages("ISLR",lib='C:\Program Files\R\R-3.5.0\library')
library('ISLR') 

However, I still cannot see the package 'ISLR' under the list of Libraries in the R analytics app on Splunk. What am I missing?

Any help would be much appreciated!

0 Karma
Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...