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

st: RE: example of using rsource in stata

From   "Newson, Roger B" <[email protected]>
To   <[email protected]>
Subject   st: RE: example of using rsource in stata
Date   Tue, 27 May 2008 20:46:56 +0100

I don't know how practical Ben wants the example to be. However, I have
a demo do-file, and a companion R source file, that demonstrates a
trivial example, using the R packages read.dta and write.dta to read and
write Stata files from R. I can send Ben a copy if he likes.

An alternative path, if Ben has StatTransfer and the SSC Stata package
stcmd, would be to use StatTransfer from Stata to  read and write R

I hope this helps.

Best wishes


Roger B Newson
Lecturer in Medical Statistics
Respiratory Epidemiology and Public Health Group
National Heart and Lung Institute
Imperial College London
Royal Brompton campus
Room 33, Emmanuel Kaye Building
1B Manresa Road
London SW3 6LR
Tel: +44 (0)20 7352 8121 ext 3381
Fax: +44 (0)20 7351 8322
Email: [email protected] 
Web page:
Departmental Web page:

Opinions expressed are those of the author, not of the institution.

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Ben Dwamena
Sent: 27 May 2008 19:33
To: [email protected]
Subject: st: example of using rsource in stata

Hello everyone!
Does anyone have a practical example of using Roger Newson's rsource for
running an R routine in Stata?

Ben Adarkwa Dwamena, MD

Assistant Professor of  Radiology
Division of Nuclear Medicine
Department of Radiology
University of Michigan Medical School
1500 E. Medical Center Drive
B1  G505   University  Hospital
Ann Arbor, MI 48109-0028

[email protected]

Staff Physician
D748 Nuclear Medicine Service (115), 
VA Ann Arbor Health Care System
2215 Fuller Road
Ann Arbor, MI 48105
734-761-7886 Phone
734-761-5229 Fax

Electronic Mail is not secure, may not be read every day, and should not
be used for urgent or sensitive issues

*   For searches and help try:

*   For searches and help try:

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