[R] R2wd- how to open an existing document

Felipe Carrillo mazatlanmexico at yahoo.com
Wed Jul 7 01:42:06 CEST 2010


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 <eriki at ccbr.umn.edu>
> To: Felipe Carrillo <mazatlanmexico at yahoo.com>
> Cc: r-help at 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 at 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.
> 






More information about the R-help mailing list