All Apps and Add-ons

How to install R Analytics on Windows?

graether
Path Finder

Kind of answer to my question: On Windows the App also runs (partially?) as follows: Install latest R-Studio, there Tools > Install Packages: OpenCPU, then run the R command: opencpu::opencpu$start(). It should give an output like
Creating new config file: C:/Users/username/Documents/.opencpu.conf
OpenCPU started.
[httpuv] http://localhost:4711/ocpu

In the R-Analytics App specify only the base URL, here
http://localhost:4711

Now the example
http://localhost:8000/de-DE/app/ita_r/r_script
works including R-graphics.
So far the Demo views did not display anything. Any ideas for troubleshooting here?
Thanks!

0 Karma

graether
Path Finder

Here at least formally and partially my self answered question: How to install R Analytics on Windows:

  1. Install R Studio https://www.rstudio.com/products/rstudio/download/ (I have not tried plain R)
  2. Start R Studio and enter the command: install.packages("opencpu")
  3. enter the command: opencpu::ocpu_start_server(). Note the output will display more than the base URL
  4. Optional: check that the OpenCPU server is up by browsing to something like http://localhost:4711/ocpu
  5. Install the R-Analytics App for Splunk
  6. Restart Splunk
  7. In the Splunk Web: Open the App and configure the base URL, like http://localhost:4711
  8. Now for me http://localhost:8000/de-DE/app/ita_r/r_script works including R-graphics
0 Karma

gwobben
Communicator

Thanks for trying this on Windows! Your setup seems fine and I don't really see why the demo is not working. Could you try to open the console of your browser to see if there are any errors? (F12 on chrome and firefox, then to the console tab)

0 Karma

graether
Path Finder

here is what I saw: Failed to load resource: the server responded with a status of 404 (Not Found)
There was a png link to: http://localhost:8000/de-DE/app/ita_r/400,0,there%20is%20no%20package%20called%20'corrplot'In%20call...

0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...