![]() ![]() Note that you can get the link from withing R and don't even need to use the Dropbox site. That's in case that you also wanted to share the file, and is obviously optional. You can now actually download the "x.rda" file from here. # "modified" "client_mtime" "path" "is_dir" ![]() # "revision" "rev" "thumb_exists" "bytes" # The result has some information, like the path of where you upload the # Then lets upload it to dropbox on the public folderĭone <- dropbox_save(dropbox_credentials, x, file = "public/x") # envir = ame(), precheck = TRUE, verbose = FALSE, , list = character(), file = stop("'file' must be specified"), # Lets check the args of the uploading function # dropbox_credentials <- dropbox_auth('Your app key', 'Your app secret') # Define credentials or load them if you defined them already Then uploading any type of R object to Dropbox becomes as easy as using the dropbox_save() function.įor example, lets save a simple vector with random data. Authorize your access to the Dropbox app from R.Install the package and it’s dependencies (some are only on GitHub). ![]() ![]() The whole setup is very well explained in it’s GitHub repository ( Karthik). The answer is yes, you can upload files from R to these cloud services! DropboxĪs far as I know, the best R package for uploading files to Dropbox is rDrop ( Ram & Temple Lang, 2012). Have you ever wondered whether you can upload files from R to Dropbox and/or Google Docs? I recently asked myself this question while making my most recent Shiny app (more later). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |