我无法让reprex运行。以下是控制台会话的副本:
> library(reprex)
> y <- 1:4
> mean(y)
[1] 2.5
> reprex()
Error in file(con, "w") : cannot open the connection
In addition: Warning message:
In file(con, "w") :
cannot open file 'C:/Users/Richard.R': Permission denied请注意,这是在我没有管理员权限的计算机上。在这台机器上,Richard也不是我的用户it,它是Richard.后跟我的姓氏。
怎样才能让reprex正常运行?
发布于 2019-03-14 03:22:42
这看起来是一个permission问题。您可能在当前目录中没有write访问权限。您可以使用getwd()查看当前目录
请将具有setwd()功能的当前目录更改为您有write访问权限的任何其他目录,然后重试。
https://stackoverflow.com/questions/55149718
复制相似问题