Questions tagged [profvis]
10 questions
2
votes
0 answers
How to find out how much memory in RAM is allocated to my shiny app
I have an app that I have made with the package shinydashboard. It has three scripts: ui.R, server.R, and global.R. For a year this app has been hosted on shinyapps.io without a problem. It does however use an API to extract data from a database in…

Nick
- 369
- 1
- 3
- 18
1
vote
0 answers
No more error handlers available (recursive errors?); invoking 'abort' restart during profvis()
The reprex below results in the error message, "No more error handlers available (recursive errors?); invoking 'abort' restart". This error message only appears when the code is wrapped within a profvis() call. Any insight into why this is happening…

latlio
- 1,567
- 7
- 15
1
vote
0 answers
How to solve error when using profvis package
Today I learned about the profvis package to make my code faster, from the identification of commands that are demanding more time. The example provided by the package (https://rstudio.github.io/profvis/) I can run normally, but when I try in my…

Antonio
- 1,091
- 7
- 24
1
vote
0 answers
Improve profvis performance for profiling shiny app
I have a very large and complex R Shiny app and I am trying to find bottlenecks or parts of the code to improve via the profvis package.
The problem is that profvis itself is performing very slowly (because of the processes and functions in my shiny…

chrisgeo
- 23
- 4
1
vote
2 answers
Optimization of raster to data frame function in terms of balance of RAM and speed in r
Problem
I am trying to use a model which requires me to transform, very large rastersStacks (around 10 million cells) to a data.frame, I am doing this on a shared server, and because of that, I am trying to optimize to reduce the RAM used, and…

Derek Corcoran
- 3,930
- 2
- 25
- 54
0
votes
0 answers
Shiny app is slow when I use filters (datamods)
In a modular shiny application, I have several tabs in which I use the datamods package to filter the data and display them with DT (renderDT). My data is quite large and is not displayed instantly. When profiling the application with the profviz…

nimliug
- 349
- 1
- 11
0
votes
0 answers
How do I reduce the time shiny spends on .rs.setShinyBreakpoints as documented in profvis()?
My very large app has a long delay at startup. I am trying to track down and fix whatever is causing the delay.
In the course of this I am learning to use profvis(). In going through the flame plot there are two huge delays (3480ms and 3540ms)…

Steven Ouellette
- 67
- 9
0
votes
0 answers
Run profvis for a rscript in the Rstudio terminal
Profvis works in console but trying to do the same via terminal command
profvis requires the code to be inside profvis({ })
Console method that works:
p <- profvis::profvis({source(myscript.R})
print(p) # gives flame/data output…

rsedg dadv
- 1
- 1
0
votes
0 answers
How to measure the time of individual function calls in a large R project?
I have a somewhat large R project and would like to identify performance bottlenecks by measuring how long the individual functions take to execute. I know of tools like microbenchmark for checking individual lines of code.
Is it possible to have a…

karpfen
- 489
- 8
- 19
0
votes
1 answer
renderHighcharts vs renderUI; Which one is faster when rendering several plots
I am building an App that at some point renders 7-16 Highcharts in a grid-layout.
The rendering of these Highcharts is quite slow and I am trying to make it faster.
Right now I am using renderUI(), htmlOutput() and highcharter::hw_grid() to render…

LauraFeh
- 46
- 6