All Questions
Tagged with shiny-server javascript
19 questions
0
votes
1
answer
48
views
Get an input from a button in table from modules in R
I'm starting to work with modules using Rhino, and I want to get the input from a button that is inside a table when it is clicked.
This is the module that creates the table and generate HTML buttons ...
0
votes
1
answer
124
views
Shiny server - Sending huge data through custom message Error
Context
A shiny application I work on sends processed data through:
session$sendCustomMessage("handler", data)
The Javascript on the front end catches this message and does some ...
2
votes
1
answer
219
views
R Shiny — get file size without uploading?
Is there a way to "peek" at the file size without uploading files to R Shiny?
2
votes
0
answers
61
views
f7DatePicker selecting previous day depending on timezone
I've uploaded my R Shiny app (using shinyMobile package) to Google Cloud Run using a Dockerfile, and am finding that the date returned by f7DatePicker doesn't match the value on the widget itself. So ...
2
votes
0
answers
425
views
Custom R shiny fileInput from url, web, cloud
I have a shiny app that needs to be able to take a file in from the web / s3 / a pre-signed download url. I have a custom javascript widget that i am able to get a presigned url from or public s3 ...
1
vote
2
answers
748
views
get the actuel domain name (server name) in Shiny app
I have 3 servers, dev, test and prod. My Shiny code shoud be deployed from dev to prod.
Now the problem:
In the ui.R I refere via href = 'https://dev.com/start/' to another site named start. Is it ...
2
votes
1
answer
3k
views
How to stop end shiny session by closing the browser
I have a shiny app that I would like to end the session every time, I close the browser. I researched around and most developers proposed adding this snippet on my server.
session$onSessionEnded(...
1
vote
2
answers
1k
views
How to add Access-Control-Allow-Origin in Shiny Server (Non Pro)?
Access to XMLHttpRequest at 'http://10.131.12.49:8010/get.me.data?opt=All' from origin 'http://localhost:1826' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on ...
0
votes
0
answers
238
views
How to run Shiny custom input control example on my desktop?
I want to use this shiny control:
Shiny "custom input control" example
in my own shiny app.
But when I copy-paste all codes and folders from the github repository ("Get code" link ...
2
votes
1
answer
2k
views
Google Analytics for Shiny Dashboard App
I have a well sorted out R shiny (shinydashboard) app that runs on a server. I want to be able to track its usage and know that google analytics is a good solution for this. But I have run into an ...
3
votes
3
answers
2k
views
get response header variable in Shiny
My apache passes LDAP login to variable X-Remote-User in header:
but I don't know how to get it in Shiny app. Any ideas? Maybe solution could be some java script?
0
votes
1
answer
602
views
How can I call R shiny html file via javascript?
I am trying to make a very simple password protection for an R shiny web app file. The code you see below is contained in an index.html. Within that same folder is a file named "testflex.html". That ...
1
vote
0
answers
637
views
update contents of shiny UI based on change of input value
I have the following in ui.R
shinyUI(fluidPage(
uiOutput("test"),
mainPanel(
tabsetPanel(
tabPanel("Test",conditionalPanel("input.show==1",includeHTML("index.html")))
)
)
))
and ...
1
vote
2
answers
3k
views
Receiving data from .js in server.R shiny
How would I receive data, created in a .js file in the server.R in shiny?
I am using the leaflat library and I need the extend the LatLngBounds of the current map view has. I need this variable in ...
0
votes
0
answers
107
views
Can't write in other language in my login form
I created a login to my site. That you need to enter username and password:
All is working fine. But the problem is when i write in Hebrew (without clicking the login button) it immediately send an ...