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.
当我在 Windows 中加载 R 环境(.RData 文件)时,我总是必须将路径中的单斜杠(“\”)更改为双斜杠(“\”)。
有没有更简单的方法来做到这一点?
我尝试用“\”替换所有“\”,但这也不起作用
load(gsub("\","\\","C:\Users\IAMTubby\Desktop\2015\Demo\Demo\Today.RData"))