Skip to content
Prev 278775 / 398502 Next

Transforming a string into a command

On Nov 29, 2011, at 2:30 AM, Xu Wang wrote:

            
All replies are "orphaned".  You are asked to include context if your  
question relies on code that has previously been posted.
It appears you need to review the help page for the `log` function.
It did.

 > eval(parse(text="ln(a+b)"))
Error in eval(expr, envir, enclos) : could not find function "ln"
They both "worked" as expected. An error was appropriately reported.

 > ln(a+b)
Error: could not find function "ln"

 > log(a+b)
[1] 1.098612
Some Nabble users seem to expect that the rest of Rhelp sees what they  
see. They are delusional when they do so.