On Oct 22, 2010, alais wrote:

|Moreover can you please tell me how I can concatenate variables and strings so
to print some debugging messages /
"The value of x is " + x + " and the value of y is " +y.

Commas, not "+""

cat("The value of x is ", x , " and the value of y is " , y)

--

David Winsemius, MD
West Hartford, CT

______________________________________________
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