Github user shivaram commented on a diff in the pull request:
https://github.com/apache/spark/pull/6668#discussion_r31832789
--- Diff: examples/src/main/r/0-getting-started.R ---
@@ -0,0 +1,23 @@
+#
+# Author: Daniel Emaasit (@emaasit)
+# Purpose: This script shows how to install SparkR onto your workstation/PC
+# and initialize a spark context and a SparkSQL context
+# Date: 06/05/2015
+#
+
+
+# Install SparkR from CRAN
+install.packages("SparkR")
--- End diff --
In the case of these example files we will be assuming the user has
installed Spark through some method (say from
http://spark.apache.org/downloads.html). So we can just include the package as
`library(SparkR)` and avoid the installation steps.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]