里面是SAS book的一个截图
Suppose the following data are in a file called President.dat in the directory MyRawData on the C drive (Windows):
Adams F 2
Lincoln R 16
Grant R 18
Kennedy D 35
The following program shows the use of the INFILE statement to read the external data file:
* Read data from external file into SAS data set;
DATA uspresidents;
INFILE 'c:\MyRawData\President.dat';
INPUT President $ Party $ Number;
RUN;
关于SAS如何读取外界的data
问题
1. 上面存在MyRawData的文件是在SAS中创建再保存到电脑里面么??完全不明白。。。
2. 根据上面的步骤编写完后。。。完全run不出来,显示我存储的路径压根没那些东西。。。