Following the instructions on
I installed webwork and set up an R server on our new Debian 11 server.
While the suggested R test file in
worked fine; other files, in particular those using graphics such as
would not work. The error messages presented in webwork were not very enlightening.
Running the Rserve from command line, I was able to get more meaningful error messages
Error: long vectors not supported yet: qap_encode.c:36
Fatal error: unable to initialize the JIT
whenever webwork attempted to load these problems.
Searching online, it appears that this is a bug in the Rserve v1.7.3 included in the CRAN package. See
I was able to fix this following the instructions posted later in the github thread -- installing the RForge version (v1.8.8) immediately after installing r-cran-rserve, via the command (in R)
Since it is unclear when CRAN will update its Rserve package, please update the online webwork installation instructions.... I spent the last three days pulling out my hair over this issue.