You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When calling fread with the text="content,to,parse" the behaviour is not as expected if the value is a string without a newline.
In that case, the value of text= is interpreted as a file name, the same behaviour of the input= parameter.
Example:
> fread(text = "a,b,c")
Error in fread(text = "a,b,c") : file not found: a,b,c
I expected a data.table with three columns (a, b, c) and no rows, or a data.table with one row and columns V1, V2, V3, depending on the value of col.names.
R version 3.6.3 (2020-02-29)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS Mojave 10.14.6
The text was updated successfully, but these errors were encountered:
When calling fread with the text="content,to,parse" the behaviour is not as expected if the value is a string without a newline.
In that case, the value of
text=
is interpreted as a file name, the same behaviour of theinput=
parameter.Example:
I expected a data.table with three columns (a, b, c) and no rows, or a data.table with one row and columns V1, V2, V3, depending on the value of
col.names
.The text was updated successfully, but these errors were encountered: