Re: [R] viewing data in something similar to 'R Data Editor'

2008-08-04 Thread D McArthur
With the R prompt still active, data may be cleanly viewed (not edited) in a separate window by a simplification of function xless in Hmisc by Frank Harrell: look. <- function (x, ..., title = substring(deparse(substitute(x)), 1, 20)) { page(x, method = "print", title = title,opti

Re: [R] viewing data in something similar to 'R Data Editor'

2008-08-02 Thread Philippe Grosjean
Erich Neuwirth wrote: On Windows, this could be done with rcom and Excel. rcom can use Excel as a server and put matrices into Excel ranges. The code you run in R could have a statement resending matrices so the current version is displayed. I could set up more conveniently what yo want if RGu

Re: [R] viewing data in something similar to 'R Data Editor'

2008-08-02 Thread Erich Neuwirth
On Windows, this could be done with rcom and Excel. rcom can use Excel as a server and put matrices into Excel ranges. The code you run in R could have a statement resending matrices so the current version is displayed. I could set up more conveniently what yo want if RGui had a way of automat

Re: [R] viewing data in something similar to 'R Data Editor'

2008-08-01 Thread Gabor Grothendieck
Try view in the svViews package. On Fri, Aug 1, 2008 at 1:29 PM, Rachel Schwartz <[EMAIL PROTECTED]> wrote: > Hi, > > I would like to view matrices I am working with in a clean, easy to read, > separate window. > > A friend showed me how to do something like I want with edit(). I can view > the m

Re: [R] viewing data in something similar to 'R Data Editor'

2008-08-01 Thread Jim Porzak
Rachel, You may want to try JGR, http://jgr.markushelbig.org/JGR.html which has, among many nice IDE features, an object browser that will do what you want. HTH, Jim Porzak Responsys, Inc. San Francisco, CA http://www.linkedin.com/in/jimporzak useR Group SF: http://ia.meetup.com/67/ On Fri,

Re: [R] viewing data in something similar to 'R Data Editor'

2008-08-01 Thread Erik Iverson
Rachel Schwartz wrote: Thanks Erik, almost worked! I am a mac user and for some reason View worked perfectly for my PC using friend, but doesn't for me. When I tried: > mat=matrix(1:10,ncol=2) > mat [,1] [,2] [1,]16 [2,]27 [3,]38 [4,]49 [5,]5 10

Re: [R] viewing data in something similar to 'R Data Editor'

2008-08-01 Thread Rachel Schwartz
Thanks Erik, almost worked! I am a mac user and for some reason View worked perfectly for my PC using friend, but doesn't for me. When I tried: > mat=matrix(1:10,ncol=2) > mat [,1] [,2] [1,]16 [2,]27 [3,]38 [4,]49 [5,]5 10 > View(mat) I get no error mes

Re: [R] viewing data in something similar to 'R Data Editor'

2008-08-01 Thread Erik Iverson
See ?View but I don't think it 'auto updates' per your last sentence. Maybe there's a better option? Rachel Schwartz wrote: Hi, I would like to view matrices I am working with in a clean, easy to read, separate window. A friend showed me how to do something like I want with edit(). I can vie

[R] viewing data in something similar to 'R Data Editor'

2008-08-01 Thread Rachel Schwartz
Hi, I would like to view matrices I am working with in a clean, easy to read, separate window. A friend showed me how to do something like I want with edit(). I can view the matrix in the 'R Data Editor': For a sample matrix: > mat=matrix(1:15,ncol=3) > mat [,1] [,2] [,3] [1,]16