Skip to content
Prev 207754 / 398506 Next

Executing a R-string

On 28/01/2010, at 2:59 AM, Joe Trubisz wrote:

            
> set.seed(42)
 > m <- sample(0:9,42,TRUE)
 > S <- "which(m==4)"
 > eval(parse(text=S))
[1] 11 15 19 29 42

	cheers,

		Rolf Turner


######################################################################
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}