Skip to content
Prev 181889 / 398513 Next

probably simple paste question solved: please ignore

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: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] 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:
[1] "stuff" "57"    "2"     "8"
Sorry,
Erin