我想用R中的默认密码编程来加密这个文件。我该怎么办?
zip("C:/Users/user/Downloads/myarchive.zip",
files="C:/Users/user/Downloads/example.txt",
flags = "-r9X")
谢谢!!!
答案 0 :(得分:0)
PASSWORD <- "BillMurray"
zip("C:/Users/user/Downloads/myarchive.zip",
files="C:/Users/user/Downloads/example.txt",
flags = paste("--password", PASSWORD))