[R] Error with toString
S Ellison
S.Ellison at lgc.co.uk
Tue Jan 26 16:03:49 CET 2010
"name" & toString(20)
is from Excel or OpenOffice; & means 'logical and' in R, not string
concatenation.
paste() is simpler; sprintf() is more precise as to decimal places and
format.
>>> anna <lippelanna24 at hotmail.com> 26/01/2010 14:09:15 >>>
Hello there, I want to create a string from strings and numbers, here
is my
code:
str <- "name" & toString(20)
but it returns me this error:
Error in toString(20) : could not find function ".jcall"
what did I do wrong? I couldn't find this error anywhere...
--
*******************************************************************
This email and any attachments are confidential. Any use...{{dropped:8}}
More information about the R-help
mailing list