Remove column names in a DataFrame
<p>In sparkR I have a DataFrame <code>data</code>.
When I type <code>head(data)</code> we get this output</p>

<pre><code>  C0      C1               C2         C3
1 id user_id foreign_model_id machine_id 
2  1   3145                4         12 
3  2   4079                1          8 
4  3   1174                7          1    
5  4   2386                9          9    
6  5   5524                1          7
</code></pre>

<p>I want to remove <code>C0,C1,C2,C3</code> because they give me problems later one. For example when I use the <code>filter</code>     function:</p>

<pre><code>filter(data,data$machine_id==1)
</code></pre>

<p>can't run because of this. </p>

<hr>

<p>I have read the data like this</p>

<pre><code>data &lt;- read.df(sqlContext, "/home/ole/.../data", "com.databricks.spark.csv")
</code></pre>