RStudio Server Usage Statistics: Raw data from admin dashboard

rstudio-server-pro

#1

We were running an RStudio (pilot) Server and monitored the usage with the admin dashboard. We are now setting up a new server but would like to retain the usage statistics from the old server. Is there a way to access the raw data behind these usage statistics?

With best regards,
Nils


#2

Yep. You can find them here:

/var/lib/rstudio-server/monitor/rrd/

#3

great, thank you very much!


#4

Followup question: I would think that I need the package rrd to import this data into r. However, RStudio does not seem to find this package..?

image

install.packages("rrd")
#> Installing package into 'C:/Users/rata/Documents/R/win-library/3.5'
#> (as 'lib' is unspecified)
#> Warning: package 'rrd' is not available (for R version 3.5.1)

#5

The package does appear to be available on CRAN:

https://cran.r-project.org/web/packages/rrd/index.html

Is your CRAN mirror up-to-date?

EDIT: but it appears that it's only available on Linux, and IIUC you're attempting to install the package on a local Windows machine.


#6

IIUC you're attempting to install the package on a local Windows machine

This is indeed the case. Luckily, the installation does work on our Linux based RStudio Server, so that's a good workaround.