xuezhongcao 我在看分位数回归的时候,看到一篇文章,按照文章作者的指引,找到数据,但是打不开,求助大家! 地址:http://www.econ.uiuc.edu/~roger/research/intro/intro.html 里面数据格式是压缩格式(A gzipped version of the data for the birth weight section of the paper is available in R's compressed save format here, (In R see the documentation for save())> Warning: this data file is 2.3Mb, and 198377 observations on 19 variables.),不知道怎么打开,求助大家,谢谢
gzlyy <[未知用户] 谢谢,我解决了,不过不是用这个函数,是用的系统指令。。。。 压缩一个文件: makecab c:\filename.txt ls.gz 解压一个文件: expand c:\ls.gz c:\filename.txt
gzlyy 各位,不好意思,我忘了提了,我的是windows系统。。。具体代码是system("expand c:\ls.gz c:\filename.txt", intern = TRUE)。谢谢各位!!!