We've just migrated our WeBWorK service over to a new server. All went well, but I ran into some trouble getting Rserve up and running for our stats problems.
After some troubleshooting, we figured it out.
The current instructions at
have a couple of things that don't work if one is installing on Ubuntu 18.04 (which I expect is the most common configuration at the moment).
Installing R using apt is easy enough, and the Rscript command to install rserve works fine too. (Though there is an Ubuntu package r-cran-rserve which is possibly a better choice? Not sure.)
First trouble spot: the config file for systemd should be in /lib/systemd/system, not /usr/lib/systemd/system.
Second trouble spot: the config file itself, which we're advised to download from GitHub, expects Rserve to be installed in /usr/lib64/R/bin/Rserve.
But on Ubuntu, R installs to /usr/lib/R (lib, not lib64).
I don't have an edit account on the wiki, it seems. But I thought I'd mention this here in case someone else encounters the same trouble.