Skip to content

Instantly share code, notes, and snippets.

@farrellm
Last active August 29, 2015 13:59
Show Gist options
  • Save farrellm/10990071 to your computer and use it in GitHub Desktop.
Save farrellm/10990071 to your computer and use it in GitHub Desktop.
Implementation of writecsv for DataFrames; for use with Org/Babel
import Base.writecsv
function writecsv(filename, a::AbstractDataFrame; opts...)
writetable(filename, a)
end
#+BEGIN_SRC julia :colnames yes
using RDatasets
dataset("datasets","Formaldehyde")
#+END_SRC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment