[R] Scrolling behavior in View()

Jose Quesada quesada at gmail.com
Sun Jun 7 15:50:56 CEST 2009


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.

Thanks!

Best,
-Jose

-- 
Jose Quesada, PhD.
Max Planck Institute,
Center for Adaptive Behavior and Cognition -ABC-, 
Lentzeallee 94, office 224, 14195 Berlin
http://www.josequesada.name/




More information about the R-help mailing list