Do you want to enter these names at the console? Or
do you have the names in a text file you'd like to
If the former,
mynames <- c("name1", "name2", "name3")
will create a vector containing the names.
If the latter,
mynames <- read.table("allnames.txt", as.is=TRUE)
will read the names into a data.frame that you can
convert to a vector using as.vector()
The R-help newsgroup is great for basic R questions that
don't really relate to geography topics.
On Thu, Jul 24, 2008 at 3:16 PM, <Sandra.Garcia at upct.es> wrote:
> Does anyone knows how I can paste in a character vector the following
> names of maps?
> How I can implement this in R?
> Thanks in advance,
> (may be it is too basic ! excuse me, I am learning R).