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]
Re: st: New version of -rsource- on SSC
From
"Roger B. Newson" <[email protected]>
To
[email protected]
Subject
Re: st: New version of -rsource- on SSC
Date
Mon, 03 Mar 2014 19:36:15 +0000
I think my reason for choosing -Rterm.exe- instead of -R.exe- is the
statement in Appendix B of Venables, Smith et al., 2013 (on the R
project website) that:
At the Windows command-line, Rterm.exe is preferred to R.
It is not clearly stated why, except for the slightly cryptic statement:
Within a terminal window (e.g. cmd.exe or a more capable shell), the
methods described in the previous section may be used, invoking by R.exe
or more directly by Rterm.exe.
which seems to be hinting that R.exe might work by calling Rterm.exe.
Best wishes
Roger
References
Venables W. N., D. M. Smith, and the R Development Core Team. An
Introduction to R. Notes on R: A Programming Environment for Data
Analysis and Graphics Version 3.0.2 (2013-09-25). Downloadable from the
R Project Website at
http://www.r-project.org/
as of 03 March 2014.
Roger B Newson BSc MSc DPhil
Lecturer in Medical Statistics
Respiratory Epidemiology, Occupational Medicine
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
UNITED KINGDOM
Tel: +44 (0)20 7352 8121 ext 3381
Fax: +44 (0)20 7351 8322
Email: [email protected]
Web page: http://www.imperial.ac.uk/nhli/r.newson/
Departmental Web page:
http://www1.imperial.ac.uk/medicine/about/divisions/nhli/respiration/popgenetics/reph/
Opinions expressed are those of the author, not of the institution.
On 03/03/2014 19:10, David C. Airey wrote:
I read that in the following PDF when I was searching for differences
between Windows R and Mac R batch mode use (I got Windows 7 on my Mac):
http://people.su.se/~lundh/reproduce/batchmode.pdf
I was curious why you used Rterm.exe and not R.exe.
Checking out your stcmd.ado package now...
-Dave
On Mar 3, 2014, at 1:56 PM, Roger B. Newson <[email protected]> wrote:
Hi Dave
Thanks for the tip re /usr/bin/R. I unfortunately am a poor benighted Windows 7 user, and, when I install a new version of R on my system, it automatically installs it in a new folder with a new name. So, I always have to change my profile.do, and my TextPad External Tools settings, whenever I update R. I will look around for a way of changing this.
Best wishes
Roger
Roger B Newson BSc MSc DPhil
Lecturer in Medical Statistics
Respiratory Epidemiology, Occupational Medicine
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
UNITED KINGDOM
Tel: +44 (0)20 7352 8121 ext 3381
Fax: +44 (0)20 7351 8322
Email: [email protected]
Web page: http://www.imperial.ac.uk/nhli/r.newson/
Departmental Web page:
http://www1.imperial.ac.uk/medicine/about/divisions/nhli/respiration/popgenetics/reph/
Opinions expressed are those of the author, not of the institution.
On 03/03/2014 18:26, David C. Airey wrote:
.
Thanks. Works fine on my Mac with this in my profile.do file:
// for rsource.ado operation
// ~Library/Application Support/Stata/profile.do
global Rterm_path `"/usr/bin/R"'
global Rterm_options `"--vanilla"'
In my case, the way R is installed by default, the Rterm_path global
always points to the most recently installed R.
-Dave
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/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/faqs/resources/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/faqs/resources/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/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/