source("mycode.R") On Thursday 23 October 2003 15:29, Subramanian Karthikeyan wrote: > Is there a way I can combine multiple lines of R commands (see below) into > a little code snippet or a program in a text file, and run it in R to do my > analysis? > > sink("mysink.txt") > for (......) { > code for creating a dataframe from supplied data > code for doing anova from selected data > } > > Thanks very much. > > Karth. > > ______________________________________________ > [EMAIL PROTECTED] mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help
-- Arne Henningsen Department of Agricultural Economics Christian-Albrechts-University Kiel 24098 Kiel, Germany Tel: +49-431-880-4445 Fax: +49-431-880-1397 [EMAIL PROTECTED] http://www.uni-kiel.de/agrarpol/ahenningsen/ ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help