Skip to content
Advertisement

Tag: r

render javascript component (ag-grid) in r shiny

I am trying to include the most basic example of ag-grid from their website in a R-shiny application, starting from there I will add more and more trying to setup a proper communication frontend-backend on data edit. However I am stuck at the basics of the inclusion. The component is included in source code but not rendered: This is the

Rselenium – cannot download spreadsheet in iframe

I am trying to download soil fertility data from the following website: https://soilhealth.dac.gov.in/publicreports/FertilityIndex I have got to the point where I can load the spreadsheet containing the data within an iframe. However I cannot figure out how to access the download button. This is the code I have so far: Any help would be much appriciated! Answer After you have

networkD3 in R – Freeze forceNetwork()

Is there any way to freeze the layout with forceNetwork() in the {networkD3} lib? This is taking me a lot of time, because of the number of nodes that my network has. I just need to stop the animation. I found something here, but didn’t solve my problem. Here is part of my code: Answer You could stop the simulation,

Dynamically load data into rmarkdown html output

Is there a way to have the data associated with and html output file generated via Rmarkdown be loaded dynamically (e.g., via javascript or ajax) when opening the html output? For instance, I have this simple Rmarkdown file which produces a plot (in svg) and a table: Is there a way to feed the data to the html file so

Advertisement