-
Notifications
You must be signed in to change notification settings - Fork 67
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
Error in if (latest_R_version == R_version) { : argument is of length 0 #152
Comments
I am facing this issue and can't get a work around, did you solve it? |
No... not really... have you tried putting the R executables in your app folder? It might work for you... |
Nope, I, i am not sure where i should exactly place that, is it on the bin folder?? |
I was looking at this website; https://rdrr.io/cran/RInno/man/create_app.html. funny enough using knows that the version is not supported Error: R_version (2.2.1) <= 3.0.2 is not supported. |
I don't know if anyone answered this but I got a fix by doing this:
Then you should change this part of the code:
It looks at cran for the latest version, but it only accounts for versions between 1 and 3 (the latest is R-4.0.1 for Windows). Therefore, just change 3 for 4, save it and you should be OK. This solution is temporary. Expect doing this everytime you restart a R Session or just change it from the source version of the package. Since it is a simple solution, maybe RInno's maintainers had already fixed it in the most up-to-date version. |
super!! i spend my whole weekend searching the get_R file from the R inno package files. |
I was running into the same problem using RInno_1.0.1 from Cran (e.g. |
Via roman-tremmel. I created a fork that does this so I don't need to keep editing it. Found at Git hub "brandonerose/RInno" |
I am facing the same error with
However when I change the 3 to 4 in the I am still getting an error
How to fix this? |
latest_R_version is a vector containing several values, which explains the error in the condition. This works for me, but the problems come later. Can you tell me if you succeed to generate a stand-alone application? |
Hi everyone,
I'm trying to include R in my shiny app but I get this error message:
Error in if (latest_R_version == R_version) { : argument is of length 0
I'm calling:
create_app(app_name = "myApp", app_dir = "myShinyApp", pkgs = c("shiny","data.table", "ggplot2", "dplyr",), include_R = TRUE)
And my session info is:
R version 3.6.3 (2020-02-29) Platform: i386-w64-mingw32/i386 (32-bit) Running under: Windows 10 x64 (build 18362)
I've also tried putting
R-3.6.3-win.exe
inside the folder with myserver.R
andui.R
files without success... has anyone faced the same issue?? Thanks a lot in advanced!The text was updated successfully, but these errors were encountered: