Use R to iteratively download all tiff files from shared Google Drive folder -


i use r to: 1) create list of tif files in shared google drive folder 2) loop through list of files 3) save each file local drive

i've tried rgoogledocs , rgoogledata , both seem have stopped development , neither support downloading tif files. there googlesheets, again, doesn't suit needs. know of way accomplish task?

-cherrytree

here's part of code (cannot share of it) gets list of urls , makes copy on hard drive:

if (download == true) {   urls = dataframe$productimagepath    (url in urls) {     newname <- paste ("academy/",basename(url), sep =" ")     download.file(url, destfile = newname, mode = "wb")   } } 

Comments

Popular posts from this blog

c++ - CPP, 'X' button listener -

.net - Bulk insert via Dapper is slower than inserting rows one-by-one -

shared memory - gstreamer shmsrc and shmsink with h264 data -