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
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.