R Package Management with TSSS


We're using Tibco Spotfire Statistics Services with our Spotfire 7 server. We've configured TSSS to provide access to an R Server running open-source R.

What is the best way to manage packages that are installed on our R Server?

This is a production environment and we want it to remain stable and prevent users from (inadvertently) installing/upgrading/deleting R packages. This is possible because you can write a data function that is an R script that includes something like:

update.packages(checkBuilt=TRUE, ask=FALSE, repos="http://myfavouritecranmirror.com")

All access to the R Server through TSSS is as a single user so all Spotfire users or R share the same user's environment.

The only thing I can think of is to make the R library paths read-only by the TSSS user.

Are there better approaches?


(1) Answer