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
--
View this message in context:
http://www.nabble.com/R-Excel-Macro-Problem-tp17450757p17450757.html
Sent from the R help mailing list archive at Nabble.com.
[[alternative HTML version deleted]]
______________________________________________
[email protected] 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.