全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
914 2
2014-01-11
请问附件中的用下面的语句读入:
data class;
  infile "D:\SAS9.1.3\study\class2.xls";
  input name $ sex $ age weight height;run;
最终生成的表中没有观察值的原因是什么?谢谢


附件列表

class2.xls

大小:2.75 KB

 马上下载

原始数据导入

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2014-1-12 10:58:54
有人能帮忙回答一下吗?非常感谢!
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2014-1-13 11:39:02
EXCEL files are not supported by the INFILE statement.
If SAS/ACCESS Interface for PC Files is part of your SAS installation, read this paper http://www2.sas.com/proceedings/sugi31/020-31.pdf and follow whichever example relevant, otherwise, save .XLS as comma-separated text file and try INFILE again.
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群