Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在我的 R 项目中,我有将近 30 个 R 脚本,而现在我没有。让 my.30.file.R 逐一返回选择的唯一方法?从文件-> 打开文件?我尝试使用 , : ; 进行多项选择 和班次没有成功。有人知道捷径吗?
假设您的工作目录中有所有 .R 文件,您可以这样做:
files <- list.files(pattern = ".R") # get all .R files file.edit(files) # open all scripts in separate tabs