-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
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
Reading xlsx and xls #208
Comments
@msgoussi I don't have any problem with the first file:
I'm running version: Your |
Hi, I have the same problem when trying to read some xls files from the U.S. Bureau of Economic Analysis. Reproducible example below. Not shown: xlsx::read.xlsx can read the files. Don
|
I now see that the above problem is caused by bad column names in the Excel file. It is solved by using col_names=FALSE. It would be great if read_excel could generate a more descriptive warning in a case like this. Don |
|
Dear Mr. Hadley,
I have a file downloaded from a database (in both version 2007 (xlsx) and 2003 (xls) )
If I use read_excel with use xlsx, get an error
Error: Couldn't find 'xl/styles.xml' in 'D:/My Documents/DRSD/R/EIU/EIU_Data.xlsx'
I think that sheets are xml files combined in Workbook.
if I use read_excel xls, get an error
Error in x[needs_ticks] <- paste0("
", gsub("
", "\`", x[needs_ticks]), :NAs are not allowed in subscripted assignments
I really wish to help with this his error and show me how to read every sheet.
Thanks
xls file
https://drive.google.com/file/d/0B3Z74IvmfSYQQjF4bzhDXy1iTlU/view
xlsx file
https://drive.google.com/file/d/0B3Z74IvmfSYQeWNTemJJUzZ5WkE/view
The text was updated successfully, but these errors were encountered: