-
Notifications
You must be signed in to change notification settings - Fork 10
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
Change base read function #79
Comments
Having a major headache doing this. Switched the code out fine, coerced it into a dataframe rather than a tibble for an initial debug, but there are some rogue 'if' statements causing it to fail despite reading in OK. Can't work out which one, though. Help MUCH appreciated, @DrMattG! |
This is a weird one! If we strip it back to utils::read.delim it works - so it has to be something to do with what readr::read_delim does as opposed to read.delim - readr::read_delim gives us a tibble (https://readr.tidyverse.org/reference/read_delim.html) and utils::read.delim gives us a dataframe but I am not sure if that is the route of the problem.... gahhhhhhhhhhhhhhhhhhhhhhh (this is annoying!!!!!!) |
@nealhaddaway
There is no input$dec - if I add one in then I get an error about the default encoding. So if I delete the default option and select UTF-8 then it will upload- I am not sure of what effects this has further down the line though
|
Hmm - do you mean locale doesn't allow decimal specification? Or that it's missing from the UI? |
I guess this is fixed now - it's working, but now no longer properly allows one dodgy file I have to be encoded in Mac to work. Jacqui sent it to me the other day. So read.csv correctly (?) dealt with non-standard characters in mac encoding, but this now stops that workaround... not ideal... It also isn't reading in äå etc. properly... |
The app was built using read.csv, should change to readr::read_delim
The text was updated successfully, but these errors were encountered: