When I am exporting the data frame into Microsoft word format, I am getting the error as "Huge input lookup".
But I am not using any HTML or XML files.
I am getting this error only if the file is has a large number of records.
With a smaller number of records, I don't get any error and can print the output in .docx format.
I am using
flextable packages for output.
Please execute the below code,it will generate 10000 records.But unable to print in .DOCX format.It will show the same error.
ord<-c('A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J') srnum<-c('1' :'1000') df<-expand.grid(srnum=srnum,ord=ord) library(officer) library(flextable) myft <- regulartable(df, col_keys = names(df)) my_doc <- body_add_flextable(my_doc, value = myft) print(my_doc, target = "path/ABC.docx")
How do I write a docx file from a dataset with a large number of records like (2000 records)?
This error i am facing after i have upgraded r version from 3.5.0 to 3.5.3. Please help me on this.