[R] R2wd- how to open an existing document
Hi: How can one open an existing word document with wdGet() I am getting an error message when trying to open it like this: wdGet(filename=myDoc.doc,path=c/mydata) Looking at Tal Galili's website example it appears that double backslashes are used but i tried it and didn't work either. Thanks Felipe D. Carrillo Supervisory Fishery Biologist Department of the Interior US Fish Wildlife Service California, USA __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] R2wd- how to open an existing document
Having no clue about the specifics here, but what about: wdGet(filename = myDoc.doc, path = c:/mydata) You are leaving out what didn't work means. What error are you receiving? Felipe Carrillo wrote: Hi: How can one open an existing word document with wdGet() I am getting an error message when trying to open it like this: wdGet(filename=myDoc.doc,path=c/mydata) Looking at Tal Galili's website example it appears that double backslashes are used but i tried it and didn't work either. Thanks Felipe D. Carrillo Supervisory Fishery Biologist Department of the Interior US Fish Wildlife Service California, USA __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] R2wd- how to open an existing document
Hi: I am doing exactly that but I still get the following error message: Error in if (!(tmp[[ActiveDocument]][[Name]] == filename)) tmp$Open(paste(path, : argument is of length zero Felipe D. Carrillo Supervisory Fishery Biologist Department of the Interior US Fish Wildlife Service California, USA - Original Message From: Erik Iverson er...@ccbr.umn.edu To: Felipe Carrillo mazatlanmex...@yahoo.com Cc: r-h...@stat.math.ethz.ch Sent: Tue, July 6, 2010 3:03:31 PM Subject: Re: [R] R2wd- how to open an existing document Having no clue about the specifics here, but what about: wdGet(filename = myDoc.doc, path = c:/mydata) You are leaving out what didn't work means. What error are you receiving? Felipe Carrillo wrote: Hi: How can one open an existing word document with wdGet() I am getting an error message when trying to open it like this: wdGet(filename=myDoc.doc,path=c/mydata) Looking at Tal Galili's website example it appears that double backslashes are used but i tried it and didn't work either. Thanks Felipe D. Carrillo Supervisory Fishery Biologist Department of the Interior US Fish Wildlife Service California, USA __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.