Skip to content Skip to sidebar Skip to footer
Showing posts with the label R

R Shiny + Plotly : Change Color Of A Trace With Javascript Without Affecting Markers And Legend In Multiple Plots

This is a follow up question based on THIS post. The demo app here is a closer representation of … Read more R Shiny + Plotly : Change Color Of A Trace With Javascript Without Affecting Markers And Legend In Multiple Plots

Convert R Data.frame To Javascript Array

I want to save some columns of my data frame into a specific format (JavaScript format). I've t… Read more Convert R Data.frame To Javascript Array

Forcenetwork Is Not Zero Indexed

I am trying to create a simple forceNetwork, but the plot won't render. I keep getting the foll… Read more Forcenetwork Is Not Zero Indexed

Sweetalert2 Text Input With Validation Of The Text With Javascript In R Shiny

I am upgrading from sweetalert to sweetalert2 in R shiny and so far have managed to get the regular… Read more Sweetalert2 Text Input With Validation Of The Text With Javascript In R Shiny

How To Focus On Textinput Field In Alert Combined With Modaldialog In R?

I am building a Shiny app in which a user can open a modalDialog by clicking on points in a plot. T… Read more How To Focus On Textinput Field In Alert Combined With Modaldialog In R?

Disable Elements When Shiny Is Busy

I'm using a piece of javascript from this question: SO It works for buttons, but I would also l… Read more Disable Elements When Shiny Is Busy

Synchronize Horizontal Scrolling Of Two Handsontables

I'd like to synchronize the scrolling of two handsontables in a shiny app. I tried some attemp… Read more Synchronize Horizontal Scrolling Of Two Handsontables

Including Js/css Scripts In Shiny App

I am building a Shiny application, but as it should get arguments for data for building plots, I de… Read more Including Js/css Scripts In Shiny App

Mysterious Javascript Bug That Is Depending On What Plot Object Names Are Used In R Shiny App

In the app below there is some weird mystery going on: Why can I not use certain names for my plot… Read more Mysterious Javascript Bug That Is Depending On What Plot Object Names Are Used In R Shiny App

Need Help For Opencpu And Igraph Output Format

My data Adjancy array is var g = [[10, 2], [15, 0], [18, 3], [19, 6], [20, 8.5], [25, 10], [30, 9]… Read more Need Help For Opencpu And Igraph Output Format

Shiny.oninputchange Is Not A Function

I have code like is in my shiny app: $(function() { Shiny.onInputChange('initialHash', p… Read more Shiny.oninputchange Is Not A Function

Trouble Scraping A Table Into R

I am trying and failing to scrape the table of average IQs by country from this web page into R. I&… Read more Trouble Scraping A Table Into R

Add Shaded Rectangle With Select Box Corners In Plotly R

I am trying to create an application where if a user employs the Box Select tool in Plotly, then a … Read more Add Shaded Rectangle With Select Box Corners In Plotly R

R Leaflet Custom Attribution String

When using the R leaflet package, how can I add something additional to the attribution string (i.e… Read more R Leaflet Custom Attribution String

Dynamically Created Selectinputs Not Recognized In Server

I created a simple project where I generate select inputs from a list in one module (selector) whic… Read more Dynamically Created Selectinputs Not Recognized In Server

How To Use The 'aftercolumnresize' Event With 'rhandsontable'?

The JavaScript library Handsontable has an event afterColumnResize, triggered when a column is manu… Read more How To Use The 'aftercolumnresize' Event With 'rhandsontable'?

How To Pass Shinytree Values To Drop Down Input In Shiny

I'm trying to create dropdown input in shiny which has hierarchical drop-down list in R shiny l… Read more How To Pass Shinytree Values To Drop Down Input In Shiny

Add Line Numbers To Text Content Of A Rendered Rmarkdown Html Document

I am writing a report in Rmarkdown which shall be rendered in html because it contains Rshiny chunk… Read more Add Line Numbers To Text Content Of A Rendered Rmarkdown Html Document

How To Focus On Textinput Field In Alert Combined With Modaldialog In R?

I am building a Shiny app in which a user can open a modalDialog by clicking on points in a plot. T… Read more How To Focus On Textinput Field In Alert Combined With Modaldialog In R?

How To Include Highcharts Motion Plugin For Bubble Plot Using R Wrapper?

Highcharts motion plugin - Requires 3 adjustments to a highchart. The inclusion of the js asset A… Read more How To Include Highcharts Motion Plugin For Bubble Plot Using R Wrapper?