[R] Call SAS from R
1
0
Entering edit mode
@ripleystatsoxacuk-44
Last seen 9.6 years ago
On Wed, 24 Aug 2005, David Forrest wrote: > On Wed, 24 Aug 2005, Shin, David wrote: > ... >>> system("c:\\program files\\sas institute\\v8\\sas.exe test") >> Warning message: >> c:\program not found > > Escape the spaces too. It is trying to run the program c:\program or > c:\progra~1\sas Sorry that does not work. The Windows way is to quote it: e.g. system('"c:/Program Files/Mozilla Firefox/firefox.exe"') works, and there is an example on the help page ?system, so please do as the posting guide asks and read the documentation .... -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
• 2.2k views
ADD COMMENT
0
Entering edit mode
Shin, David ▴ 20
@shin-david-1394
Last seen 9.6 years ago
An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/bioconductor/attachments/20050824/ 803306d1/attachment.pl
ADD COMMENT
0
Entering edit mode
On Wed, 24 Aug 2005, Shin, David wrote: ... > > system("c:\\program files\\sas institute\\v8\\sas.exe test") > Warning message: > c:\program not found Escape the spaces too. It is trying to run the program c:\program or c:\progra~1\sas Dave -- Dr. David Forrest drf at vims.edu (804)684-7900w drf5n at maplepark.com (804)642-0662h http://maplepark.com/~drf5n/
ADD REPLY

Login before adding your answer.

Traffic: 875 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6