Hi all,
I wondering if anyone can urgently provide me with a solution to my problem.
I am using Mike Badescus script/work-around to enable selecting repetitive options" when selecting inputs in R shiny. The script is descrbed in the following link/thread:
I get the following error when trying to implement it:
Error in seq.default: 'to' must be of length 1
Below is the Backtrace I believe in reverse order):
1: execCallbacks(timeoutSecs, all, loop$id)
2: run_now(timeoutMs/1000, all = FALSE)
3: service(timeout)
4: serviceApp()
5: ..stacktracefloor..(serviceApp())
6: withCallingHandlers(expr, error = doCaptureStack)
7: domain$wrapSync(expr)
8: promises::with_promise_domain(createStackTracePromiseDomain(),
9: captureStackTraces({
10: ..stacktraceoff..(captureStackTraces({
11: runApp()
The error occurs when I choose a value more than once, if i choose different values there are no issues. I am implementing the script very straight forward in a function that sources a script in a separate file.
NOTE: If I run the function outside of R shiny, choosing repetitive values works fine, so I know that everything except R shiny works fine. I am also using the latest versions of both R shiny v 1.6.0 and R-4.1.1
I would appreciate if someone urgently provided me with a solution, thanks in advance