Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Re: Calling SAS and R code from Stata


From   "Austin Nichols" <austinnichols@gmail.com>
To   statalist@hsphsun2.harvard.edu, babak_cho@yahoo.com
Subject   Re: st: Re: Calling SAS and R code from Stata
Date   Tue, 2 May 2006 10:56:04 -0400

Babak Oskooei --
Easy enough to run another program with the -shell- command and then
you need to read in that other program's output with the -infile- or
-file- command,
in all likelihood.

On 5/2/06, Babak Oskooei <babak_cho@yahoo.com> wrote:
Dear Statalist,

I have a question regarding STATA software.
I would appreciate any comments on the following
problem:

I perform research on several measures of explained
variation in survival analysis which were programmed
in different software such as SAS, R and C. I am
planning to conduct simulation studies on all these
measures in STATA software. Considering the deadline I
have, it is practically impossible for me to program
all measures again in STATA. I was wondering whether
these programs could be run from within STATA. I know
that STATA allows you to call in C codes using Plugin
facility that exist in STATA, but I do not know
whether this is possible with SAS or R code. Is it
possible to use SAS or R as slave programs?

I would be grateful for any comments on this or any
references that I can refer to.

Best regards

Babak Oskooei
PhD Student
UCL Statistical Sciences Dep.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


---------- Forwarded message ----------
From: Babak Oskooei <babak_cho@yahoo.com>
To: allstat@JISCMAIL.AC.UK
Date: Tue, 2 May 2006 06:46:11 -0700 (PDT)
Subject: Re: Calling SAS and R code from Stata
Dear AllStat,

I have a question regarding STATA, SAS and R software.
I would appreciate any comments on the following
problem:

I perform research on several measures of explained
variation in survival analysis which were programmed
in different software such as SAS, R and C. I am
planning to conduct simulation studies on all these
measures in STATA software. Considering the deadline I
have, it is practically impossible for me to program
all measures again in STATA. I was wondering whether
these programs could be run from within STATA. I know
that STATA allows you to call in C codes using Plugin
facility that exist in STATA, but I do not know
whether this is possible with SAS or R code. Is it
possible to use SAS or R as slave programs?

I would be grateful for any comments on this or any
references that I can refer to.

Best regards

Babak Oskooei
PhD Student
UCL Statistical Sciences Dep.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com



*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index