To address #51, I had been sending an empty DISPLAY env in system2() calls to java. But two things: 1. my syntax was wrong (only Windows complains about it; correct syntax is env = c(DISPLAY = "")), and 2. it is cleaner to instead run java headless (as pointed out by @ChrisWakefield).
This pull request addresses this: Instead of futzing with 'DISPLAY', we use the flag -Djava.awt.headless=true in the call to java.
This pull request was motivated by and addresses showstopper issue #54.
To address #51, I had been sending an empty DISPLAY env in system2() calls to java. But two things: 1. my syntax was wrong (only Windows complains about it; correct syntax is
env = c(DISPLAY = "")
), and 2. it is cleaner to instead run java headless (as pointed out by @ChrisWakefield).This pull request addresses this: Instead of futzing with 'DISPLAY', we use the flag
-Djava.awt.headless=true
in the call to java.This pull request was motivated by and addresses showstopper issue #54.
I tested these changes on
and ran
R CMD CHECK --as-cran
All these checks passed.