"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 <lippelann...@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}}

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to