Closed seedvestige closed 1 year ago
Hi @seedvestige , this looks like an X11 related issue, rather than dpclust
.
Can you try adding the following line at the top of your script and see if that fixes it:
options(bitmapType='cairo')
Please feel free to re-open this issue if the suggested solution has not resolved the error message :)
Hello,
When testing data using your example according to your helpfile, there was error report. Here is the whole report. " nohup: ignoring input [1] "" [1] "Running: simulated_001_01" [1] "Working dir: output" [1] "Analysis type: nd_dp" [1] "Datafiles:" [1] "simulated_001_01_dp_input.txt" [1] "" The following objects are masked by .GlobalEnv:
The following objects are masked by .GlobalEnv:
The following object is masked by .GlobalEnv:
[1] "Loading data..." [1] "Running DPClust..." [1] "100 / 2000" [1] "200 / 2000" [1] "300 / 2000" [1] "400 / 2000" [1] "500 / 2000" [1] "600 / 2000" [1] "700 / 2000" [1] "800 / 2000" [1] "900 / 2000" [1] "1000 / 2000" [1] "1100 / 2000" [1] "1200 / 2000" [1] "1300 / 2000" [1] "1400 / 2000" [1] "1500 / 2000" [1] "1600 / 2000" [1] "1700 / 2000" [1] "1800 / 2000" [1] "1900 / 2000" [1] "2000 / 2000" Error in .External2(C_X11, paste0("png::", filename), g$width, g$height, : unable to start device PNG Calls: RunDP ... DirichletProcessClustering -> Gibbs.subclone.density.est.1d -> plot1D -> png In addition: Warning message: In png(filename = pngFile, width = 1500, height = 1000) : unable to open connection to X11 display '' Execution halted " Command : " bash run.sh" Environment: System : Centos 7 Remote connect: VScode-R
Thank you for your help!