Re: [R] Paste ignore arrayys

2012-03-10 Thread R. Michael Weylandt
Read ?paste and use something like paste("GPS_", paste("TimeStamps", collapse = "_"), sep = "") Michael On Sat, Mar 10, 2012 at 11:41 AM, Alaios wrote: > Dear all, > I am using paste to create a file name. > filename<- paste("GPS_", TimeStamps, sep="") > where TimeStamps is a character vector,

[R] Paste ignore arrayys

2012-03-10 Thread Alaios
Dear all, I am using paste to create a file name. filename<- paste("GPS_", TimeStamps, sep="") where TimeStamps is a character vector, of two elements. The problem is that the paste instead of one string will make two, one for each entry of the TimeStamps vector. Would it be possible to make the