[ https://issues.apache.org/jira/browse/SPARK-14692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15248557#comment-15248557 ]
Felix Cheung commented on SPARK-14692: -------------------------------------- is Sys.getenv("SPARK_HOME") valid? > Error While Setting the path for R front end > -------------------------------------------- > > Key: SPARK-14692 > URL: https://issues.apache.org/jira/browse/SPARK-14692 > Project: Spark > Issue Type: Bug > Components: SparkR > Affects Versions: 1.6.1 > Environment: Mac OSX > Reporter: Niranjan Molkeri` > > Trying to set Environment path for SparkR in RStudio. > Getting this bug. > > .libPaths(c(file.path(Sys.getenv("SPARK_HOME"), "R", "lib"), .libPaths())) > > library(SparkR) > Error in library(SparkR) : there is no package called ‘SparkR’ > > sc <- sparkR.init(master="local") > Error: could not find function "sparkR.init" > In the directory which it is pointed. There is directory called SparkR. I > don't know how to proceed with this. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org