[R] Scrolling behavior in View()

Duncan Murdoch murdoch at stats.uwo.ca
Mon Jun 8 03:24:35 CEST 2009


On 07/06/2009 9:50 AM, Jose Quesada wrote:
> Hi,
> 
> I've realized that the scrolling behavior in View() is unlike most other
> applications. It seems that the minimum scroll size is very large for
> large objects( i.e., a vector of 1M integers), and it might be that this
> scroll is proportional to the size of the object.
> Try this:
> a = 1:1000000
> View(a)
> Click once on the scroll arrow down. It will move to item 1001.
> 
> It could be that the scroll size is 1/1000 object length.
> 
> If this is so, it's a bit of a problem, since there's no way to View say
> cell 500... unless one does a View(head(a, 500)), which kind of defeats
> the point of view.
> 
> Is this behavior by design? If so, wouldn't it be better to make it
> optional (as it breaks GUI conventions of mostly any OS for scrolling
> behavior)? An argument for view to turn this off would be great.

This should be fixed now.  Please try R-patched dated June 8 or later, 
and let me know if there are any more problems.

Duncan Murdoch




More information about the R-help mailing list