This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Execute Plink Cmd From Within R Script?

anyone have R code to execute plink cmd from within R script? i know plink developers have written R-plugins, but these are not implemented in Windows 7 (OS i am using).

r plink

2 answers

system("plink --flag1 --flag2 --etc")

That's how I do it, anyway.

so simple. just saved me hours. thx!

try using system("./plink --file --flag1 --flag2 --out")

Log in to answer this question.