[R] Object oriented programming in R.

Liviu Andronic landronimirc at gmail.com
Tue Sep 14 13:51:42 CEST 2010


On Tue, Sep 14, 2010 at 12:55 PM, Alaios <alaios at yahoo.com> wrote:
> Thank you very much. I checked the tutorials that on that list but still I do
> not know how to create many objects of the same type. Can you please help me
> with that?
>
Is this what you need?
for(i in 1:100){
	assign(paste('tmp', i, sep=''), NULL)
}
ls()

Liviu



More information about the R-help mailing list