s-news
[Top] [All Lists]

Feeding list of vectors as arguments to paste()

To: s-news@lists.biostat.wustl.edu
Subject: Feeding list of vectors as arguments to paste()
From: "Sung, Myong-Hee (NCI)" <sungm@mail.nih.gov>
Date: Wed, 19 Jun 2002 14:22:58 -0400
Hello,

I've found myself having to perform the following
in order to supply arguments for paste():

Let's say my.list is a list of N character vectors.
Since paste() only accepts vectors, I need to
"unlist" my.list but want to provide N character
vectors as N arguments to paste().  unlist()  
produces one long vector so wouldn't work here. 

How can I do this?
Thanks in advance.

Myong-Hee Sung, Ph.D.

Molecular Statistics and Bioinformatics Section
Biometric Research Branch
National Cancer Institute
National Institutes of Health
6130 Executive Blvd. EPN Room 8146, MSC 7434
Bethesda, MD 20892-7434


<Prev in Thread] Current Thread [Next in Thread>