Skip to content
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

Can not load the data.frame #17

Closed
jrojasquiroz opened this issue Feb 21, 2021 · 1 comment
Closed

Can not load the data.frame #17

jrojasquiroz opened this issue Feb 21, 2021 · 1 comment

Comments

@jrojasquiroz
Copy link

I had installed the add-in with no problem. But when I tried to open a data frame this message appears:

Warning: Error in sub: input string 1 is invalid UTF-8
  51: sub
  50: mysub
  47: trimws
  46: <observer>
   3: shiny::runApp
   2: runGadget
   1: data_edit

So, I tried with another one and another similar message appears:

Warning: Error in warn: entrada en evaluacion: recursivo por defecto o problemas anteriores?
  67: warn
  66: row.names<-.tbl_df
  64: rownames<-
  63: <reactive>
  47: data_to_edit
  46: <observer>
   3: shiny::runApp
   2: runGadget
   1: data_edit
@DillonHammill
Copy link
Owner

Hmmm, looks like there are some non-standard characters in the data.frame. Are you able to share the data so that I can troubleshoot this? You can save the data.frame to an .rds file and share a link?

# df is your data.frame
saveRDS(df, "test-data.rds")

Can you also provide the printout of class(df) prior to using the addin?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants