The reactive tag refers to a variable type and environment used inside Shiny applications based in the R programming language. Reactive elements are dynamic and changing over time usually due to user input to the Shiny application. This tag should be used with questions and errors regarding how to refresh, update, assign, and access user inputs into Shiny. The reactive tag is to be used in conjunction with the r and shiny tag.
Questions tagged [reactive]
2049 questions
0
votes
1 answer
How to set up a reactive variable?
I set up a variable in vue which updates whenever the orientation of the screen changes.
However when I add this isLandscape variable to the object which is returned by data() it fails to become a reactive variable.
My initial data function for my…

Laterneman
- 267
- 2
- 15
0
votes
1 answer
How to pass list to preparedQuery
How to pass list of ids to query.
List ids;
...
client.preparedQuery("SELECT id, name FROM features WHERE id IN $1").execute(Tuple.of(ids))
When I passed this query an error occurred saying invalid syntax near IN

f3lngb4d
- 3
- 2
0
votes
1 answer
Is this a bug of *ngIf or just something that I have missed?
I'm doing reactive form validation I have found out that this *ngIf has a bug on checking a valid email pattern. When we write an invalid email and click outside of the input *ngIf for pattern check will always return even if the input is valid.…

frustrated-dev
- 431
- 6
- 29
0
votes
1 answer
Line number of error is missing in R shiny app error message
I get this most common error message in shiny app. I am well aware of this error and have resolved it dozens of time. But this time I am stumped.
Listening on http://127.0.0.1:3933
Warning: Error in : Operation not allowed without an active…

Lazarus Thurston
- 1,197
- 15
- 33
0
votes
1 answer
Setting one mono within another using webflux
I am retrieving a publisher Mono from mongo db
I have another publisher Mono
I want to set ProductOrder object into CommandResponse as it is a part of that class. like commandResponse.setProductOrder(po…

nihar
- 135
- 1
- 17
0
votes
2 answers
how to count the occurence of same item added in the list?
If there is an item already, and the same item is added again then it should show "2 now" beside that grocery item. This number should increase every time the same item is added to the grocery list. Please help me solve this issue. This is my…

ashi kaur
- 1
- 2
0
votes
1 answer
Update radio button after action button input shiny
I'm creating a shiny app, and I want one of my tabs to be a 13 question quiz/game. However, I don't want all 13 questions displayed at once. I want to include an action button that when the user presses, the next question is displayed. Currently,…

ccusack
- 1
0
votes
1 answer
Dispatch a CompletionStage / CompletableFuture API service in a Reactive REST GET endpoint with Quarkus/Mutiny
After implementing a Reactive REST GET endpoint with Quarkus / Mutiny using a callback structure and checking the variant with a blocking service i finally played with a CompletionStage / CompletableFuture API version;
How do i call a…

Roland Beuker
- 354
- 1
- 15
0
votes
1 answer
Is there a way to server static files in Java Webflux?
Hi everyone i am searching now the full day and i do not found a solution.
I could server static file in a mvc spring application without problems but with webflux i do not found a way how i can serve them.
I put in ressource a folder with the name…

Julian Klaemke
- 45
- 1
- 5
0
votes
2 answers
From two selectInputs in the server, how to make one dependent on another?
First of all, I am so sorry if the main question (the title) of the post is not clearly enough. I didn't how to write a question with my problem.
Well, the thing is that I have two select inputs. The main one: Dataset, which have 2 options: 1) Cars…

emr2
- 1,436
- 7
- 23
0
votes
2 answers
reactivity dependent on conditional confirmation dialog
In this minimal example, how can I update the textOutput only after the confirmation of the modalDialog buttons for the change png -> svg. (svg-> png requires no confirmation)
The confirmation dialog should be available only for the change png ->…

Ferroao
- 3,042
- 28
- 53
0
votes
1 answer
How to keep an app reactive when needing to subscribe?
I have a fully reactive web app that aggregates the information from two other backend-services.
Incoming request -> sends request to service A and B -> aggregates responses -> response is emitted.
pseudocode:
public…

Robert van der Spek
- 1,017
- 3
- 16
- 37
0
votes
1 answer
Dispatch a blocking service in a Reactive REST GET endpoint with Quarkus/Mutiny
Lately i've implemented a Reactive REST GET endpoint with Quarkus/Mutiny using a callback structure;
Connect MyRequestService to Reactive REST GET endpoint with Quarkus/Mutiny
After finishing, I was wondering how this is settled with a call to a…

Roland Beuker
- 354
- 1
- 15
0
votes
0 answers
Run code to create table and download table
I just started to use Shiny and I'm having some troubles with my code. I tried several codes and searched a lot but I can't figure out how to create what I need.
I have a .R file that has several formulas and in the end returns a .csv file. I need…
user11041887
0
votes
1 answer
Complete Uni with placeholder item, without cancelling the processing pipeline, if no item has been produced before deadline
I have a pipeline of asynchronous operations that takes a long time to complete, and I would like to
let the Uni continue with a placeholder item if the pipeline has not produced an item before a deadline, like this:
Uni- u =…

sirf
- 3
- 2