[Rcpp-commits] r814 - scripts
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Mon Mar 1 22:40:36 CET 2010
Author: edd
Date: 2010-03-01 22:40:36 +0100 (Mon, 01 Mar 2010)
New Revision: 814
Added:
scripts/runExamples.sh
Log:
new helper script to run what can bu run
Added: scripts/runExamples.sh
===================================================================
--- scripts/runExamples.sh (rev 0)
+++ scripts/runExamples.sh 2010-03-01 21:40:36 UTC (rev 814)
@@ -0,0 +1,46 @@
+#!/bin/bash
+
+function runConvolveBennchmark {
+ cd Rcpp/inst/examples/ConvolveBenchmarks
+ ./buildAndRun.sh
+ cd -
+}
+
+function runFastLM {
+ cd Rcpp/inst/examples/FastLM
+ ./benchmark.r
+ cd -
+}
+
+function runFunctionCallback {
+ cd Rcpp/inst/examples/functionCallback
+ ./buildAndRun.sh
+ ./newApiExample.r
+ cd -
+}
+
+function runRcppInline {
+ cd Rcpp/inst/examples/RcppInline
+ ./external_pointer.r
+ ./RcppInlineExample.r
+ ./RcppInlineWithLibsExamples.r
+ ./RcppSimpleExample.r
+ ./RcppSimpleTests.r
+ ./RObject.r
+ ./UncaughtExceptions.r
+ cd -
+}
+
+function runRInsideExamples {
+ cd ../../rinside/pkg/inst/examples/standard
+ make
+ make runAll
+ cd -
+}
+
+#runConvolveBennchmark
+#runFastLM
+#runFunctionCallback
+#runRcppInline
+
+runRInsideExamples
\ No newline at end of file
Property changes on: scripts/runExamples.sh
___________________________________________________________________
Name: svn:executable
+ *
More information about the Rcpp-commits
mailing list