https://github.com/kindlychung/colone
Read the first column of a file (seperated by whitespace)
https://github.com/kindlychung/colone
Last synced: 2 months ago
JSON representation
Read the first column of a file (seperated by whitespace)
- Host: GitHub
- URL: https://github.com/kindlychung/colone
- Owner: kindlychung
- Created: 2014-07-21T23:08:59.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-07-29T14:00:08.000Z (almost 11 years ago)
- Last Synced: 2025-02-10T21:47:16.663Z (4 months ago)
- Language: C++
- Size: 164 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Description
This is a simple c++ program for printing out one arbitrary column of a whitespace seperated text file.
# Things to remember
* Whitespaces at the beginning of line will be ignored.
* Trailing whitespaces at the end of a file will also be ignored, which is a good thing.
* Combining this with the `read.table(pipe("..."))` function in R will be much faster than `read.table(filename, colClasses=...)`# Todo
* Validate total number of columns.
* Extend into multiple columns.