Comments (7)
I have discovered that the apps will run if started from R from bash, rather than directly in my rstudio-server console.
This made me think that maybe it is an issue with running shiny from Rstudio-server. So I updated to one of the recent rstudio-server dailies but still bug is not fixed
https://dailies.rstudio.com/rstudio/chocolate-cosmos/server/jammy-amd64/
rstudio-server-2024.04.2-755-amd64.deb
from shiny.
Do you see anything else in the viewer when running shiny::devmode(TRUE)
before launching the app?
from shiny.
There might also be something weird with the default graphics device...
- What happens when you run
shiny::plotPNG(function() plot(1))
? Do you get an error? - Does
install.packages("ragg")
fix it?
from shiny.
Hi @cpsievert, thank you for your help,
shiny::plotPNG(function() plot(1)) #runs without error
[1] "/tmp/RtmpmdNfhq/file78241653308.png"
I updated ragg to v1.3.2 (latest) and still error occurs
I tried running shiny::devmode(TRUE)
before running the shiny example app and no informative messages appear in console / viewer
> shiny::devmode(TRUE);shiny::runExample('01_hello')
shiny devmode - Turning on shiny autoreload. To disable, call `options(shiny.autoreload = FALSE)`
This message is displayed once every 8 hours.
Listening on http://127.0.0.1:7135
shiny devmode - Using full shiny javascript file. To use the minified version, call `options(shiny.minified = TRUE)`
This message is displayed once every 8 hours.
shiny devmode - Turning off caching of Sass -> CSS compilation. To turn caching on, call `options(sass.cache = TRUE)`
This message is displayed once every 8 hours.
shiny devmode - Disabling the use of bslib precompiled themes. To be able to use precompiled themes, call `options(bslib.precompiled = TRUE)`
This message is displayed once every 8 hours.
shiny devmode - Enabling warnings about low color contrasts found inside `bslib::bs_theme()`. To suppress these warnings, set `options(bslib.color_contrast_warnings = FALSE)`
This message is displayed once every 8 hours.
from shiny.
Huh, ok, if you right-click -> Inspect -> Console do you see (JavaScript) errors?
from shiny.
Hello, I have a similar issue since, I am not able to launch the shiny app example.
R version 4.3.1 (2023-06-16 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows Server 2012 x64 (build 9200)Matrix products: default
locale:
[1] LC_COLLATE=German_Switzerland.1252 LC_CTYPE=German_Switzerland.1252 LC_MONETARY=German_Switzerland.1252
[4] LC_NUMERIC=C LC_TIME=German_Switzerland.1252time zone: Europe/Zurich
tzcode source: internalattached base packages:
[1] stats graphics grDevices utils datasets methods baseother attached packages:
[1] bslib_0.7.0 shiny_1.8.1.1loaded via a namespace (and not attached):
[1] digest_0.6.35 later_1.3.2 R6_2.5.1 httpuv_1.6.15 fastmap_1.2.0 magrittr_2.0.3
[7] cachem_1.1.0 memoise_2.0.1 htmltools_0.5.8.1 lifecycle_1.0.4 promises_1.3.0 cli_3.6.1
[13] xtable_1.8-4 sass_0.4.9 jquerylib_0.1.4 withr_3.0.0 compiler_4.3.1 rstudioapi_0.16.0
[19] tools_4.3.1 mime_0.12 Rcpp_1.0.12
And I only get this message :
Error in is.call(funBody[[idx]]) && as.character(funBody[[idx]][[1]]) == : 'length = 3' in coercion to 'logical(1)'
from shiny.
It is very strange but it seems that the error has went away after these few days...
I can update if encountered again, but otherwise feelfree to close this issue
from shiny.
Related Issues (20)
- observeEvent does not trigger to changes in reactiveValues HOT 4
- Can't add another ExtendedTask while the one is running? HOT 1
- Busy indicator is only shown for 0.25s
- Progress bar properties cannot be cleared by setting `NULL`
- Bookmarking state on shinyapps.io & locally
- renderDataTable's lengthMenu content not showing
- shinyAppTemplate results in an error, likely from non namespaced `HTML()` call
- Documentation clarification: is `page_fluid()` now the default recommendation over `fluidPage()`? HOT 10
- runExample: new version that uses {bslib} no longer uses showcase mode by default, despite docs saying otherwise
- Shiny options that are supported in code but undocumented HOT 2
- Minor UI: slider inputs have a strange cursor type
- Example "06_tabsets" errors, requires {bslib} version higher than in DESCRIPTION
- session$setCurrentTheme(bs_theme): confusing behaviour+error message regarding version
- Documentation: devmode docs need some improvement
- Documentation: clarify how to use plugins in selectizeInput()
- Documentation: selectizeInput doesn't explain what selectize.js means
- Password managers try to autofill selectInput HOT 1
- `dateInput()`'s popup is incorrectly positioned when using bootstrap 5 top margin on parent container HOT 2
- Shiny 1.8.1.1 navbarPage doesn't work HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shiny.