I'm getting "Error: embedded nul in string)" when reading in a CSV file from a remote URL.
The string is myData in the below code:
download.file(url, destfile, "curl")
myData = read.csv(destfile)
I tried changing the fileEncoding to UTF-8 in the read.csv() call but that didn't help.
Oddly, I don't get the error when running on
shinyapps.io but on my self-hosted shiny server (on Ubuntu v.16.04, just installed shiny on it todtay) I do get the error.
Thanks,
Joseph