I am trying to export my data table from R Studio to the dta format. I use write_dta function from haven library in R and get the following error:
A provided string value was longer than the available storage size of the specified column.
I am quite new to R and Stata and don't understand what it means and what should I do about it.