s-news
[Top] [All Lists]

Re: object.size

To: "'Jewel Bright'" <jwlbright@yahoo.com>, "'s-plus-user-list'" <s-news@lists.biostat.wustl.edu>
Subject: Re: object.size
From: "Alan Hochberg" <alan.hochberg@prosanos.com>
Date: Tue, 26 Jul 2005 14:18:05 -0400
In-reply-to: <20050726120509.44761.qmail@web80905.mail.scd.yahoo.com>
Thread-index: AcWSB+JbN1X0nUYTTKemqWuhKPmNzgABhohg

I think that the function you gave ends up looking at object sizes for character vectors representing the names of your objects, or some such funky S-like thing.  This seems to work:

 

lapply(objects(), function(x) object.size(get(x)) )

 

Alan

 

Alan Hochberg

Vice President, Research

ProSanos Corp.

225 Market Street

Suite 502

Harrisburg, PA 17101

Tel. 717-635-2124

Fax 717-635-2575

alan.hochberg@prosanos.com

www.prosanos.com

 

 

<Prev in Thread] Current Thread [Next in Thread>
  • object.size, Jewel Bright
    • Re: object.size, Alan Hochberg <=