公司服务器文件保存出错,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’

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值