[BioC] [R] Call SAS from R

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Aug 24 19:05:44 CEST 2005

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

More information about the Bioconductor mailing list