This post is a continuation of a previous post from me: Using R without X11 , and I tried to implement what I was offered. So my previous command:
bsub -XF -n 1 -R "rusage[mem=16]" -We 60 -J <job_array> -o out.log 'script.pl <script arguments>'
I use -XFbecause of the reasons outlined in my previous question. Without use, -XFI get the following error:
Error in .External2(C_X11, paste("png::", filename, sep = ""), g$width, :
unable to start PNG device
Now I tried to implement the suggestions asked on my question. This is my new team without -XFand with help xvfb-run.
bsub -n 1 -R "rusage[mem=16]" -We 60 -J <job_array> -o out.log 'xvfb-run script.pl <script arguments>'
So technically, if it xvfb-rundoesn’t work, it should give me the same error as without using it -XF, but this gives me another error:
Error in axis(side = side, at = at, labels = labels, ...) :
X11 font -adobe-helvetica-%s-%s-*-*-%d-*-*-*-*-*-*-*, face 1 at size 10 could not be loaded
I can not understand what is happening here. Any suggestions would be highly appreciated.
Thanks!