Re: [R] Suggestions for inputting a date via a dialog box?

2009-01-01 Thread Gabor Grothendieck
Try this: library(fgui) gui(function(year, month, day) as.Date(paste(year, month, day, sep = -))) On Thu, Jan 1, 2009 at 3:33 PM, Tubin sredmon...@yahoo.com wrote: For this particular situation, a dialog box with separate entry for month, day, and year might be the best solution. Thanks.

[R] Suggestions for inputting a date via a dialog box?

2008-12-31 Thread Tubin
I've written a program which will be run by someone who isn't an R programmer and isn't all that computer-savvy in general. The user starts the program and is prompted to input various information such as location of data files. I've used the Sciviews svDialogs package for this with good

Re: [R] Suggestions for inputting a date via a dialog box?

2008-12-31 Thread Gabor Grothendieck
Rpad can offer the user a calendar from which they choose a date. From the main Rpad page try the Weather Explorer demo for an example: http://www.rpad.org On Wed, Dec 31, 2008 at 4:33 PM, Tubin sredmon...@yahoo.com wrote: I've written a program which will be run by someone who isn't an R

Re: [R] Suggestions for inputting a date via a dialog box?

2008-12-31 Thread Tubin
Hm. This looks like a fantastic package in general... but for this particular project I would rather not have to redo the entire program to run in Rpad. And it is not immediately evident that I could use Rpad just for the function of getting values for a couple of date variables... Or have I

Re: [R] Suggestions for inputting a date via a dialog box?

2008-12-31 Thread Gabor Grothendieck
You would at least have to redo the front end. On Wed, Dec 31, 2008 at 5:11 PM, Tubin sredmon...@yahoo.com wrote: Hm. This looks like a fantastic package in general... but for this particular project I would rather not have to redo the entire program to run in Rpad. And it is not

Re: [R] Suggestions for inputting a date via a dialog box?

2008-12-31 Thread Barry Rowlingson
2008/12/31 Tubin sredmon...@yahoo.com: Hm. This looks like a fantastic package in general... but for this particular project I would rather not have to redo the entire program to run in Rpad. And it is not immediately evident that I could use Rpad just for the function of getting values for