We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After updating radian, when I used read.table() in a for loop, an error came up.
r$> for (i in 1:(length(files))) { x <- read.table(file = files[i], header = T, sep = ",", row.names = 1) x <- x[, -c(2, 4, 5, 9, 12, 13)] x <- t(x) assign(filelist_sampled[i], x) rm(x) } Error in read.table(file = files[i], header = T, sep = ",", row.names = 1) : no lines available in input In addition: Warning message: In read.table(file = files[i], header = T, sep = ",", row.names = 1) : invalid input found on input connection 'my file name'
This code could be used in the R GUI and old version of radian.
The text was updated successfully, but these errors were encountered:
I already confirmed my csv files and their directory. Both should be OK.
Sorry, something went wrong.
It was the encoding problem. I followed this issue and set the local encoding to UTF-8, problem solved. https://github.com/randy3k/radian/issues/269
No branches or pull requests
After updating radian, when I used read.table() in a for loop, an error came up.
r$> for (i in 1:(length(files)))
{
x <- read.table(file = files[i], header = T, sep = ",", row.names = 1)
x <- x[, -c(2, 4, 5, 9, 12, 13)]
x <- t(x)
assign(filelist_sampled[i], x)
rm(x)
}
Error in read.table(file = files[i], header = T, sep = ",", row.names = 1) :
no lines available in input
In addition: Warning message:
In read.table(file = files[i], header = T, sep = ",", row.names = 1) :
invalid input found on input connection 'my file name'
This code could be used in the R GUI and old version of radian.
The text was updated successfully, but these errors were encountered: