title: Loading csv-files in sparkR
body: <p>In R I have created two datasets which I have saved as csv-files by </p>
  
  <pre><code>liste &lt;-write.csv(liste, file="/home/.../liste.csv", row.names=FALSE)
      data &lt;- write.csv(data, file="/home/.../data.csv", row.names=FALSE)
  </code></pre>
  
  <p>I now want to open these csv files in SparkR. So I type</p>
  
  <pre><code>liste &lt;- read.df(sqlContext, "/home/.../liste.csv", "com.databricks.spark.csv", header="true", delimiter= "\t")
  
  data &lt;- read.df(sqlContext, "/home/.../data.csv", "com.databricks.spark.csv", header="true", delimiter= "\t")
  </code></pre>
  
  <p>It turns out that the one dataset 'liste' is loaded successfully in SparkR, however, 'data' cannot be loaded for some strange reasons.</p>
  
  <p>'liste' is just a vector of numbers in R whereas 'data' is a data.frame I have loaded in R and removed some parts of the data.frame. SparkR gives me this error-message: </p>
  
  <blockquote>
    <p>Error: returnStatus == 0 is not TRUE</p>
  </blockquote>