Look at ?readline for input from the user. For reading Excel files, a good place to start would be page 26 of the manual: http://cran.r-project.org/doc/manuals/R-data.pdf
-- Robert Tirrell | r...@stanford.edu | (607) 437-6532 Program in Biomedical Informatics | Butte Lab | Stanford University On Sat, Feb 26, 2011 at 22:11, Bert Gunter <gunter.ber...@gene.com> wrote: > Are you a fan of James Joyce? Is the Caps key on your keyboard broken? > > -- Bert > > On Sat, Feb 26, 2011 at 10:09 AM, tsvi sabo <tsvis...@yahoo.com> wrote: > > Hi,i would like to know what is the best way to write a procedure in R,it > seems that when i run a script it doesn't wait for previouse code lines to > be excuted,i would like to know how to force R to hold on a code line until > it is processed,for example:i want to choose from a list the name of the > sheet in which to do an analisys,then i want to run a goodness of fit test > for the data on that chosen sheet,how can i do that?and if it is not too > much i have couple more questions,1. how to retrieve the names of excel's > file sheets to an array ?2. how to retrieve the names of excel's Sheet > columns names to an array ? > > thanks a lot,Tsvi Sabo > > > > > > > > [[alternative HTML version deleted]] > > > > > > ______________________________________________ > > 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. > > > > > > > > -- > Bert Gunter > Genentech Nonclinical Biostatistics > > ______________________________________________ > 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. > [[alternative HTML version deleted]] ______________________________________________ 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.