[RkWard-devel] Object Viewer modification
Prasenjit Kapat
kapatp at gmail.com
Fri Mar 30 01:10:15 UTC 2007
Hi,
I would like to suggest a modification to robjectviewer.cpp. Instead of the
following line:
RCommand *command = new RCommand ("print (" + object->getFullName () + ')',
RCommand::App, QString::null, this);
use:
RCommand *command = new RCommand ("rk.temp.wd = getOption (\"width\");
options (width=10000); print (" + object->getFullName () + "); options
(width=rk.temp.wd)", RCommand::App, QString::null, this);
Having a fixed width on Console makes sense. But when viewing a big matrix
being restricted by the width of 80 sucks. Moreover we have both sides
scrolls, so why not allow this? 10000 is the max supported by runtime R. Does
changing width option using the cpp file change it also in the RConsole? If
not, then we can just forget about rk.temp.wd.
Regards
PK
More information about the Rkward-devel
mailing list