Hi all,
I'm writing my first shiny app. The purpose is very simple : The user gets 6 numbers and he has to fill in the average. Cause I'm working in Belgium we use comma as decimal. So I wanted to have the user to fill in a number like "27,14" which I want to convert into a numeric 27.14. In R it works fine with the line:
as.numeric(gsub(",",".",answer, fixed=TRUE)
but when doing this in a shiny app I get a an error :
cannot open file '12': No such file or directory
Error in file(file, "r") : cannot open the connection
It seems gsub is looking for a file????
How can i get this to work properly?
best regards,
Gunther