Skip to content
Prev 316245 / 398502 Next

scan not working

On Jan 27, 2013, at 08:33 , Emily Sessa wrote:

            
I don't see how that would ever work. The 2nd and further args to Rscript are passed to R and accesible via commandArgs(). There's no way that scan() can know what the arguments are. It might work with 

Rscript get_q_values.R < LRT_codeml_output

though. Or you need to arrange explicitly for scan(file=commandArgs(TRUE)[1]).