[R] Problem on using Rexcel in the vba code

anna_l lippelanna21 at hotmail.com
Thu Nov 19 17:12:29 CET 2009


Hello everybody, I started to use Rexcel and I am getting an error with the
following code:

Sub AutoForma1_Clique()
Call RInterface.StartRServer
    Call RInterface.RRun("setwd(""C:/Program Files/R/R-2.10.0/Working
Directory"")")
    Call RInterface.RRun("getwd()") 
 
End Sub

The error is the following when I run the macro: error in time execution
'424', the object is obligatory
Any idea?


-----
Anna Lippel
new in R so be careful I should be asking a loooooooot of questions!:teeth:
-- 
View this message in context: http://old.nabble.com/Problem-on-using-Rexcel-in-the-vba-code-tp26421377p26421377.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list