I want encrypt this file with a default password programming in R. How can I do?
zip("C:/Users/user/Downloads/myarchive.zip",
files="C:/Users/user/Downloads/example.txt",
flags = "-r9X")
Thank you!!!
PASSWORD <- "BillMurray"
zip("C:/Users/user/Downloads/myarchive.zip",
files="C:/Users/user/Downloads/example.txt",
flags = paste("--password", PASSWORD))
flags = paste0("-p", PASSWORD, " ", " a -tzip"),