[RkWard-devel] plugin input field

Stefan Rödiger stefan_roediger at gmx.de
Mon Feb 27 19:46:11 UTC 2006


Thomas Friedrichsmeier wrote:
> Hi Stefan,
>
>   
>> a new question here for "my" distribution plug-ins. Is there something
>> so far that I can use to enter values accept the varselctor way in a
>> field e.g.? I stumbled over <forumla .../> but this doesn't seem to be
>> the right way because I guess you designed it just for formulas.
>>     
>
> not quite sure, what exactly you would like to see. One fairly easy 
> possibility would be to simply allow free-text entries in the varslot (ok, 
> it's not quite as simple to code this as it may seem, but it's certainly 
> feasible). Expert users could then simply enter plain R syntax like "c (1, 2, 
> 3, 4)" instead of choosing an object from the varselector.
> If you're looking for something more sophisticated, to help the newbie user as 
> well, then I'm afraid, I have no good idea, what this could look like. If you 
> have something specific in mind, could you outline your ideas?
>
>   
>> And how can I load a package (r2html) automatically each time I run RKWard?
>>     
>
> By filing a wishlist item ;-) Well, seriously, there's no support for this, 
> yet, but I have two changes in mind, which would add that possibility. For 
> one thing, I'll probably add the option to source some plain R commands on 
> startup. Another thing is that the package selection/installation dialog 
> should probably be redesigned completely. Then it might also be a good idea 
> to add a "preload" checkbox for all packages.
> However, neither plan is at the top of my priorities at the moment.
>
> BTW, from the screenshot you sent, it looks like you've already created an 
> impressive number of plugins. Maybe you could put what you have so far in a 
> tar.gz and send it to the list. Then we could try out all the neat new 
> plugins, even if some may not be quite finished, yet.
>
> Regards
> Thomas
>   
To sum it up. A "simple" field to enter some text is not easy. Using a 
varslot would be the way to go if I want to use more than one value. 
This are bad news. @Thomas. To explain what I want just start Rcmdr and 
try the distributions (probabilities) and you will see what I mean. My 
way allows only one value (done by spinboxes).
About the package issue do I need to fill it in wish-list or will you 
keep it in mind?
I'll will sent the plug-ins within the next one and a half week to you. 
Since my work is still for from professional I need some time to fix. 
The plotting of the distributions is not yet implemented and as 
mentioned only one value is given as output (unfortunately). Moreover 
all is still simple in comparison to the existing plug-ins. Using if 
then else constructions is still "to advanced" for me (I make to many 
mistakes).
And I need to test them before I sent them away. Some of the "code" was 
done by real dirty copy and paste from a similar plug-in. I added some 
further screens hots to show how simple all is.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: F probability.png
Type: image/png
Size: 74476 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/rkward-devel/attachments/20060227/71e32bd6/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Quantile.png
Type: image/png
Size: 62001 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/rkward-devel/attachments/20060227/71e32bd6/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stefan_roediger.vcf
Type: text/x-vcard
Size: 209 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/rkward-devel/attachments/20060227/71e32bd6/attachment.vcf>


More information about the Rkward-devel mailing list