[jira] [Commented] (SPARK-14692) Error While Setting the path for R front end
[ https://issues.apache.org/jira/browse/SPARK-14692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15810754#comment-15810754 ] Felix Cheung commented on SPARK-14692: -- closing. let us know if this is still an issue. thanks > 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
[jira] [Commented] (SPARK-14692) Error While Setting the path for R front end
[ https://issues.apache.org/jira/browse/SPARK-14692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15331613#comment-15331613 ] Dongjoon Hyun commented on SPARK-14692: --- Hi, [~nmolkeri]. It seems that you just needed `Sys.setenv(SPARK_HOME="/Users/yourid/spark")` at the first line at that time. It's a little bit old issue. If there is no further comments, I think we had better close this. > 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
[jira] [Commented] (SPARK-14692) Error While Setting the path for R front end
[ https://issues.apache.org/jira/browse/SPARK-14692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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
[jira] [Commented] (SPARK-14692) Error While Setting the path for R front end
[ https://issues.apache.org/jira/browse/SPARK-14692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15248363#comment-15248363 ] Shivaram Venkataraman commented on SPARK-14692: --- I think SparkR might not have been built ? Is this from cloning the source code or from downloading a release. Also please note that JIRA issues are typically used to track development of features / bugs and this question is more suited to the spark users mailing list http://spark.apache.org/community.html > 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