[RkWard-devel] Distribution plots done

Thomas Friedrichsmeier thomas.friedrichsmeier at ruhr-uni-bochum.de
Wed Feb 7 12:42:27 UTC 2007


On Tuesday 06 February 2007 22:18, Prasenjit Kapat wrote:
> > The current meaning is this: unchecked -> quote the given string; checked
> > -> do not quote (and hence let R parse this). Maybe the label
> > "expression" is a bit misleading. Do you have a suggestion?
>
> I already sent a reply in different mail. Just another thought here.
> May be a checkbox saying "Quoted string" which is checked by default ?

Yes, this sounds good. I changed it accordingly.

> > - Remove all "max_precision"-attributes from the spinboxes. This
> > parameter used to limit the maximum value selectable (and the real number
> > had to be mapped to an integer divided by a constant), but it's mostly
> > obsolete in the upcoming version. It should no longer be used, unless
> > there is a good reason to limit the maximum precision the user can enter.
>
> Didn't know that it wsa going to be obsolete. Anyway it doesn't matter.

You didn't have much of a chance of knowing. I changed this only a few days 
ago. (Background: The spinbox provided by Qt internally works on integer 
numbers, only. Therefore, to implement an real number spinbox, the easiest 
approach is to simply divide the internal value by a fixed divisor. However, 
this limits the numbers to a rather small range. For instance, if you provide 
six decimal places, you have to divide by 100000. The maximum signed (32bit) 
integer is roughly 2.1 billion, so this will limit the range from -21000 to 
+21000. Hence, there's always a trade-off between precision and range in this 
approach, and the max_precision parameter was used to tweak that tradeoff. 
Now, I finally had an idea for a good different approach, that is not limited 
in this way.)

Regards
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/rkward-devel/attachments/20070207/89f9f738/attachment.sig>


More information about the Rkward-devel mailing list