Rscript and UNC paths

穿精又带淫゛_ 提交于 2020-02-04 01:36:46

问题


I have an R script that I would like to run from the command line using Rscript.exe in Windows. The script runs fine if I open it in RStudio but when I run it through Rscript in the command line it fails because I have UNC paths in my script. For example,

read.csv("//server/directory/file.csv/")

Rscript fails and says the directory does not exist. Is there anyway to resolve this problem?

来源:https://stackoverflow.com/questions/37702472/rscript-and-unc-paths

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!