Comments (1)
Here is a solution I found at the end:
devtools::install_github("tidyverse/tibble", force = TRUE)
The problem lies in updated code for 'read_feather' function. It now using 'as_tibble' function. By updating 'tibble' package this starts working fine.
Here is the code of 'read_feather' in new version:
tibble: 3.1.0 - feather: 0.3.5 - read_feather
function (path, columns = NULL)
{
data <- feather(path)
on.exit(close(data), add = TRUE)
if (is.null(columns))
as_tibble(data)
else as_tibble(data[columns])
}
Here is the code of 'read_feather' in previous version:
tibble: 3.0.1 - feather: 0.3.5 - read_feather
function (file, col_select = NULL, as_data_frame = TRUE, ...)
{
reader <- FeatherTableReader$create(file, ...)
all_columns <- ipc___feather___TableReader__column_names(reader)
col_select <- enquo(col_select)
columns <- if (!quo_is_null(col_select)) {
vars_select(all_columns, !!col_select)
}
out <- reader$Read(columns)
if (isTRUE(as_data_frame)) {
out <- as.data.frame(out)
}
out
}
from feather.
Related Issues (20)
- Incompatibility with tibble>=2.0.0 HOT 4
- Read file in "feather" format by command "View" HOT 2
- Disable test for UTF-8 filenames on windows
- Reading/writing fails for large data.frames HOT 5
- Support for set/list columns in python HOT 2
- "cannot serialize duplicate column names" HOT 2
- Is it possible to save feather file in compressed zip format? HOT 6
- Should feather::read_feather respect options(stringsAsFactors = FALSE)? HOT 3
- In R, Feather cannot read dataframe back if missing or having empty column header HOT 2
- [Feature request] allow datetime index HOT 3
- python feather-format 0.4.0 is incompatible with pyarrow 0.17.0: ImportError FeatherError FeatherReader FeatherWriter HOT 3
- feather installation failed with "big endian" issue HOT 3
- Reading feather HOT 1
- Another CRAN release needed: not compatible with arrow HOT 2
- where are the docs? HOT 1
- how to inspect metadata?
- pyarrow.lib.ArrowTypeError: Expected bytes, got a 'dict' object
- Support for Big-endian?
- how can I write file as a+ mode?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from feather.