Re: [R] paste with list

2008-09-22 Thread Antje
Great! That's exactly what I was looking for. (I see, I still have to learn a lot...) Thank you! Antje Dimitris Rizopoulos schrieb: try this: t1 <- c(1, 2, 3) t2 <- c(3.4, 5.5, 1.1) tl <- list(t1, t2) do.call("paste", c(tl, sep = "\t")) I hope it helps. Best, Dimitris Antje wrote: He

Re: [R] paste with list

2008-09-22 Thread Henrique Dallazuanna
Try this: paste(tl[[1]], tl[[2]], sep="\t") On Mon, Sep 22, 2008 at 11:08 AM, Antje <[EMAIL PROTECTED]> wrote: > Hello, > > I guess the solution is rather simple but whatever I tried, I don't manage > to get the result as I want to have it: > > I have several vectors of equal length in a list and

Re: [R] paste with list

2008-09-22 Thread Dimitris Rizopoulos
try this: t1 <- c(1, 2, 3) t2 <- c(3.4, 5.5, 1.1) tl <- list(t1, t2) do.call("paste", c(tl, sep = "\t")) I hope it helps. Best, Dimitris Antje wrote: Hello, I guess the solution is rather simple but whatever I tried, I don't manage to get the result as I want to have it: I have several

[R] paste with list

2008-09-22 Thread Antje
Hello, I guess the solution is rather simple but whatever I tried, I don't manage to get the result as I want to have it: I have several vectors of equal length in a list and I'd like to combine all first elements to a single string, all second elements to a single string, ..., all n-th elem