Displaying 1 result from an estimated 1 matches for "ncme06".
Did you mean:
nam06
2005 Aug 24
0
summary: Call SAS from R
Thanks for all the insightful responses that help me solve my problem.
The original question is: how to call SAS from R
The solution is as below:
If my sas code, test.sas, is in directory c:\ncme06\sas codes, then the
following codes works
> system('"c:\\program files\\sas institute\\sas\\v8\\sas.exe"
"c:\\ncme06\\sas codes\\test"')
Things to notice:
1. need a single quote for the system function
2. need a double quote for BOTH the sas.exe and test files.
Tha...