title: SparklyR removing a tbl from Spark Context
body: <p>Similar to: <a href="https://stackoverflow.com/questions/41025094/sparklyr-removing-a-table-from-spark-context">SparklyR removing a Table from Spark Context</a>, but different because:</p>
  
  <p>The above question asks how to remove a "table" from spark, here created by the <code>copy_to</code> function. If the <code>spark_read_csv()</code> function is used instead it appears that there is a difference in class.</p>
  
  <pre><code>my_csv &lt;- spark_read_csv("name", sc)
  db_drop_table(my_table)
  </code></pre>
  
  <p>returns:</p>
  
  <pre><code>Error in UseMethod("db_drop_table") : 
    no applicable method for 'db_drop_table' applied to an object of class "c('tbl_spark', 'tbl_sql', 'tbl_lazy', 'tbl')"
  </code></pre>
  
  <p>Which indicates further that the object created here is not a <code>table</code> but a <code>tbl</code>, Hadleys data type of choice. </p>
  
  <p>Therefore, how can I remove a specific <code>tbl</code> and only that <code>tbl</code> from the memory/session without exiting the full session?</p>
  
  <p>Bonus: is there a button in RStudio Server interface that I've missed that will perform this process for me? I can't see on obvious way to do this in the spark connection tab.</p>