Mac OSX 10.7.5,可以在终端运行Rscript:
Mac-mini lenskit-demo$ rscript --version
R scripting front-end version 3.0.1 (2013-05-16)
但是不能通过eclipse运行它:
[INFO] 22:28:16.672 o.g.l.eval.EvalTarget: beginning execution of analyze
[INFO] 22:28:16.672 o.g.l.eval.EvalProject: running task exec
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:26.859s
[INFO] Finished at: Mon Sep 16 22:28:17 CST 2013
[INFO] Final Memory: 8M/123M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.grouplens.lenskit:lenskit-eval-maven-plugin:2.0-M1:run-eval (default-run-eval) on project lenskit-demo: Execution default-run-eval of goal org.grouplens.lenskit:lenskit-eval-maven-plugin:2.0-M1:run-eval failed: Execute failed: java.io.IOException: Cannot run program "Rscript": error=2, No such file or directory -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
拜托,有人可以告诉我如何解决这个问题?