Bernd Ebersberger
2003-May-09 08:34 UTC
[R] windows data editor changes dimensions displayed data frames
dear R-tists, i am experiencing a problem with the data editor in the windows version of R 1.6.1 envoked with the command 'fix'. the data editor changes the size of large data frames. a simple example illustrates this: ------------------------------------------------------- > dfrm <- data.frame(no=c(1:100000)) > length(dfrm[,1]) [1] 100000 > fix(dfrm) > length(dfrm[,1]) [1] 34464 -------------------------------------------------------- does anybody have a quick remedy for this? i am not sure whether it is worth putting much developmental effort in solving this particular problem. however, i believe that one should be aware of it when working with large data sets. greetings from the northern edge of europe. bernd.
Duncan Murdoch
2003-May-09 11:05 UTC
[R] windows data editor changes dimensions displayed data frames
On Fri, 09 May 2003 11:34:08 +0300, Bernd Ebersberger <bernd.ebersberger at vtt.fi> wrote:>dear R-tists, > >i am experiencing a problem with the data editor in the windows version of >R 1.6.1 envoked with the command 'fix'. > >the data editor changes the size of large data frames.I can confirm this in the current R-patched. I'll take a look. It might be that some limitation to the code means you won't be able to edit big data frames (it looks like somewhere it's using a 16 bit row count), but it certainly shouldn't silently change things. Duncan Murdoch>a simple example illustrates this: > >------------------------------------------------------- > > > dfrm <- data.frame(no=c(1:100000)) > > length(dfrm[,1]) > >[1] 100000 > > > fix(dfrm) > > > length(dfrm[,1]) > >[1] 34464 > >-------------------------------------------------------- > > >does anybody have a quick remedy for this? > >i am not sure whether it is worth putting much developmental effort in >solving this particular problem. > >however, i believe that one should be aware of it when working with large >data sets. > > >greetings from the northern edge of europe. > >bernd.