[R] creating character vector

Maas James Dr (MED)
Mon, 14 Mar 2011 09:29:59 -0000

Is there a way to convince R to create a character vector without using the
quotes?

This works

ex1 <-  c("first","second")

but when I try this it doesn't

ext <- as.character(c(first,second))

it complains. I have many variables to put into character vectors so dispensing
with the quotes would be useful.

Thanks

Jim


==============================Dr. Jim Maas
University of East Anglia


	[[alternative HTML version deleted]]