Hi Everyone,
I would simply like to coerce a character string into an expression:
something like:
as.expression(paste(letters[1:3], collapse=+))
but I can't seem to get rid of the quotes. The only way I can get it
to work is using as.formula:
as.expression(as.formula(paste(~,
I think you're looking for
parse(text=paste(letters[1:3], collapse=+))
--- Jarrod Hadfield [EMAIL PROTECTED] wrote:
Hi Everyone,
I would simply like to coerce a character string into an expression:
something like:
as.expression(paste(letters[1:3], collapse=+))
but I can't seem to