Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Run R through state - rsource


From   Daniel Marcelino <[email protected]>
To   [email protected]
Subject   st: Run R through state - rsource
Date   Tue, 6 Sep 2011 23:26:09 -0400

Hi all,

I'm trying to figure out how 'rsource' - a user written package could
works on Mac. Basically, this package send R commands through Stata
prompt. To do so, it needs to find and execute R on background.
The command works fine on Windows, under Mac environment, however, I'm
not able to get it working.
 I've asked the Roger Newson who wrote this package, but unfortunately
he doesn't have a clue on this. I'm wondering if someone else has seen
it before.
The following line tells Stata to find the R application and run it,
however, I've had no answer in my screen.


global Rterm_path "/Applications/R64.app/Contents/MacOS/R"
global Rterm_options `"--vanilla"'
rsource using mytest.R


Daniel

-- 
About me: http://danielmarcelino.zip.net/
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index