Re: [R] how to generate object name automatically?

From: Stefano Calza <>
Date: Sat 14 May 2005 - 02:14:16 EST

What about assign?


maybe you're thinking about something like this

(raw.values = vector of values)

for(i in 1:length(raw.labs))

Not elegant but works


On Fri, May 13, 2005 at 11:24:24PM +0800, Xiao Shi wrote:
<Xiao>Hi everybody,
<Xiao>I have a lable vector ,
<Xiao>raw.labs= paste("file1", 1:20, sep = "")
<Xiao>And i can i make the content of raw.labs to be a object name.
<Xiao>eg ,file1=123(use some function on raw.labs to generate the name file1)
<Xiao> [[alternative HTML version deleted]]
<Xiao> mailing list
<Xiao>PLEASE do read the posting guide! mailing list PLEASE do read the posting guide! Received on Sat May 14 02:18:46 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:45 EST