You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (JIRA)" <ji...@apache.org> on 2016/06/15 12:17:09 UTC

[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&focusedCommentId=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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org