我使用RGoogleDocs包将文本字符串上传到文档。RGoogleDocs - uploadDoc不替换同名文档
以下代码是一个最小工作示例。
library(RGoogleDocs)
gpasswd = "mypassword"
auth = getGoogleAuth("[email protected]", gpasswd)
con = getGoogleDocsConnection(auth)
uploadDoc("test1", con, name = "d")
的问题:如果我跑两次这个代号为文件“d”出现。 换句话说,该文件不会被替换,即使功能向导在uploadDoc预期的行为全文
uploadDoc(content, con, name, type = as.character(findType(content)),
binary = FALSE, asText = FALSE, folder = NULL, ...)
-
name the name of the new document to be created (or the document to be replaced).
新版本(0.5-0)现在以源代码的形式在Omegahat存储库上提供(此时无二进制文件)。 – Duncan 2011-03-05 18:32:46
这是一个比我试图使用文档的“edit-media”属性更好的解决方案。 – Noah 2011-03-05 19:08:58