strengejacke / sjlabelled

Working with Labelled Data in R

Home Page:https://strengejacke.github.io/sjlabelled

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sjPlot::view_df: error while processing a data set imported via sjlabelled::read_spss

frankcsliu opened this issue · comments

I double checked this issue with two data sets that worked before. The below message continue to appear:

"Error in sprintf("%i", range(x[[index]], na.rm = T)) : invalid format '%i'; use format %f, %e, %g or %a for numeric objects"

Please help. Thank you, Daniel.

Best,
Frank

This issue might be solved in the latest GitHub Version of sjPlot. Could you please provide a reproducible example or check the latest sjPlot Dev-version?

I used "devtools::install_github("strengejacke/strengejacke")" to reinatall the packages and used the data file (http://jmp.sh/xfcyzRk) to test. But it seemed not work. The same error message came out. The encoding of the data is big5.

can't reproduce, I can open and view the file w/o any error. I think this requires the forthcoming sjPlot update, which will be available within the next 1-2 weeks.