Comments (4)
Hi @kuzmenkov111 , thanks for the report on this issue. Apparently, Microsoft R Open does not work well with the Makevars setting CXX_STD = CXX11
(see this issue on the Microsoft-R-Open repository. I checked and the issue is still there with R Open version 3.3.3. To work around the problem, one option is to manually change the Makevars file in the src directory and remove CXX_STD = CXX11
and add -std=c++11
to the PKG_CPPFLAGS
line (you can clone the fst
repo using git). After the Makevars change, fst
builds correctly using R CMD INSTALL fst
(running one level above the fst
repository).
The first 2 lines of Makevars should read (latest of branch develop):
PKG_CPPFLAGS = -std=c++11 -I. -Ifstcore -ILZ4 -IZSTD -IZSTD/common -IZSTD/decompress -IZSTD/compress -Ifstcore/logical -Ifstcore/integer -Ifstcore/double -Icharacter -Ifactor -Ifstcore/interface
PKG_LIBS = -L. -lLZ4 -lZSTD -lFRAME -lTYPES
Hope this works for you, it would be nice if Microsoft would solve this issue to be more compatible with the R toolchain (and update their compilers while they are at it :-))
from fst.
Thank you!!!! It works!
from fst.
Great, thanks for reporting the issue!
from fst.
Closing, as this is a confirmed bug in Microsoft R Open (see also eddelbuettel/rcppbdt#3 (comment) and the remarks from @eddelbuettel)
from fst.
Related Issues (20)
- wrong forum
- Problem with windows file names encoding
- Progress bar when read/write HOT 1
- fst 0.9.4 package load fails with Rcpp 1.0.6 in R 4.1.0 (but not in R 4.0.5 or with Rcpp 1.0.7) HOT 1
- OpenMP not detected Mac 12 (Monterey) M1 (ARM) Mac HOT 17
- How to extract contents from a fst file when R crashes reading it HOT 2
- mac os, apple M1 installation guide should be updated to include the paths of homebrew installed libomp when using xcode-select c++ compiler HOT 1
- Convert `sql` query from BigQuery to `fst` format HOT 1
- Integer64 still remains numeric upon opening with read_fst HOT 9
- Binaries through r-universe HOT 1
- Chunkwise support for `read.fst`? HOT 3
- R crashes while reading an fst file HOT 15
- attributes are not saved HOT 1
- Unable to save embedded lists
- Can `read_fst` use a filter condition beforehand? HOT 1
- Big-endian seems to work: maybe remove misleading requirement on CRAN? HOT 3
- Why is the first read slower? HOT 2
- Compression rate to minimize reading time? HOT 2
- relatively new install issue HOT 7
- write_fst Seems To Skip Small Tables When Writing In A for Loop HOT 3
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 fst.