[R] select.list() cannot be used non-interactively

From: Fabio Fanoni <fabiofanoni_at_hotmail.com>
Date: Tue, 01 Jul 2008 17:03:20 +0200

Hi. With the previous version of R, it was possible to execute the function 'select.list()' in BATCH mode. In this way, I could write my R code in a .R file and execute that with a double click on a .bat file, that contain the instruction tu run my R code in batch mode (R CMD BATCH myRcode.R). When I do that, a windows appear and I just have to select an item from the list. Now I've installed the version 2.6.2 and this function is fobidden with this error message in the .Rout file:  

type<-select.list(list=c("Type 1","Type 2","Type 3")) Error in select.list(list = c("Type 1", "Type 2", "Type 3"): select.list() cannot be used non-interactivelyExecution halted  

How can I solve my problem?
winDialog and winDialogString work correctly!  

Many thanks!  


        [[alternative HTML version deleted]]

R-help_at_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. Received on Tue 01 Jul 2008 - 15:52:21 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 03 Jul 2008 - 12:31:52 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive