Error in read.table(file = file, header = header, sep = sep, quote = quote, :
no lines available in input
This is the error in the console. But I haven't used read.table? Is it an internal reference?
Error in read.table(file = file, header = header, sep = sep, quote = quote, :
no lines available in input
This is the error in the console. But I haven't used read.table? Is it an internal reference?
Copyright © 2021 Jogjafile Inc.
You can view the code by typing
read.xlsor in RStudio,View(read.xls).gdata::read.xlsworks by first converting the Excel file to a tab or comma-delimited file. It then uses eitherread.delimorread.csvto read the data. Both of those functions are wrappers toread.table.So yes: the function is using
read.tableinternally.Your next problem is to figure out why the conversion results in a file with no lines. It may be better to use a more modern solution such as the
readxlpackage, or explore the Excel import interactively in RStudio.