(This article was first published on Getting Genetics Done, and kindly contributed to R-bloggers)
Just discovered this very handy R command to capture the output from a system command as an R object. I wanted to use R to read in the output from another program (PLINK) and do some processing on each output file. Of course if the files are named sequentially (plink1.out, plink2.out, plink3.out, etc.) this would be simple with a for loop. This wasn't the case for me, but I could still list all
To leave a comment for the author, please follow the link and comment on his blog: Getting Genetics Done.
R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series,ecdf, trading) and more...

Zero Inflated Models and Generalized Linear Mixed Models with R.
Zuur, Saveliev, Ieno (2012).