Skip to content

Problem on using Rexcel in the vba code

1 message · anna

#
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: