我按照官方指南安装 RStudio Server。一切正常,但修复和编辑功能不可用。
例如,我有一个名为“data”的data.frame,如下所示。
1,2,3
4,5,6
7,8,9
命令“查看(数据)”工作正常。但是当我执行命令“edit(data)”或“fix(data)”时,会出现一些错误消息。
“修复(数据)”的错误消息:
Error in .External2(C_dataentry, datalist, modes) :
unable to start data editor
In addition: Warning message:
In edit.data.frame(get(subx, envir = parent), title = subx, ...) :
unable to open display
“编辑(数据)”的错误信息:
Error in edit : Editing of data frames and matrixes is not supported in RStudio.
我在本地 rstudio(Windows 8.1)上运行了相同的代码,所有功能都运行良好!它真的很连线......有人可以帮助我吗?非常感谢!
ps 我已经读过这篇文章,但它对我不起作用。
会话信息:
R version 3.1.3 (2015-03-09)
Platform: x86_64-redhat-linux-gnu (64-bit)
Running under: CentOS Linux 7 (Core)
locale:
[1] LC_CTYPE=zh_TW.UTF-8 LC_NUMERIC=C LC_TIME=zh_TW.UTF-8
[4] LC_COLLATE=zh_TW.UTF-8 LC_MONETARY=zh_TW.UTF-8 LC_MESSAGES=zh_TW.UTF-8
[7] LC_PAPER=zh_TW.UTF-8 LC_NAME=C LC_ADDRESS=C
[10] LC_TELEPHONE=C LC_MEASUREMENT=zh_TW.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] tools_3.1.3