Quantcast

R2wd error in wdGet

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

R2wd error in wdGet

Andreia Leite
Dear list,

I'm trying to use R2wd package. I've installed the package and try wdGet(). However a error message came up. I'm presently using R 2.15.0

> wdGet()
Error in if (wdapp[["Documents"]][["Count"]] == 0) wdapp[["Documents"]]$Add() :
  argument is of length zero

Does anyone knows what this means?

Thanks a lot.

Andreia Leite


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: R2wd error in wdGet

Robert Baer
> wdGet()
Error in if (wdapp[["Documents"]][["Count"]] == 0)
wdapp[["Documents"]]$Add() :
  argument is of length zero


Not sure what your error means without more context, you should see:
Loading required package: rcom
Loading required package: rscproxy

Do you have RDCOMClient installed and working properly?

rcom requires a current version of statconnDCOM installed.
To install statconnDCOM type
     installstatconnDCOM()

This will download and install the current version of statconnDCOM

You will need a working Internet connection
because installation needs to download a file.

HTH,

Rob
Error in if (wdapp[["Documents"]][["Count"]] == 0)
wdapp[["Documents"]]$Add() :
  argument is of length zero
>


-----Original Message-----
From: Andreia Leite
Sent: Thursday, June 07, 2012 2:53 PM
To: [hidden email]
Subject: [R] R2wd error in wdGet  that

Dear list,

I'm trying to use R2wd package. I've installed the package and try wdGet().
However a error message came up. I'm presently using R 2.15.0

> wdGet()
Error in if (wdapp[["Documents"]][["Count"]] == 0)
wdapp[["Documents"]]$Add() :
  argument is of length zero

Does anyone knows what this means?

Thanks a lot.

Andreia Leite




--
View this message in context:
http://r.789695.n4.nabble.com/R2wd-error-in-wdGet-tp4632737.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
[hidden email] 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.

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: R2wd error in wdGet

Andreia Leite
I've tried again and it worked fine this time. I can't figure out why it
didn't last time.

Thanks for helping anyway!


On Mon, Jun 11, 2012 at 4:58 AM, Robert Baer <[hidden email]> wrote:

> wdGet()
>>
> Error in if (wdapp[["Documents"]][["Count"**]] == 0)
> wdapp[["Documents"]]$Add() :
>  argument is of length zero
>
>
> Not sure what your error means without more context, you should see:
> Loading required package: rcom
> Loading required package: rscproxy
>
> Do you have RDCOMClient installed and working properly?
>
> rcom requires a current version of statconnDCOM installed.
> To install statconnDCOM type
>    installstatconnDCOM()
>
> This will download and install the current version of statconnDCOM
>
> You will need a working Internet connection
> because installation needs to download a file.
>
> HTH,
>
> Rob
>
> Error in if (wdapp[["Documents"]][["Count"**]] == 0)
> wdapp[["Documents"]]$Add() :
>  argument is of length zero
>
>>
>>
>
> -----Original Message----- From: Andreia Leite
> Sent: Thursday, June 07, 2012 2:53 PM
> To: [hidden email]
> Subject: [R] R2wd error in wdGet  that
>
>
> Dear list,
>
> I'm trying to use R2wd package. I've installed the package and try wdGet().
> However a error message came up. I'm presently using R 2.15.0
>
>  wdGet()
>>
> Error in if (wdapp[["Documents"]][["Count"**]] == 0)
> wdapp[["Documents"]]$Add() :
>  argument is of length zero
>
> Does anyone knows what this means?
>
> Thanks a lot.
>
> Andreia Leite
>
>
>
>
> --
> View this message in context: http://r.789695.n4.nabble.com/**
> R2wd-error-in-wdGet-tp4632737.**html<http://r.789695.n4.nabble.com/R2wd-error-in-wdGet-tp4632737.html>
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________**________________
> [hidden email] mailing list
> https://stat.ethz.ch/mailman/**listinfo/r-help<https://stat.ethz.ch/mailman/listinfo/r-help>
> PLEASE do read the posting guide http://www.R-project.org/**
> posting-guide.html <http://www.R-project.org/posting-guide.html>
> and provide commented, minimal, self-contained, reproducible code.
>



--
Andreia Leite

        [[alternative HTML version deleted]]

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: R2wd error in wdGet

Bart Joosen
I had this problem when my word was already open and asking for saving a file.
So the VBA was already busy.

Bart
Loading...