Actually, you still do not have what you originally specified: you have
produced a character vector of length 4 where your original post indicated
that you wanted a single character string seprating the four values by a
space. For this you want:
paste("stuff",paste(ya,collapse=" "), sep =" ")
-- Bert Gunter
Genentech Nonclinical Statistics
-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Erin Hodgess
Sent: Friday, May 29, 2009 10:44 AM
To: R help
Subject: [R] probably simple paste question solved: please ignore
Nothing like posting your snag to make you solve it!
The answer is simply:
> c("stuff",ya)
[1] "stuff" "57" "2" "8"
>
Sorry,
Erin
--
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: [email protected]
______________________________________________
[email protected] 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.
______________________________________________
[email protected] 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.