> a = system("ls aaaaa;echo $?", intern = TRUE)
ls: 无法访问aaaaa: 没有那个文件或目录
> a
[1] "2"
更多:
https://stat.ethz.ch/R-manual/R-devel/library/base/html/system.html
2023-10-24 15:15:22
> a = system("ls aaaaa;echo $?", intern = TRUE)
ls: 无法访问aaaaa: 没有那个文件或目录
> a
[1] "2"
更多:
https://stat.ethz.ch/R-manual/R-devel/library/base/html/system.html