
I would like to execute a python script from R and receive the stdout in R.  I have windows xp and R 2.14.2. The test.py script should print "hello", it does work in cmd. Here is a couple tries, thanks for any suggestions!John
> system('cmd test.py', intern = TRUE)[1] "Microsoft Windows XP [Version 5.1.2600]"                                                        [2] "(C) Copyright 1985-2001 Microsoft Corp."                                                        [3] ""                                                                                               [4] "C:\\Documents and Settings\\HP_Administrator.-1\\My Documents\\Dropbox\\Cluster Re-Run>"
> system('cmd test.py')Microsoft Windows XP [Version 5.1.2600](C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\HP_Administrator.-1\My Documents\Dropbox\Cluster Re-Run>> system('test.py')> 
 		 	   		  
	[[alternative HTML version deleted]]

