2017-08-29 17 views
0

Rshinyサーバー上で実行されているRからSharePointフォルダからファイルを開くことができます。しかし、同じフォルダにファイルを保存することはできません。次のようなエラーメッセージが表示されます。私はここに提供された解決策を試しましたSaving a file to Sharepoint with RとここにはCopying file to sharepoint library in R運がありません。助言がありますか?SharePointフォルダへのファイルの保存R

df <- read.csv("http://sites.somecompany.com/sites/sitename/Documents/UserDocumentFolder/filename.csv") 

write.csv(df, "http://sites.somecompany.com/sites/sitename/Documents/UserDocumentFolder/filename2.csv") 

can only open URLs for readingError in file(file, ifelse(append, "a", "w")) : 
    cannot open the connection 

答えて

0

私はこれを試してみました、それが働いた:

system("curl --ntlm --user username:password --upload-file someFolder/FileToCopy.ext https://sites.somecompany.com/sites/sitename/Documents/UserDocumentFolder/FileToCopy.ext") 
関連する問題