Open
Description
Hi,
I have been searching hi and low for an answer to my problem but have not found anything.
I am trying to output ggplot plots to specific Google Drive folders but am not having any luck. I imagine it is the scope I am using in drive_auth().
I am not interested in allowing full access to my Google Drive (i.e., scope="drive"), and only want to access certain folders. I tried scope="drive.file" hoping this would work, but I have not been able to save any output to a specific folder.
this is what my drive_upload code looks like:
drive_upload(media="Output/Plots/plot.jpeg",
path=as_id("1OGVyempjkFEH7IPqC0D9-lncpqwPN-Pf"),
name="plot",
type="jpeg")
Is allowing access to only certain folders possible?
Metadata
Metadata
Assignees
Labels
No labels