Re: [R] Rexcel path problem

From: Felipe Carrillo <>
Date: Fri, 01 Apr 2011 07:28:47 -0700

You can run save your scripts in the same folder where your wokbook is and run it like this:

Sub Scatter()                    

Call rinterface.StartRServer
'Put the dataframe into R
    Call rinterface.PutDataframe("scatter", DownRightFrom(Range("RData!A1")), WithRowNames:=False)
Call rinterface.RRun("attach(scatter)")
'Run the RScatter script
rinterface.RunRFile ThisWorkbook.Path & "\RScatter.r" Call rinterface.StopRServer
End Sub


Felipe D. Carrillo
Supervisory Fishery Biologist
Department of the Interior
US Fish & Wildlife Service
California, USA mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Fri 01 Apr 2011 - 14:36:32 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 Fri 01 Apr 2011 - 14:50:26 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive