RStudio Pro服务器+库未加载

时间:2018-02-24 02:42:33

标签: linux rstudio rstudio-server

我不确定是否有办法在RStudio Pro服务器(在Centos 7中)中使用它,但是常规R中的以下内容加载库时没有错误:

% xvfb-run R --no-save
> library(MODIStsp)
> 

在RStudio Pro服务器(网络版)中会发生这种情况:

> library(MODIStsp)
R session is headless; GTK+ not initialized.

(R:3641): Gtk-WARNING **: gtk_disable_setlocale() must be called before gtk_init()
Error: package or namespace load failed for ‘MODIStsp’:
 .onLoad failed in loadNamespace() for 'cairoDevice', details:
  call: fun(libname, pkgname)
  error: GDK display not found - please make sure X11 is running

最感谢任何建议或想法!

0 个答案:

没有答案