ggplotgui icon indicating copy to clipboard operation
ggplotgui copied to clipboard

CSV parsing

Open alephreish opened this issue 7 years ago • 4 comments

Changing delimiter for uploaded CSV files has no effect. This is due to a bug in the code: the block

 if (input$file_type == "text") {
          data <- read_delim(file_in$datapath,
                             delim = input$text_delim,
                             col_names = TRUE)

upload_delim must be used instead of text_delim

alephreish avatar Dec 21 '17 11:12 alephreish

I believe the correct delim input name should be input$upload_delim instead of input$text_delim

mkuehn10 avatar Jun 05 '18 13:06 mkuehn10

Has this been fixed on github? The CRAN version still fails on loading CSVs to the point of them all coming out as one big column with a lot of commas in it.

jebyrnes avatar Jul 26 '18 15:07 jebyrnes

image

jebyrnes avatar Jul 26 '18 15:07 jebyrnes

I haven't heard anything from the author. You should be able to fix it based on the comment above or the PR #9

I just updated it locally and it seems to work with comma delimited files as long as I updated the delim parameter as input$upload_delim in the part of the if statement if (input$file_type == "text")

mkuehn10 avatar Jul 26 '18 15:07 mkuehn10