公司服务器文件保存出错,R服务器错误保存文件没有这样的文件或目录(Ubuntu)...
這個問題類似于post,但那里的反應并沒有真正給出我需要的東西 .
Context :在我編輯RStudio上的R腳本后,會彈出一條錯誤消息并說:"Error Saving File: No such file or directory" . 同時,我也無法打開任何腳本(錯誤消息:"Error while opening file: no such file or directory" . (權限問題?)
我一直有這個問題,其他帖子的解決方案似乎對我的情況不起作用 . 包含:
清除?/ .rstudio里面的sdb(源數據)目錄(Rstudio support)
刪除?/ .rstudio并重啟R會話(Rstudio support)
sudo chown -R $(whoami)?/ .rstudio *(Github)
我在Ubuntu 16.04.3 xenial上使用R server(1.1.423)和Microsoft Azure .
> sessionInfo()
R version 3.4.3 (2017-11-30)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 16.04.3 LTS
Matrix products: default
BLAS: /usr/lib/libblas/libblas.so.3.6.0
LAPACK: /usr/lib/lapack/liblapack.so.3.6.0
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] stringr_1.1.0 haven_1.1.1 dplyr_0.5.0 zoo_1.8-1 readxl_1.0.0 RODBC_1.3-15
[7] lubridate_1.7.3 svMisc_1.0-2 data.table_1.10.0 rstudioapi_0.7
loaded via a namespace (and not attached):
[1] Rcpp_0.12.13 lattice_0.20-35 assertthat_0.1 R6_2.2.2 grid_3.4.3 cellranger_1.1.0
[7] DBI_0.5-1 magrittr_1.5 stringi_1.1.2 forcats_0.3.0 tools_3.4.3 compiler_3.4.3
[13] tibble_1.2
> RStudio.Version()
$citation
To cite RStudio in publications use:
RStudio Team (2016). RStudio: Integrated Development for R. RStudio, Inc., Boston, MA URL
http://www.rstudio.com/.
A BibTeX entry for LaTeX users is
@Manual{,
title = {RStudio: Integrated Development Environment for R},
author = {{RStudio Team}},
organization = {RStudio, Inc.},
address = {Boston, MA},
year = {2016},
url = {http://www.rstudio.com/},
}
$mode
[1] "server"
$version
[1] ‘1.1.423’
總結
以上是生活随笔為你收集整理的公司服务器文件保存出错,R服务器错误保存文件没有这样的文件或目录(Ubuntu)...的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: hibernate实战第二版 蒲成带目录
- 下一篇: 在python中要表示一个空的代码块可以