将X11从群集转发到Mac OS Sierra(使用R)

时间:2017-10-16 15:48:26

标签: r linux macos cluster-computing

我试图将X11从大学的群集转发到我的本地mac,但我似乎无法让它正常工作。

我的目标是显示群集上运行的R程序的图形。

我在我的Mac上安装了最新版本的XQuartz。 我也在我当地的Mac上:

defaults write org.macosforge.xquartz.X11 enable_iglx -bool true

接下来,我登录群集,尝试使用-X或-Y启用远程X11显示。



-bash-4.2$ R

R version 3.4.1 (2017-06-30) -- "Single Candle"
Copyright (C) 2017 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

[Previously saved workspace restored]

> library(Seurat)
Loading required package: ggplot2
Loading required package: cowplot

Attaching package: â

The following object is masked from â:

    ggsave

Loading required package: Matrix
seq> setwd("/home/CAM/anesta/LiLab2/allCells/data/")
> cdS <- readRDS("Diencephalon_merged.rds")
FeaturePlot(cdS, "Gbx2")
> FeaturePlot(cdS, "Gbx2")
Error in (function (display = "", width, height, pointsize, gamma, bg,  : 
  X11 module cannot be loaded
In addition: Warning message:
In (function (display = "", width, height, pointsize, gamma, bg,  :
  unable to load shared object '/isg/shared/apps/R/3.4.1/lib64/R/modules//R_X11.so':
  libjpeg.so.62: cannot open shared object file: No such file or directory
> q()
Save workspace image? [y/n/c]: n
echo -bash-4.2$ echo $DISPLAY
localhost:10.0
&#13;
&#13;
&#13;

有谁知道发生了什么事? R不应该寻找本地X11安装,因为命令被转发到我的本地mac,对吗?我是否需要在群集上安装X11?

谢谢, 亚历

0 个答案:

没有答案