Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Saving a file to Sharepoint with R

Tags:

r

Is it possible to save directly an R object to the company SharePoint from a local computer? I found how to import data into R from the Share point, but could not find how to work it to the other end. Thanks.

like image 927
Vasile Avatar asked Jan 27 '17 13:01

Vasile


People also ask

How do I save files directly to SharePoint?

Click the File tab. Click Save & Send, and then click Save to SharePoint. Find the SharePoint location to which you want to save, and click Save As. In the Save As dialog box, click Save.

Can R connect to SharePoint?

The Microsoft365R package makes it easy to connect R with Outlook, Teams, OneDrive, and SharePoint.

How do I automatically upload files to SharePoint?

Make A Flow To Upload Documents To A SharePoint LibraryOpen the Power Automate action from the top menu and select Create a new flow. Choose the Power Apps button template. Name the flow UploadFileToDocument library and click Save.

Where are R files saved?

R saves your data to the working folder on your computer disk in a binary file. This storage method is efficient and the only drawback is that, because it is stored in an R binary format, you can only open it in R [there are some exceptions that will not be discussed here].


1 Answers

Someone from IT department helped us to solve the issue. As I said we were able to import data from share point using the link to the folder. However the same link did not work when trying to save on SharePoint. To be able to do this the IT team gave us a slightly changed link. See below the type of link we used to upload and the one that was recommended and that works.

https://siteadress/foldername/subfolder/docname.rda

the one that works is

\\\\siteadress@SSL\\foldername\\subfolder\\docname.rda
like image 118
Vasile Avatar answered Sep 22 '22 21:09

Vasile