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 Intermountain Healthcare [EMAIL PROTECTED] 801.408.8111 > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > project.org] On Behalf Of thoeb > Sent: Wednesday, November 19, 2008 7:03 AM > To: r-help@r-project.org > Subject: [R] selection list > > > Hello! I want to create a command for choosing input parameters via a > new > 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 > should > 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- > tp20580397p20580397.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting- > guide.html > and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.