我遇到了同样的问题,有时我使用文件名中的源 当我进行新的会话时可以工作,但是我想有一个真正的解决方案 对于此问题:
I have trying with this source:
source("../config/config.R")
Error in file(filename, "r", encoding = encoding) :
cannot open the connection
In addition: Warning message:
In file(filename, "r", encoding = encoding) :
cannot open file '../config/config.R': No such file or directory