[R] selection list
Greg.Snow at imail.org
Wed Nov 19 17:59:10 CET 2008
One simple way would be to just use the edit function:
> mydata <- edit( data.frame( param1=numeric(0), param2=numeric(0), param3=numeric(0) ) )
> write.table(mydata, 'myfile')
A little more fancy interface could come from using the tkexamp function in the TeachingDemos package (with wait=TRUE). Or you can create your own gui using the tcltk package or several others.
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
greg.snow at imail.org
> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of thoeb
> Sent: Wednesday, November 19, 2008 7:03 AM
> To: r-help at r-project.org
> Subject: [R] selection list
> Hello! I want to create a command for choosing input parameters via a
> window that shows a table in which the parameters can be written in. R
> should open a seperate window in which the user is asked to put in some
> values (just numbers), afterwards a new file containing these values
> be created and saved in the working directory.
> Does anybody how I can solve that problem and which package I need?
> View this message in context: http://www.nabble.com/selection-list-
> Sent from the R help mailing list archive at Nabble.com.
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help