[R] How to list R object properties & save workspace?

Liviu Andronic landronimirc at gmail.com
Wed Jul 22 14:05:52 CEST 2009


Hello,

On Wed, Jul 22, 2009 at 1:22 PM, Matej Kovacic<matej.kovacic at owca.info> 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
> even only one value, etc...
>
> And another question - how to save workspace to a custom location while
> running R? Is there any command for that?
>
You could use JGR to display a list similar to what you described (via
"Object browser"), and to graphically save the workspace to a custom
location. JGR is a cross-platform R GUI that is more advanced than the
default GUI/terminal.

Alternatively, you can save the workspace wherever you want via save.image().
Liviu




More information about the R-help mailing list