安装应该是没问题,使用getTCGA调用数据时出现问题,我也百度搜索过可能是Linux系统和win7系统兼容性问题导致的,又安装了Cygwin这个软件包,并且用Sys.setenv函数设定了环境变量,再执行getTCGA语句还是出错。R语句和执行结果如下:
> Sys.setenv(TAR="C:/cygwin64/bin/tar", R_GZIPCMD="C:/cygwin64/bin/gzip")
> ACC.ov <-getTCGA(disease="ACC",data.type="RNASeq2")
RNASeqV2 data will be imported! This may take some time!
tar (child): gzip: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
/usr/bin/tar: Child returned status 2
/usr/bin/tar: Error is not recoverable: exiting now
Error in file.rename(from = fileList, to = fname) :
from'和'to'的长度不一样
此外: Warning messages:
1: 运行命令'C:/cygwin64/bin/tar -ztf "ACC-RNAseq2GeneNorm.tar.gz"'的状态是2
2: 运行命令'C:/cygwin64/bin/tar -zxf "ACC-RNAseq2GeneNorm.tar.gz"'的状态是2
3: In utils::untar(paste(dataset, "-RNAseq2GeneNorm.tar.gz", sep = ""), :
‘C:/cygwin64/bin/tar -zxf "ACC-RNAseq2GeneNorm.tar.gz"’ returned error code 2
我是新手,请教用过的大神们,是哪里出错了?