The following command, issued from the DOS command prompt (running Windows 
XP), produces the intended result of a .csv file created by program.R:

?c:\program files\R\R-2.8.0\bin\Rterm.exe? --save < "c:\TEMP\program.R"

However, when I create a file called Rbatch.bat that contains exactly the 
line above, and try to execute it (by double clicking or via the Shell 
command
in an Excel macro), nothing happens.

Does anyone have an explanation, or any suggestions as to how to run an R 
program from within an Excel macro? (PS: I know about RExcel, can't quite 
get it to install
correctly.)

Much appreciated.



Joe Boyer
Statistical Sciences 
Renaissance Bldg 510, 3233-D
Mail Stop RN0320
8-275-3661
cell: (610) 209-8531
	[[alternative HTML version deleted]]


