From e095333508a28cf024925610fb127e1f05b3eec2 Mon Sep 17 00:00:00 2001 From: "wm624@hotmail.com" Date: Wed, 29 Mar 2017 14:40:59 -0700 Subject: [PATCH 1/2] simple fix --- .gitignore | 2 ++ examples/src/main/r/RSparkSQLExample.R | 3 +++ examples/src/main/r/dataframe.R | 3 +++ 3 files changed, 8 insertions(+) diff --git a/.gitignore b/.gitignore index 1d91b43c23fa..a75ddccd21fa 100644 --- a/.gitignore +++ b/.gitignore @@ -25,6 +25,8 @@ R-unit-tests.log R/unit-tests.out R/cran-check.out R/pkg/vignettes/sparkr-vignettes.html +R.Rcheck/ +testthat.Rcheck/ build/*.jar build/apache-maven* build/scala* diff --git a/examples/src/main/r/RSparkSQLExample.R b/examples/src/main/r/RSparkSQLExample.R index e647f0e1e9f1..3734568d872d 100644 --- a/examples/src/main/r/RSparkSQLExample.R +++ b/examples/src/main/r/RSparkSQLExample.R @@ -15,6 +15,9 @@ # limitations under the License. # +# To run this example use +# ./bin/spark-submit examples/src/main/r/RSparkSQLExample.R + library(SparkR) # $example on:init_session$ diff --git a/examples/src/main/r/dataframe.R b/examples/src/main/r/dataframe.R index 82b85f2f590f..311350497f87 100644 --- a/examples/src/main/r/dataframe.R +++ b/examples/src/main/r/dataframe.R @@ -15,6 +15,9 @@ # limitations under the License. # +# To run this example use +# ./bin/spark-submit examples/src/main/r/dataframe.R + library(SparkR) # Initialize SparkSession From 5460e78b3907a0ce6f8983bd4dcc83d02acc2b2d Mon Sep 17 00:00:00 2001 From: "wm624@hotmail.com" Date: Wed, 29 Mar 2017 15:33:12 -0700 Subject: [PATCH 2/2] revert ignore --- .gitignore | 2 -- 1 file changed, 2 deletions(-) diff --git a/.gitignore b/.gitignore index a75ddccd21fa..1d91b43c23fa 100644 --- a/.gitignore +++ b/.gitignore @@ -25,8 +25,6 @@ R-unit-tests.log R/unit-tests.out R/cran-check.out R/pkg/vignettes/sparkr-vignettes.html -R.Rcheck/ -testthat.Rcheck/ build/*.jar build/apache-maven* build/scala*