...I just updated MacOS Catalina (10.15.2) but I have some problem with shiny. I have developed an application with fileInput function to to select and upload txt file. When I run my app with Run-Ann box and I try to upload my file, shiny and R stop to work and I must force RStudio shutdown. I try to reproduce the sample example https://shiny.rstudio.com/reference/shiny/latest/fileInput.html and it doesn't work. However, if I run External, in brower crome for example, it works. I have granted access to folder RStudio in my System Preferences -> Security & Privacy but it doesn't work for me. Can anybody give an idea? Could it be related to xquartz ? Thank you
I have the exact same issue with the sample example, I need to force quit Rstudio unless I run the app externally in a browser.
Do you have find any solution? I still don't.
Have you given RStudio full disk permissions in the Catalina System Preferences? You're likely seeing the same issue that is resolved by this solution: R studio stopped working when updated macOS Catalina.
Sorry, I read your post too quickly and missed where you said that. I may have also given the R binary full disk access, but I'm not at my home laptop right now to double check. Can you share the results of devtools::session_info()
so we know which versions of shiny
and other packages you are using? Can you also share the RStudio version number (Help > About RStudio)?
Thank you! Your help is very welcome. I share below devtools::session_info()
, shiny
version and RStudio version
.
devtools::session_info()
- Session info -------------------------------------------------------------------------------
setting value
version R version 3.5.1 (2018-07-02)
os macOS 10.15.2
system x86_64, darwin15.6.0
ui RStudio
language (EN)
collate C
ctype C
tz Europe/Rome
date 2020-03-02
- Packages -----------------------------------------------------------------------------------
package * version date lib source
assertthat 0.2.1 2019-03-21 [1] CRAN (R 3.5.1)
backports 1.1.4 2019-04-10 [1] CRAN (R 3.5.2)
callr 3.3.1 2019-07-18 [1] CRAN (R 3.5.2)
cli 1.1.0 2019-03-19 [1] CRAN (R 3.5.1)
crayon 1.3.4 2017-09-16 [1] CRAN (R 3.5.0)
desc 1.2.0 2018-05-01 [1] CRAN (R 3.5.0)
devtools 2.2.0 2019-09-07 [1] CRAN (R 3.5.2)
digest 0.6.20 2019-07-04 [1] CRAN (R 3.5.2)
DT 0.8 2019-08-07 [1] CRAN (R 3.5.2)
ellipsis 0.2.0.1 2019-07-02 [1] CRAN (R 3.5.2)
fs 1.3.1 2019-05-06 [1] CRAN (R 3.5.2)
glue 1.3.1 2019-03-12 [1] CRAN (R 3.5.2)
htmltools 0.3.6 2017-04-28 [1] CRAN (R 3.5.0)
htmlwidgets 1.3 2018-09-30 [1] CRAN (R 3.5.0)
magrittr 1.5 2014-11-22 [1] CRAN (R 3.5.0)
memoise 1.1.0 2017-04-21 [1] CRAN (R 3.5.0)
pkgbuild 1.0.5 2019-08-26 [1] CRAN (R 3.5.2)
pkgload 1.0.2 2018-10-29 [1] CRAN (R 3.5.0)
prettyunits 1.0.2 2015-07-13 [1] CRAN (R 3.5.0)
processx 3.4.1 2019-07-18 [1] CRAN (R 3.5.2)
ps 1.3.0 2018-12-21 [1] CRAN (R 3.5.0)
R6 2.4.0 2019-02-14 [1] CRAN (R 3.5.2)
Rcpp 1.0.2 2019-07-25 [1] CRAN (R 3.5.2)
remotes 2.1.0 2019-06-24 [1] CRAN (R 3.5.2)
rlang 0.4.0 2019-06-25 [1] CRAN (R 3.5.2)
rprojroot 1.3-2 2018-01-03 [1] CRAN (R 3.5.0)
rstudioapi 0.10 2019-03-19 [1] CRAN (R 3.5.1)
sessioninfo 1.1.1 2018-11-05 [1] CRAN (R 3.5.0)
testthat 2.2.1 2019-07-25 [1] CRAN (R 3.5.2)
usethis 1.5.1 2019-07-04 [1] CRAN (R 3.5.2)
withr 2.1.2 2018-03-15 [1] CRAN (R 3.5.0)
yaml 2.2.0 2018-07-25 [1] CRAN (R 3.5.0)
packageVersion('shiny')
[1] '1.3.2'
RStudio version number = Version 1.1.419
The only thing that jumps out at me is that your version of RStudio is a few years old. You have 1.1.419 and the latest version is 1.2.5033. There are a few things that have changed since then, and your issue might be resolved by upgrading RStudio.
Thank you!
the update works! Many thanks
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.