2013-08-01 62 views

回答

7

在VBA中,您可以調用任何命令行程序,因此您可以在批處理模式下調用R.

Call Shell("R --vanilla scriptfile.R outputfile.txt")