Comments (2)
At the moment, separation between tokens is handled by the sep
char
. This is not enough for what you request as in this case sep
would be one of the allowed white space characters (space, tab), perhaps sep can be a string instead of a char
.
However, I would not want to pay for pointer indirection in cases where I know there is only one sep character.
I think what I'll do is add a template parameter to the Source
template class, which would control the behavior of token separation. Similar to the LinePolicy
.
from readr.
That seems reasonable to me - maybe LinePolicy
and FieldPolicy
?
from readr.
Related Issues (20)
- Add decor to suggests? HOT 1
- read_csv unnecessarily renames column when dots in column names HOT 2
- `read_csv` crashed R session while `read.csv` or `fread` did not
- Use cols or list in read_csv HOT 1
- write_csv adds 15 decimal digits to numbers obtained by subtracting from 1 HOT 4
- FR: Spin off `readr::type_convert()` and other type inferencing tools HOT 2
- Undocumented `name_repair = "unique_quiet"` HOT 1
- Document parse_factor produces different levels than base factor
- overzealous guessing/parsing for the "number" format based on grouping marks?
- Confusing error for non-ascii input HOT 2
- Reading a number with the incorrect decimal mark does not fail
- `read_tsv()` gives problems on gzipped file, not when uncompressed
- row column wrong in problems() with read_fwf
- FR: Option to load missing reasons / codes as separate columns HOT 1
- type_convert() does not parse IEEE 754 double values (NaN, Inf, -Inf)
- write_csv freezes/fails when writing to many files in a short amount of time.
- CRAN warnings in r-devel-windows-x86_64 HOT 4
- Release readr 2.1.5
- FR: Make `write_*()` return `file`
- Reconsider/remove message after `read_*()` HOT 1
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 readr.