Walk(i_dir$id, ~ drive_download(as_id(.x))) #loop dirs and download files inside them Here's my attempt at avoiding this issue by going into each subdir: #load the libraries Unfortunately, this doesn't work because it apparently cannot deal with folders: > drive_download(folder_id)Įrror: Not a recognized Google MIME type: The most obvious command to try is simply telling it to download the folder, hoping it will figure out the substructure: #load the libraries ![]() In my case, there are only two layers, but it would be nice with an approach that works for arbitrary number of layers. So I want to recurse into the sub-directories and get all files from each. I have a folder shared with me with some large files. ![]() ![]() There are some prior related questions ( 1, 2, 3), but nothing quite what I want, and I can't get the code example to work that Jenny Bryan posted in 2018.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |