Message-ID: <49919165.300@gmx.ch>
Date: 2009-02-10T14:38:29Z
From: David Croll
Subject: Odp: Problem with retrieving updated variables after attach()
In-Reply-To: <20090210205744.52bad6fe@berwin-nus1>
Thank you, this does the job perfectly!
Regards, David
> R> new.df <- data.frame(id,age)
>
> Or, perhaps more automatic:
>
> R> new.df <- do.call(data.frame, sapply(ls(pos=2), as.name))
>
> Is this what you are after?
>
> Cheers,
>
> Berwin