Hi Matej,
You can also try:
sapply(ls(), function(x) object.size(get(x)))
or
eapply(.GlobalEnv, object.size)
which list all objects - as with ls() - but giving their sizes.
I'm also quite new to R so am not sure which other properties you could hope
to get out of it, but by substituting an
On 22/07/2009 7:22 AM, Matej Kovacic wrote:
Hi,
I am new to R and have a couple of questions.
I know how to list all objects (with ls()), but how to list all
properties of them?
ls.str() gives more info than ls(). str() on a particular one gives
more detail.
For instance, I found functi
Hello,
On Wed, Jul 22, 2009 at 1:22 PM, Matej Kovacic wrote:
> I know how to list all objects (with ls()), but how to list all
> properties of them?
>
> For instance, I found function object.size(), but I would also like to
> know whether one object is a dataset or just one vector (variable) or
>
Hi,
I am new to R and have a couple of questions.
I know how to list all objects (with ls()), but how to list all
properties of them?
For instance, I found function object.size(), but I would also like to
know whether one object is a dataset or just one vector (variable) or
even only one value,
4 matches
Mail list logo