[R] using var from bash in R script

2012-01-04 Thread dood
, but that seems like an unnecessary step. Can this be done? Thanks -- View this message in context: http://r.789695.n4.nabble.com/using-var-from-bash-in-R-script-tp4262857p4262857.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r

Re: [R] using var from bash in R script

2012-01-04 Thread Marc Schwartz
On Jan 4, 2012, at 3:08 PM, dood wrote: Dear R users, This probably a really noob question, but I'm stuck. I'd like to pass some variables from bash to R as strings. I can successfully pass variables using commandArgs(), the problem is that I end up with an array. So, for example: Args

Re: [R] using var from bash in R script

2012-01-04 Thread David Winsemius
, but that seems like an unnecessary step. Can this be done? require(fortunes) fortune(Yoda) Thanks -- View this message in context: http://r.789695.n4.nabble.com/using-var-from-bash-in-R-script-tp4262857p4262857.html Sent from the R help mailing list archive at Nabble.com

Re: [R] using var from bash in R script

2012-01-04 Thread dood
in context: http://r.789695.n4.nabble.com/using-var-from-bash-in-R-script-tp4262857p4263235.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting