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!

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...

Splunk App Developers | .conf25 Recap & What’s Next

If you stopped by the Builder Bar at .conf25 this year, thank you! The retro tech beer garden vibes were ...

Congratulations to the 2025-2026 SplunkTrust!

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