Skip to content
Back to formatted view

Raw Message

Message-ID: <49FF4E43.7070407@bht-berlin.de>
Date: 2009-05-04T20:21:23Z
From: Ulrike Grömping
Subject: [R-gui] Simple way to ask user for text string with R-commander plugin ?
In-Reply-To: <B37C0A15B8FB3C468B5BC7EBC7DA14CC61D19A18B6@LP-EXMBVS10.CO.IHC.COM>

Greg Snow schrieb:
> Can you show some minimal code showing what you have tried?
>
> One possibility is that you are not waiting for the pop-up box to close but returning the (empty) string value immediately, but there could be others.  Some code would help us to help you.
>
>   
Greg,

thanks for the offer, I hope it holds up for my next more difficult 
question :-)
With this one, I've now resorted to initializing the string to NULL, so 
that I get a NULL returned if the user cancels. So this question can be 
considered solved. (I just thought that I must have overlooked a 
standard input box widget, it seems like such a frequently-needed thing.)

Now, I'm stuck with this next topic, and I'll send that one to the list 
in a few minutes. I think that that one is more difficult, but hope that 
this list's expertise may have the right pointer for me.

Regards, Ulrike