Hello,
Good day,
I am trying to call plink in R and RStudio, using system("plink ", intern=TRUE) so that I can be able to integrate with knitr and Latex to produce report. I am getting the following error:
system("./plink ", intern=TRUE)
sh: 1: ./plink: not found
Error in system("./plink ", intern = TRUE) : error in running command.
set up
OS: Ubuntu 14.04
plink 1.9 ( set the path so that when I run plink command in terminal it work)
(C) 2005-2014 Shaun Purcell, Christopher Chang GNU General Public License v3
plink [input flag(s)...] {command flag(s)...} {other flag(s)...}
plink --help {flag name(s)...}
"
when I run through plink 1.07 here is the output:
system("p-link ", intern=TRUE)
ERROR: Stopping as there are no SNPs left for analysis