-
Notifications
You must be signed in to change notification settings - Fork 196
Open
Description
When reading xlsx, there are large numbers in the xlsx file. They are read into the xlsx file as text and recognized as scientific counting strings. How can they be displayed as numeric strings
library(readxl)
f2 ='my.xlsx'
df3 <- readxl::read_excel(f2, col_types = "text",range =cell_rows(1:10) )
df3$Profit
df3$ProfitAvailable
Results of operation, (Due to the large size of the file, it was not uploaded. I copied a small copy of the data from the large dataset and found no problem. Why is the problem with the large data)
> df3$Profit
[1] "本期利润" "没有单位" NA "1.7292461089E8" NA NA
[7] "1.3258165203E8" NA NA
> df3$ProfitAvailable
[1] "期末可供分配利润" "没有单位" NA "8.758692123E7" NA
[6] NA "-2.2999730509E8" NA NA
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels