spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From felixcheung <...@git.apache.org>
Subject [GitHub] spark pull request #14980: [SPARK-17317][SparkR] Add SparkR vignette
Date Thu, 08 Sep 2016 04:18:43 GMT
Github user felixcheung commented on a diff in the pull request:

    https://github.com/apache/spark/pull/14980#discussion_r77943873
  
    --- Diff: R/create-docs.sh ---
    @@ -43,4 +45,7 @@ Rscript -e 'libDir <- "../../lib"; library(SparkR, lib.loc=libDir);
library(knit
     
     popd
     
    +# render creates SparkR vignettes
    +Rscript -e 'library(rmarkdown); Sys.setenv(SPARK_HOME=tools::file_path_as_absolute(".."));
render("pkg/vignettes/sparkr-vignettes.Rmd")'
    --- End diff --
    
    you could also set libPaths https://stat.ethz.ch/R-manual/R-devel/library/base/html/libPaths.html
    so a simple `library(SparkR)` later in the .Rmd will work


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Mime
View raw message