Message: 42
Date: Mon, 3 Jan 2011 18:58:04 -0200
From: Eduardo de Oliveira Horta<eduardo.oliveiraho...@gmail.com>
To: r-help<r-help@r-project.org>
Subject: Re: [R] Saving objects inside a list
Message-ID:
        <aanlktimbxmr0rusiws1grorhjh=wstofzqdoc-90z...@mail.gmail.com>
Content-Type: text/plain

sapply(ls(),get) works fine. Thanks.

ps: the as.list and the eapply suggestions didn't work.
Hi Eduardo (and all the best for this new year),

are you sure the as.list and eapply solutions didn't work ? On my machine they produce a list but in "reverse order" compared to the result of ls(),...maybe it's the same with you :

names(as.list(.GlobalEnv))[6] is the name of the 6th variable FROM THE END of ls().

Regards. Olivier

--
Olivier ETERRADOSSI
Maître-Assistant
animateur du groupe Sensomines (Institut Carnot M.I.N.E.S)
-------------------------------------------------------------
CMGD
Pôle "Matériaux Polymères Avancés"
axe "Propriétés Psycho-Sensorielles des Matériaux"
-------------------------------------------------------------
Ecole des Mines d'Alès
Hélioparc, 2 av. P. Angot, F-64053 PAU CEDEX 9
tel std: +33 (0)5.59.30.54.25
tel direct: +33 (0)5.59.30.90.35
fax: +33 (0)5.59.30.63.68
http://www.mines-ales.fr
e-mail : olivier.eterrado...@mines-ales.fr

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to