Skip to content
Back to formatted view

Raw Message

Message-ID: <NOEOKKCPBGIAIPPDONMGMEOFCBAA.b.otto@uke.uni-hamburg.de>
Date: 2006-02-23T10:10:43Z
From: Benjamin Otto
Subject: automatic generation of variable names

Hi,

is there some way to generate a varaible name automatically?

What I would like to do is:

Instead
-------

table1 <- orderbysomecolumn
table2 <- orderbysomecolumn
table3 <- orderbysomecolumn
...

automate
--------
for (i in 1:numoftables) {
   table%someconcatenation%i <- orderbysomecolumn
}

regards,
Benjamin