Skip to content
Prev 301371 / 398506 Next

Advice on multi-user server for R

On Thu, Jul 26, 2012 at 7:59 AM, Carrie Wager <cgwager at gmail.com> wrote:
Just a few short points:

I think the RStudio Server on Linux backend makes a lot of sense. If
your coworkers eventually do start using R (just to prototype), they
can use desktop RStudio so they have a single unified interface.

R is generally very memory hungry so when picking hardware specs, keep
that in mind. Also, if you get a multi-core server, note that you'll
have to use explicit parallelization in writing scripts if you only
have a single R process running at a time. If you have as many
processes as cores, it might be better to avoid parallelizing [someone
else with more HPC knowledge than me should comment definitively]

Also, for scientific / heavy matrix work, go to the effort of building
locally and using a tuned BLAS. It really does make a noticeable
difference for work on big matrices (which linear models are
internally). Your IT folks should not be too unfamiliar with this.

For a slightly different take, you might also look at Simon's work on
FastRWeb et al. which take much more of a client-server model so you
can hide as much as you want (everything?) behind a webpage. Not sure
where the best documentation on that is, but I've seen a live demo and
it's awesome.

Best,
Michael