Comments (4)
is quoting needed somewhere?
from data.table.
The key looks like here:
'file:' is not recognized as an internal or external command,
operable program or batch file.
As noted in nearby comments, the test is about simulating download.file()
without needing internet access by passing file://
paths.
What does this do on the machine in question?
writeLines(letters, tmp<-tempfile())
download.file(paste0("file://", tmp), tmp2<-tempfile(), method="internal")
readLines(tmp2)
from data.table.
> writeLines(letters, tmp<-tempfile())
> download.file(paste0("file://", tmp), tmp2<-tempfile(), method="internal")
> readLines(tmp2)
[1] "a" "b" "c" "d" "e" "f" "g" "h" "i" "j" "k" "l" "m" "n" "o" "p" "q" "r" "s"
[20] "t" "u" "v" "w" "x" "y" "z"
so I think it has something to do with the fread logic "if there is a space it must be a system command"
from data.table.
@tdhock that's exactly what it is. Despite the error message referring to v1.11.6 this seems like a very recent change in behavior, I never had this issue before.
This also makes fread incompatible with any map()
-like commands without using an anonymous function so you can feed x
to file=
instead of the default first input.
from data.table.
Related Issues (20)
- coerceAs may be doing factor coercion incorrectly HOT 3
- non-UTF8 characters fail to parse on Windows HOT 2
- add support for the Chinese encoding to read or write in fread or fwrite HOT 8
- Debian testing failure for gprod test HOT 9
- Recursive list creation with data.table on := by reference
- Request argument "notby" for unique.data.table HOT 3
- Release data.table version 1.16.0 HOT 6
- Drop range of columns by setting to NULL
- Setcolororder scrambling the dataset HOT 9
- Failed translation of error message HOT 9
- How can we update multiple existing columns in place using .SD? Possible regression HOT 1
- Test case(s) for fastmean.c based on mutation testing results; Base R's mean vs data.table's fast mean HOT 13
- `for` works, `by` fails HOT 4
- Remove non-API calls in C HOT 16
- test() ignores S4-ness of columns
- fread() parameter na.strings does not work as expected HOT 4
- Don't "double-print" in output= tests HOT 2
- Odd/unexpected behaviour with `is.na` HOT 8
- Make plural alternatives as plural-forms messages HOT 2
- revdep issues caused when . and J are exported 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 data.table.