A simple example follows.  The file is called Test.R
# Example
rm(list=is(all=TRUE))
cat("Enter file name")
fn<-scan(what="")

I execute the following:
@C:\PROGRA~1\R\R-2.4.1\bin\Rterm.exe --no-restore --no-save < Test.R > Rout.txt

I do not see the "Enter file name" or have the opportunity to enter the file name.  I am running R in windows XP.

Thanks for your help.

John H Schuenemeyer
Southwest Statistical Consulting, LLC
960 Sligo St
Cortez, CO 81321-2558

Phone: 970.565.0179

URL: www.swstatconsult.com
	[[alternative HTML version deleted]]

