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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to