Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Added on June 9, 2022 7:26PM
Likes: 0
Replies: 1
HI,
I am trying to write a pdf into a folder in R. Below is the code I have written so far
pdf(venn_diagrams,"ihcdata_visitmapping.pdf")
print(p)
dev.off()
Thanks
Operating system used: windows
Hi @Scobbyy2k3
,
Thanks for writing in! I recommend referencing the DSS R API. You can get the managed folder id with dkuManagedFolderPath() and then use something like dkuManagedFolderCopyFromLocal() to copy the contents of a local folder to the managed folder. I've included sample code below for reference. You will need to adjust this code depending on where your files and folder are located.
library(dataiku)#retrieve folder iddkuManagedFolderPath('managed_folder')
path = '/path/to/dir'dkuManagedFolderCopyFromLocal('folder_id', path)
Please let me know if you have any further questions.
Thanks!
Jordan