SparkR Error in sparkR.init(master=“local”) in RStudio

后端 未结 4 1994
终归单人心
终归单人心 2021-01-12 13:29

I have installed the SparkR package from Spark distribution into the R library. I can call the following command and it seems to work properly: library(SparkR)<

4条回答
  •  我在风中等你
    2021-01-12 14:02

    I got the exact same error message. My case is a little bit different, as in I have run SparkR in RStudio successfully before. But after few days, it doesn't work anymore.

    By looking at the conversion between Shivaram Venkataraman and Prakash Ponshankaarchinnusamy, I realized this may have something to do with running permission.

    https://issues.apache.org/jira/browse/SPARK-8603

    So what I did, which eventually works, is that, I unzip the spark tar.gz to my C:/ folder again (previously it is kept in D:/ drive) AND SparkR WORKS!!!

    screenshot of working RStudio

提交回复
热议问题