Unable to launch SparkR in RStudio

前端 未结 7 1000
一向
一向 2021-02-19 07:52

After long and difficult installation process of SparkR i getting into new problems of launching SparkR.

My Settings

R 3.2.0    
RStudio 0.98.1103    
Rt         


        
7条回答
  •  半阙折子戏
    2021-02-19 08:43

    The following solution will work for Mac OS.

    After installing Hadoop followed by Spark.

    spark_path <- strsplit(system("brew info apache-spark",intern=T)[4],' ')[[1]][1] # Get your spark path .libPaths(c(file.path(spark_path,"libexec", "R", "lib"), .libPaths())) library(SparkR

提交回复
热议问题