Statalist


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

RE: st: RE: Invoking R from Stata


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   RE: st: RE: Invoking R from Stata
Date   Mon, 1 Dec 2008 20:00:21 +0100

Line for the server...

That is exactly what -rsource- does, but it also takes care of logging...

HTH
Martin


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Orvalho Augusto
Sent: Monday, December 01, 2008 7:56 PM
To: [email protected]
Subject: Re: st: RE: Invoking R from Stata

Run from stata:
! /path/to/R.exe /path/to/rscriptfile

! means to invoke a shel command.

Caveman

On 12/1/08, Martin Weiss <[email protected]> wrote:
>
> Line for the server...
>
> ***********
> ssc d rsource
> ***********
>
> HTH
> Martin
>
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Ljubica
> Nedelkoska
> Sent: Monday, December 01, 2008 4:38 PM
> To: [email protected]
> Subject: st: Invoking R from Stata
>
> Dear Statlist members,
>
> I would like to run a file written in R program from a Stata do file. I
> would
> appreciate if somebody helps me how to invoke R from Stata.
>
> Many thanks!
>
> Ljubica
>
>
>
>
>
> Ljubica Nedelkoska
> PhD student
> Research group: "Economics of Innovative Change"
> Friedrich Schiller Universität-Jena
> +49(0)3641 (9) 43 272
>
>
>
>
>
> ----------------------------------------------------------------
> This mail was sent through http://webmail.uni-jena.de
>
>
> *
> *   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/
>
>
> *
> *   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/
>

*
*   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/


*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index