shiny-server | Host Shiny applications over the web | Data Visualization library

 by   rstudio JavaScript Version: v1.5.20.1002 License: Non-SPDX

kandi X-RAY | shiny-server Summary

kandi X-RAY | shiny-server Summary

shiny-server is a JavaScript library typically used in Analytics, Data Visualization applications. shiny-server has no bugs and it has low support. However shiny-server has 1 vulnerabilities and it has a Non-SPDX License. You can download it from GitHub.

Shiny Server is a server program that makes Shiny applications available over the web.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              shiny-server has a low active ecosystem.
              It has 673 star(s) with 292 fork(s). There are 94 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 168 open issues and 169 have been closed. On average issues are closed in 199 days. There are 17 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of shiny-server is v1.5.20.1002

            kandi-Quality Quality

              shiny-server has 0 bugs and 0 code smells.

            kandi-Security Security

              shiny-server has 1 vulnerability issues reported (0 critical, 0 high, 1 medium, 0 low).
              shiny-server code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              shiny-server has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              shiny-server releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.
              shiny-server saves you 441 person hours of effort in developing the same functionality from scratch.
              It has 1042 lines of code, 0 functions and 77 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of shiny-server
            Get all kandi verified functions for this library.

            shiny-server Key Features

            No Key Features are available at this moment for shiny-server.

            shiny-server Examples and Code Snippets

            No Code Snippets are available at this moment for shiny-server.

            Community Discussions

            QUESTION

            Update Shiny UI layout with Javascript output
            Asked 2021-May-26 at 06:29

            I have a shinyApp running on cloud that runs for long (lots of computation taking about 25 minutes) leading to timeout. However, If I keep interacting with the page as the app runs (e.g. navigating the navbar or moving a slider..), timeout does not happen. A possible solution is to keep the web-socket active by updating a value on the current page every 5 seconds or so. I borrowed the idea here https://community.rstudio.com/t/keep-shiny-app-running-in-shiny-server-no-greying-out/27784/4.

            ...

            ANSWER

            Answered 2021-May-26 at 06:29

            I managed to find a workaround that keeps the R/Shiny web page active even as intensive workloads run in server.R. I would like to share my working solution.

            The first step is to create a div tag or object inside shiny's UI, fluidPage() section. I have a assigned "time_stamp" id to it.

            Source https://stackoverflow.com/questions/67650984

            QUESTION

            How to get map to show only desired portion
            Asked 2021-May-25 at 10:17

            Say that I have this code (which is modified from OpenStreetMaps autoplot error in RStudio Server and Shiny Server in R4.0.0):

            ...

            ANSWER

            Answered 2021-May-25 at 10:17

            I obtained the bbox information from the mp object as follows:

            Source https://stackoverflow.com/questions/67641976

            QUESTION

            Shiny Azure WebApp Authenticate as user to Azure SQL Server
            Asked 2021-May-17 at 16:06

            I'm building a WebApp with a SQL DB as Backend. I'm Deploying the both parts on Azure, as Azure Webapp and SQL Server.

            The SQL server is sercured with Azure AD (AAD). So only Users in a Group can access the DB.

            So I'm trying to setup a workflow where the Webapp login the user and collect his Access token. And then uses the token to Query the SQL server.

            I've registreted the App in AAD, where it is authorized to read the user ID and impersonate as the user.

            I've the following code which is working local. But I can't get it to work deployed locally in a Docker Image.

            ...

            ANSWER

            Answered 2021-May-17 at 16:06

            Connecting to SQL Server with an OAuth token requires use of a pre-connection attribute (basically a pointer to the token string). There is an open feature request at the odbc Github repo for this. I encourage you to upvote it, hopefully if it's popular enough it will get implemented.

            Source https://stackoverflow.com/questions/67570465

            QUESTION

            R/shiny drilldown report
            Asked 2021-May-11 at 07:19

            Trying to have a pie (or preferably, donut) chart that displays totals per category and that allows a drilldown to display specifics per category when clicked. Make sense?

            I think I might not have every system setting correct, since also copy/paste standard examples render an empty page. Unless that's somehow outdated or something. My system: Ubuntu 20.04, R 4.0.5, packageVersion("shiny") 1.6.0, shiny-server --version 1.5.16.958 Blank examples: https://plotly-r.com/linking-views-with-shiny.html#drill-down and Creating drill down report in R Shiny (amongst others)

            My current attempt (not reactive yet because I can't for the life of me figure it out):

            ...

            ANSWER

            Answered 2021-May-11 at 07:19

            The key is to use input$donut_selected, the automatically generated _selected-suffixed input, see https://davidgohel.github.io/ggiraph/articles/offcran/shiny.html#access-the-selected-values.
            Like so:

            Source https://stackoverflow.com/questions/67467942

            QUESTION

            Run Shiny-server on different port than 3838
            Asked 2021-Feb-26 at 20:52

            I am deploying Shiny-server in container. By default Shiny-server listens on port 3838, here is piece from shiny-server.conf

            ...

            ANSWER

            Answered 2021-Feb-26 at 20:52

            QUESTION

            how to make a copy of reactive table in R shiny in `reactiveValues()`
            Asked 2021-Feb-23 at 17:36

            I am building app where a user can make edits to a datatable and the hit a button to reflect the changes in a non-editable copy of this datatable (in the final project, I will need to have two datasets that need to be matched manually), but for now this small MWE shows the problem I have with making a copy of the reactive table in which changes can be made, without changing the data of the original reactive table. I would like to make this app work, where you click edit a cell in the table dat_joined$data/output$mytable and that those changes do reflect in a new table mydf$data/output$table2. To do mydf$data initially (before any changes are made) needs to be a copy of dat_joined$data This is a follow up on this question and answer: how to make a copy of a reactive value in shiny server function

            ...

            ANSWER

            Answered 2021-Feb-23 at 17:36

            Any changes you make in the top table is reflected in the bottom table after you press the button "Process". Try this

            Source https://stackoverflow.com/questions/66333176

            QUESTION

            R Studio Shiny App Error: object 'Variable(carat)' not found
            Asked 2021-Feb-18 at 08:14

            I am trying to develop a shiny app to predict the price of diamonds based on carats using the "diamonds" data on R. Everything works except the plot section which returns an error: object "carat" not found. the code seems to work outside of shiny so I am guessing the problem is with reading in the dataset into the shiny-server. I am a novice with regards to shiny and I have explored similar problems on here and came up short, I would like to know what I'm doing wrong. I tried to attach the images of the error and the expected output in this query. Thank you!

            ...

            ANSWER

            Answered 2021-Feb-15 at 13:44

            The problem is how you define the new data for the prediction. As you've specified carat in the formula of the model, the new data.frame also needs to contain this column.

            Try

            Source https://stackoverflow.com/questions/66209126

            QUESTION

            Load a csv file in R and share in all sessions?
            Asked 2021-Feb-17 at 03:12

            I have a shiny application that uses a csv file to generate different figures. I upload my application in my personal linux server using shiny-server. I use this structure for my application

            • global.R
            • ui.R
            • server.R

            Inside my global.R file I have this line, which help me to load and read my csv file

            ...

            ANSWER

            Answered 2021-Feb-17 at 03:12

            In addition to the comments from Gregor and HubertL:

            To load large CSV files can slow down. I had the same issue and changed to r binary file (rds) with saveRDS() and readRDS(). As a first step you can try rds file and see if the issue is solved. To check whether there is a performance difference you can use system.time(). Returns the time taken to evaluate any R expression.

            In your case:

            Source https://stackoverflow.com/questions/66235119

            QUESTION

            Shiny App doesn't work while accessing on remote computer
            Asked 2021-Feb-13 at 01:38

            I am trying to run a ShinyApp via R studio. The R Studio is on my work computer and I am accessing it from my home computer via remote access.

            I tried changing the host argument in runApp to "0.0.0.0" (as suggested:here ) and even then all i get is a dark blank screen.

            Any help, appreciated.

            ...

            ANSWER

            Answered 2021-Feb-13 at 01:38

            Thanks to a few colleagues at work, I figured that there could be an issue with accessing the shiny output via R studio in built browser when accessing it remotely. The workaround which works for me is to open a new browser via runApp(shinyobject<-shinyApp(ui, server), launch.browser=T)

            Source https://stackoverflow.com/questions/65931179

            QUESTION

            plotly not installed in shiny-server
            Asked 2021-Jan-24 at 13:43

            When I use the plotly library in a shiny-server I have the following issue:

            The app will work correctly using "Run App" command in RStudio Server, but when deployed on the shiny-server:3838 it gives the following error Error in library(plotly) : there is no package called ‘plotly’ Calls: runApp ... sourceUTF8 -> eval -> eval -> ..stacktraceon.. -> library Execution halted

            It seems that plotly library for some reason is not installed in shiny-server although it is installed and working for RStudio Server. Does anyone know how to fix it.

            I initially thought it could be an issue with my code, but I can actually replicate the exact same issue if I use a code sample provided by plotly-r website here

            The code to replicate is below:

            ...

            ANSWER

            Answered 2021-Jan-24 at 13:43

            Run this on the machine where the shiny server is installed. This installs the plotly package.

            Source https://stackoverflow.com/questions/65795883

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install shiny-server

            You can download it from GitHub.

            Support

            See the Administrator's Guide to Shiny Server for more complete documentation regarding the setup and management of Shiny Server. Please direct questions to the Shiny Community discussion board. If you're interested in Professional Support, please look at our commercial Shiny Server Pro product.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/rstudio/shiny-server.git

          • CLI

            gh repo clone rstudio/shiny-server

          • sshUrl

            git@github.com:rstudio/shiny-server.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link