Questions tagged [reactive]

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.

2049 questions
0
votes
1 answer

ReactiveSwift error after update to Xcode12( Error msg: Cannot convert value of type 'Disposable?' to closure result type 'Void')

The following func runs well before I update to Xcode12, I'm new to ReactiveSwift and I don't know how to fix this issue, thanks for you help! Error message: Cannot convert value of type 'Disposable?' to closure result type 'Void' public func…
ImWH
  • 820
  • 1
  • 7
  • 20
0
votes
0 answers

connecting to MySql causing "Connection refused no further information"

Desire: I want use VERTX in order to write/read reactively to/from MySql. Context: I want to code a Micronaut Kafka consumer which saves the event in MySql (or any database) based in no blocking approach and raactive paradigma. I tried followed…
Jim C
  • 3,957
  • 25
  • 85
  • 162
0
votes
2 answers

Angular form data to be sent in an array

I am sending a post request to the backend with just one input field and I able to display my request in console as "request". But the backend is expecting the request to be in an array like this ["request"].
Navdeep
  • 11
  • 1
0
votes
1 answer

How to access the output of an eventReactive when that eventReactive is called again. RShiny

I am trying to create a sampling distribution app for my students. I want to be able to show them that when you take another sample, the sampling distribution builds. I have "add1" and "add5" buttons that are meant to add that many samples to my…
0
votes
1 answer

Subtracting columns from different dataframes inside reactive expression

Newbie to RShiny here, hoping for some guidance. I am trying to build a simple shiny app that allows the user to upload two csv files, subtract specific columns of one dataframe (B) from another (A) [both with the same column structures], and…
IDLHTA
  • 5
  • 1
0
votes
1 answer

How to add rows to DT package while saving the edits made

I am trying to develop a shiny app that will allow users to add, delete and save edits to a DT table with the editable settings enabled. However for some reason I am not being able to add a row. Anybody has any clues as to why this is happening? I…
Sahib
  • 160
  • 8
0
votes
1 answer

reactivity in timevis package: passing selectinput variable to subgroup

Using the timevis package (dean attali) in R I would like to plot the timeline by group individually with a selectinput widget in r shiny: Error in : Can't subset columns that don't exist. x Column 2 doesn't exist. Can someone help? Thank you My…
TarJae
  • 72,363
  • 6
  • 19
  • 66
0
votes
1 answer

Eagerly connect to topic as a Kafka Producer

I'm implementing a service which sends messages to a downstream service via a Kafka topic. This will only happen when my service's API is called, which is likely to be infrequently, at least at first. I've found that the reactive Kafka producer API…
AndyB
  • 453
  • 1
  • 7
  • 16
0
votes
1 answer

Reactive Bar Chart in Shiny with gather

I am trying to add a barchart to my dashboard in Shiny but I'm having issues when it comes to reshaping the data. I want to display the number of Red/Amber/Green ratings for each metric and have this react based on the Country and Region…
user14142459
  • 79
  • 1
  • 2
  • 6
0
votes
1 answer

Shiny app in R : How to update table output based on inputs selection

As a first class project in R, I am trying to build a Shiny app to display Paris Metro lines, stops and schedule. I successfully managed to create a dynamic map that show stops based on selected line. I'd like now to display selected stop schedule…
0
votes
1 answer

Trade-offs of programming with such frameworks as reactivex, kotlin-coroutines, akka-actors?

All these frameworks create another level of abstraction on top of Threads. For example using kotlin-coroutines will seemingly require more CPU cycles than pure threads because of scheduling. For reactive we have same situation, extra level - more…
A. L.
  • 712
  • 1
  • 10
  • 16
0
votes
1 answer

How to create a reactive data frame and table from user input checkboxes in shiny

so basically I am trying to develop a user interface where a person could select yes or no if they have the disease in the checkbox. Then it will take that yes/no answer for each corresponding disease and create a data frame so that a date table can…
0
votes
1 answer

r shiny reactive gtsummary table

After I fixed the rendering problem of {gtsummary} with your help: How to use {gtsummary} package in r shiny app !thanks to stefan again, I try to construct reactivity in my app. After construction of the summary table with {gtsummary} I would like…
TarJae
  • 72,363
  • 6
  • 19
  • 66
0
votes
0 answers

spring boot Neo4j⚡️RX dto projection with relationship not working

I am trying to use DTO projection, to get only selected relation by the DTO to optimize Neo4j query. It works fine with normal fields but when I try to get insight relationship with the projected fields, it returns null. This is my Node…
suliman
  • 334
  • 6
  • 17
0
votes
1 answer

Is there any risk in having reactive approach micro-services for API integration (direct using WebClient) ,without any message broker?

I am implementing microservices API however not planning to have any message broker. API Services will talk to each other with WebClient/web flux. Not using any message broker due to skill/budget challenges. Is there any risk of going production…
1 2 3
99
100