On Sat, Mar 13, 2010 at 11:51 PM, Megh wrote:
>
> Hi, I was trying to run your code in my VBA editor, however could not
> succeed. The execution stumbled in the line "Call Rinterface.StartRServer"
> itself. I have RCOM package installed into my R environment. Do I need to
> install anything else
Hi, I was trying to run your code in my VBA editor, however could not
succeed. The execution stumbled in the line "Call Rinterface.StartRServer"
itself. I have RCOM package installed into my R environment. Do I need to
install anything else to run that? Would guys here guide me?
Thanks
--
View t
Ok, so I'm embarrassed to admit I made a really dumb mistake. My VBA page
was declared as "Sheet1" code when it should have been "Module1" code.
I knew it was something stupid. Sorry for the inconvenience.
Yasir Kaheil wrote:
>
> hi Nate,
> could you please email me your excel workbook. than
glad to hear things worked out.
y
nmarti wrote:
>
> Ok, so I'm embarrassed to admit I made a really dumb mistake. My VBA page
> was declared as "Sheet1" code when it should have been "Module1" code.
> I knew it was something stupid. Sorry for the inconvenience.
>
>
>
> Yasir Kaheil wrote:
Yasir, I couldn't find your email address, I'm new to the forum. Here's the
code,
Sub Run_ModelT()
Call Rinterface.StartRServer
Call Rinterface.PutDataframe("DataSet", Range("Peram!A1:E2000"))
Call Rinterface.RRun("attach(DataSett)")
Call Rinterface.RRun("model <- lm(Ch_Close_1
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
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?
7 matches
Mail list logo