shinyproxy | Open Source Enterprise Deployment for Shiny and data | Data Visualization library

 by   openanalytics Java Version: v3.0.1 License: Apache-2.0

kandi X-RAY | shinyproxy Summary

kandi X-RAY | shinyproxy Summary

shinyproxy is a Java library typically used in Analytics, Data Visualization applications. shinyproxy has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has high support. You can download it from GitHub.

Open Source Enterprise Deployment for Shiny Apps. Learn more at
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              shinyproxy has a highly active ecosystem.
              It has 459 star(s) with 154 fork(s). There are 36 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 78 open issues and 309 have been closed. On average issues are closed in 522 days. There are 8 open pull requests and 0 closed requests.
              OutlinedDot
              It has a negative sentiment in the developer community.
              The latest version of shinyproxy is v3.0.1

            kandi-Quality Quality

              shinyproxy has 0 bugs and 0 code smells.

            kandi-Security Security

              shinyproxy has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              shinyproxy code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              shinyproxy is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              shinyproxy releases are available to install and integrate.
              Build file is available. You can build the component from source.
              Installation instructions are not available. Examples and code snippets are available.
              shinyproxy saves you 604 person hours of effort in developing the same functionality from scratch.
              It has 1438 lines of code, 84 functions and 18 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed shinyproxy and discovered the below as its top functions. This is intended to give you an instant insight into shinyproxy implemented functionality, and help decide if they suit your requirements.
            • Start an existing app
            • Parses an AppRequestInfo from a string
            • Gets or starts a user proxy
            • Validates whether a proxy should start
            • Display the server transfer page
            • Resolves an image URI
            • Set the value of the Spring web application
            • Sends a request to the given application
            • Waits until the proxy is ready
            • Posts an issue to the server
            • Sends the support mail
            • Handle shinyproxy authentication
            • Checks if an exception is not authenticated
            • Gets a json string for the given request
            • Returns the app title for the given app request
            • Initialize the proxy
            • Display the templates
            • Merges the base spec and returns the result
            • Performs a heartbeat
            • Apply permissions to the HttpSecurityPolicy
            • Checks if the shiny proxy is valid or not
            • Display the admin page
            Get all kandi verified functions for this library.

            shinyproxy Key Features

            No Key Features are available at this moment for shinyproxy.

            shinyproxy Examples and Code Snippets

            No Code Snippets are available at this moment for shinyproxy.

            Community Discussions

            QUESTION

            Alternatives to using `DT:replaceData()` when `server=FALSE` on shiny application deployed via kubernetes
            Asked 2021-Dec-04 at 07:28

            For various reasons I want to be able to use a proxied data table and replaceData while client side processing is being used i.e. DT::renderDataTable(..., server = FALSE).

            Context

            I have a shiny application/dashboard that communicates to a database and presents information to a user. The user is able to fill out a form in the application which will be added to the database and then the shiny app updates the data by making a query to the database to fetch the new information.

            The application is currently being deployed via kubernetes using a LoadBalancer with the intention to use multiple replicas to scale up the application as needed. The application is not being run through shinyproxy.

            Caveats

            Currently, when the application is being run by a single replica (process) the application will behave perfectly fine and is able to use server=TRUE. However when I increase the number of processes/replicas to run, the data is not able to be presented to users unless server=FALSE is specified in renderDataTable. For a currently unknown reason but I suspect it might be due to the sessions not being sticky to IPs

            While the code is able to function fine when server = TRUE if I want to allow multiple users to application they all cannot share a single process as the application will become very slow once multiple connections are made. As a result I likely need to use server=FALSE so each user is able to see the data at the cost of a very important functional detail (replaceData stops working). The product owner of the application is insistent that this behaviour remains intact as the data present is often large and requires some column sorting and paging to find a piece of information you want to look at. And when submitting a form, if I do not use replaceData and reconstruct the table from scratch the users previous table state is lost.

            So while I could tear down the datatable and regenerate it within an observeEvent

            ...

            ANSWER

            Answered 2021-Dec-03 at 02:56

            We can try to use reactiveValues combined with the information of input$table_rows_selected. The server argument is equal to FALSE as requested.

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

            QUESTION

            Struggling with character encoding with ShinyApp
            Asked 2021-Oct-08 at 15:27

            I'm struggling with character encoding with my ShinyApp. I'm using ShinyProxy for deploying the apps.

            I read my data as JSON encoded in UTF-8 with:

            ...

            ANSWER

            Answered 2021-Oct-08 at 15:27

            I solved it. Turns out that België in not "UTF-8" but it's "latin1". So it is sufficient to encode it as "latin1".

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

            QUESTION

            Leaflet change cluster marker color
            Asked 2021-Sep-06 at 13:50

            I'm using ShinyProxy to deploy R ShinyApps.

            I plot on a Leaflet Map marker point and cluster them because I have more than one (actually a lot) points for the same coordinates.

            Each point can be in two state, so I change the color in Red or Green.

            I'd like to change the color of the "cluster marker" too in:

            • red if at least one marker inside of it is red
            • green otherwise

            Here a (simple dummy) photo to better explain what I mean:

            I searched a lot but I cannot find a solution to my problem.

            Here a portion of my code:

            ...

            ANSWER

            Answered 2021-Sep-06 at 13:50

            Some ideas:

            including feature:

            https://stackoverflow.com/questions/53245984/leaflet-r-how-to-make-appearance-of-clustered-icon-related-to-statistics-of-the

            change color of clusters:

            https://stackoverflow.com/questions/33634901/leaflet-for-r-how-to-change-default-css-cluster-classes

            idea is to see if cluster has any red point/marker in it, if it has then color should be red otherwise green.

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

            QUESTION

            Can I pass Username instead of Firstname + Lastname to shiny prox
            Asked 2021-Jan-30 at 18:43

            I am using Shinyproxy with Keycloak and read the username with userName <- Sys.getenv("SHINYPROXY_USERNAME")

            Unfortunately I receive a concatenation of FirstName and LastName, which is not unique.

            I would like to have the username in SHINYPROXY_USERNAME. Is this a Keycloak configuration issue?

            ...

            ANSWER

            Answered 2021-Jan-30 at 18:43

            QUESTION

            Launch docker automatically when starting ec2 server
            Asked 2020-Aug-21 at 05:51

            Everytime I restart my ec2 server I have to do: sudo systemctl start docker and then docker-compose up -d to launch all my containers.
            Would there be a way to automatically run these two commands at the start of the instance? I have read this answer and I think ideally I would like to know how to do that:

            Create a systemd service and enable it. All the enabled systems services will be started on powering.

            Do you know how to create such systemd service?

            [EDIT 1]: Following Chris William's comment, here is what I have done:

            Thanks Chris, so I created a docker_boot.service with the following content:

            ...

            ANSWER

            Answered 2020-Aug-08 at 16:40

            To have a service launch at launch you would run the following command sudo systemctl enable docker.

            For having it then launch your docker compose up -d command you'd need to create a new service for your specific action, and then enable it with the contents similar to the below.

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

            QUESTION

            Shiny Proxy in Docker Container - Bind to 127.0.0.1 or 0.0.0.0?
            Asked 2020-Aug-14 at 20:19

            I am following the instructions in order to secure shinyproxy as per https://shinyproxy.io/security/. Is it possible to run shinyproxy in a container and bind to 127.0.0.1 so that my nginx reverse proxy can forward the request via proxy_pass to 127.0.0.1:8080?

            So something like sudo docker run -d -p 127.0.0.1:8080:8080 --net sp-example-net -v /var/run/docker.sock:/var/run/docker.sock shinyproxy_base:localhost where bind-address: 127.0.0.1 in application.yml.

            This works if i remove bind-address:127.0.0.1 and change -p 8080:8080 so that shinyproxy is listening on 0.0.0.0 but that is not suggested.

            Is the above possible or should I keep the docker container listening on 0.0.0.0?

            ...

            ANSWER

            Answered 2020-Aug-14 at 20:19

            If a process is set with a bind address of 127.0.0.1, it will be unreachable from outside of its own container (it binds to a container-private localhost interface). Since a container usually only runs one process, this makes the process unreachable.

            Setting containerized processes to listen on 0.0.0.0 ("all interfaces") is usually safe. They can be reached from other containers on the same Docker network, but they can't be reached from outside Docker unless you publish that port with a docker run -p option.

            For what you're describing, it's reasonable to set the proxy to bind-address: 0.0.0.0, and then limit where it's published using the docker run -p 127.0.0.1:8080:8080 option. Here the address in -p is the address of one of the host's interfaces.

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

            QUESTION

            Apache Reverse Proxy and ShinyProxy
            Asked 2020-Aug-09 at 17:00

            I wrote a shiny web application and deploy it on a server using ShinyProxy. Accessing the app directly via the IP address and port 8080 works fine. However, I need to connect it to a URL. On the ShinyProxy website there is an explanation on how it works with Nginx:

            ...

            ANSWER

            Answered 2020-Aug-09 at 17:00

            If you have a unique URL for the websocket endpoint, just load mod_proxy_wstunnel and target that traffic first. In the example below /Silly/ws is the websocket endpoint:

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

            QUESTION

            internal time shinyproxy UTC
            Asked 2020-Jul-03 at 10:52

            I successfully deployed an application with shiny and shinyproxy. The purpose of the app is to manually review an algorithm decision

            We want to store not only the decision but also the timestamp in which the decision is made, so inside the code we are making use of Sys.time(). Our current time zone is UTC+2 while inside the app when deployed with shinyproxy it seems that Sys.time will give us UTC time ( so 2 hours behind what we'd like to see). I checked the server date and it's ok.

            Is there some configuration we can modify on shinyproxy to deal with this situation? Or it's easier to work on some parameters of Sys.time() or another R function, i suppose specifying something like timezone="Europe/Amsterdam"?

            Thanks

            ...

            ANSWER

            Answered 2020-Jul-03 at 10:52

            QUESTION

            Is Shiny Server Open Source capable of multithreading?
            Asked 2020-Jun-17 at 09:13

            I'm looking at setting up a Shiny app that uses the Furrr package behind the scenes for some multithreaded operations. While checking the documentation for Shiny Server I read that the Open Source version is limited to a single process.

            Does this mean anything running on Shiny Server Open Source can't be used in conjunction with any of the multithreading packages, since afaik all multithreading in R requires creating multiple processes? Also would this apply as well to something like ShinyProxy?

            ...

            ANSWER

            Answered 2020-Jun-17 at 09:13

            Per Jcheng on github:

            Shiny Server will launch up to one R process for each app to run Shiny, then those R processes can launch child processes if they want.

            So the answer is yes shiny server open source is capable of multithreading, it simply wont automatically create new R processes to serve concurrent users' sessions (ie automatic load balancing).

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

            QUESTION

            How to solve IllegalArgumentException error?
            Asked 2020-Mar-27 at 16:35

            I am trying to deploy my R application using ShinyProxy and docker. As soon as run the command, java -jar I get a nested exception in docker terminal stating Illegal argument exception. I am attaching the last traceback error. I referred https://www.databentobox.com/2019/11/05/deploy-r-app-with-shinyproxy/ tutorial for deploying R application. Any suggestion on how to overcome this error?

            ...

            ANSWER

            Answered 2020-Mar-27 at 16:35

            It worked for me by degrading shinyproxy version to 2.0.0 from 2.3.0.

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install shinyproxy

            You can download it from GitHub.
            You can use shinyproxy like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the shinyproxy component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            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/openanalytics/shinyproxy.git

          • CLI

            gh repo clone openanalytics/shinyproxy

          • sshUrl

            git@github.com:openanalytics/shinyproxy.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