Unable to launch SparkR in RStudio

前端 未结 7 1039
一向
一向 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:18

    I had the same issue and my spark-submit.cmd file was also not executing from the command line. Following steps worked for me

    Go to your environment variables and in the system variables select variable name PATH. Along with other values add c:/Windows/System32/ separated by a semicolon. This made my spark-submit.cmd run from command line and eventually from the Rstudio.

    I have realized that we get the above issue only if all the required path values are not specified. Ensure all your path values(R, Rtools) are specified in the environment variables. For instance my Rtools path was c:\Rtools\bin;c:\Rtools\gcc-4.6.3\bin

    I hope this helps.

提交回复
热议问题