RserveException: eval failed when running R on Databricks
<p>I don't have any experience with R and I'm trying to use it in a Databricks notebook together with Spark to analyse some data.</p>

<p>I have followed the tutorial from here <a href="http://people.apache.org/~pwendell/spark-releases/latest/sparkr.html" rel="noreferrer">http://people.apache.org/~pwendell/spark-releases/latest/sparkr.html</a></p>

<p>So far I have this code:</p>

<pre><code>sparkR.stop()
sc &lt;- sparkR.init()
sqlContext &lt;- sparkRSQL.init(sc)

df &lt;- createDataFrame(sqlContext, '/FileStore/tables/boanf7gu1466936449434/german.data')
</code></pre>

<p>On the last line I am getting the error:</p>

<pre><code>RserveException: eval failed, request status: error code: 127
org.rosuda.REngine.Rserve.RserveException: eval failed, request status: error code: 127
    at org.rosuda.REngine.Rserve.RConnection.eval(RConnection.java:234)
    at com.databricks.backend.daemon.driver.RShell.setJobGroup(RShell.scala:202)
    at com.databricks.backend.daemon.driver.RDriverLocal.setJobGroup(RDriverLocal.scala:150)
    at com.databricks.backend.daemon.driver.DriverLocal.execute(DriverLocal.scala:125)
    at com.databricks.backend.daemon.driver.DriverWrapper$$anonfun$3.apply(DriverWrapper.scala:483)
    at com.databricks.backend.daemon.driver.DriverWrapper$$anonfun$3.apply(DriverWrapper.scala:483)
    at scala.util.Try$.apply(Try.scala:161)
    at com.databricks.backend.daemon.driver.DriverWrapper.executeCommand(DriverWrapper.scala:480)
    at com.databricks.backend.daemon.driver.DriverWrapper.runInner(DriverWrapper.scala:381)
    at com.databricks.backend.daemon.driver.DriverWrapper.run(DriverWrapper.scala:212)
    at java.lang.Thread.run(Thread.java:745)
</code></pre>

<p>What triggers this?</p>