[R-SIG-Mac] R.app Data Editor

David Winsemius dwinsemius at comcast.net
Sun Apr 8 18:34:47 CEST 2012


On Apr 8, 2012, at 11:59 AM, Holger Schulz wrote:

> On the screenshot
>
> 	http://www.r-project.org/screenshots/RAqua-scrshot1.jpg
>
> a window with the R Data Editor is shown.
>
> How can that be invoked within the R.app?

obj <- data.frame(a=1:10, b=letters[1:10])
edit(obj)

Notice that on exiting the Data Editor you will see the edited results  
but as with any local operation in R that unless you invoked it as:

new <- edit(obj)

  Or recovered that effort using access to .Last.value that all your  
changes would be lost.
>

-- 

David Winsemius, MD
West Hartford, CT



More information about the R-SIG-Mac mailing list