Re: [R] R-Excel Macro Problem

From: Yasir Kaheil <kaheil_at_gmail.com>
Date: Sun, 25 May 2008 00:03:39 -0700 (PDT)

hi Nate,
could you please email me your excel workbook. thanks y

nmarti wrote:
>
> I'm trying to write R functions into VBA code. I've done this many other
> times in other documents and everything has run great. But today I keep
> recieving an error message "Run-time error '1004': Application-defined or
> object-defined error."
>
> Has anyone else encountered this same error message?
>
> I do not recieve this error in the document when running regular VBA code.
> But when I try to run,
> Call Rinterface.PutDataframe("Data", Range("Sheet1!A1:E2000"))
> I receive the error.
> I have the VBA "References" RExcelVBAlib checked.
>
> Any suggestions would be appreiciated,
> Nate
>



Yasir H. Kaheil
Catchment Research Facility
The University of Western Ontario
-- 
View this message in context: http://www.nabble.com/R-Excel-Macro-Problem-tp17450757p17455095.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
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.
Received on Sun 25 May 2008 - 07:07:30 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 25 May 2008 - 22:30:45 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive