Skip to content

Instantly share code, notes, and snippets.

@jasdumas
Created September 8, 2016 18:40
Show Gist options
  • Save jasdumas/6108a1884ab928e7b949eec2df333d5f to your computer and use it in GitHub Desktop.
Save jasdumas/6108a1884ab928e7b949eec2df333d5f to your computer and use it in GitHub Desktop.

Directions to install feather on a Windows 7 (64 bit) machine

  1. upgrade to 3.3.0 R: as directed from the original announcement post "Feather uses C++11, so if you’re on windows, you’ll need the new gcc 4.93 toolchain. (All going well this will be included in R 3.3.0, which is scheduled for release on April 14. We’ll aim for a CRAN release soon after that)."

  2. install.packages("feather"); library(feather)

  3. write_feather(df, path) in R:
    this took less than 2 minutes to write a ~0.5 Gb file, where as readr::write_csv was stopped yesterday after writing 0.1 Gb in 2 hours (I had to go home)

  4. pip install feather-format in windows command line (cmd) error: Unable to find vcvarsall.bst

    • search stackoverflow
    • download Microsoft Visual C++ Compiler Build tools [http://landinghub.visualstudio.com/visual-cpp-build-tools]
    • restart computer
    • run commands from the Visual C++ Build Tools Command Prompt (C:\Program Files (x86)\Microsoft Visual C++ Build Tools) each time you want compile with Python.
    • pip install --upgrade cython
    • error: Failing building wheel for feather-format
    • Download a zip copy from github.com/wesm/feather
      • drag the python folder to the site package folder for Anaconda (../AppData\Local\Continuum\Anaconda3\Lib\site-packages); rename it feather-format
  • TBD in progress
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment