All Questions

Tagged with
Filter by
Sorted by
Tagged with
5
votes
1answer
110 views

ggiraph plot not appearing in shiny app, but works in RStudio

I really want to use ggiraph to add tooltips in my shiny app. However, when I try to do so the plot does not appear. In the example below I used a plotOutput and ggiraphOutput but only my.plot appears....
4
votes
1answer
575 views

How add more information in tooltip cloude in ggiraph packages in R?

I would like to create a cloud which shows information about the point using tooltip in ggiraph packages. I can create a cloud with only one information (from one column), but I would like to add ...
4
votes
2answers
1k views

ggiraph plot doesn't resize to fit the page

Here is my code: library(shiny) library(ggplot2) library(ggiraph) df <- data.frame(achseX = LETTERS[1:24], achseY = 1:24, facetX = as.factor(rep(1:4, each = 6))) server <- function(input, ...
3
votes
2answers
488 views

R Shiny ggiraph and d3heatmap Compatibility Issues

I'm trying to add an interactive heatmap to my Shiny app, but I also have interactive graphs using ggiraph. I'm currently using the d3heatmap package, but the heatmaps don't render in the app. I've ...
3
votes
1answer
944 views

R ggiraph with ggmap for interactive/reactive longitude and latitude points - scale or axis issue?

The new ggiraph package is really great for making ggplot2 reactive to users' mouse, no problems. However I'm having trouble getting this to work properly with ggmap() for interactive/reactive ...
2
votes
1answer
1k views

shiny - how to use ggiraph

My dataset as follows.... fund , sharpe , risk abc , 1.5 , 7 def , 0 , 5 selectInput("n_breaks", label = "Risk Profile:", choices = c(1,2,3,4,5,6,7,8,9,10), selected = 7) # Reactive selectedData &...
2
votes
1answer
363 views

How to change encding of column names to utf 8 in R

I've got a daata frame with Russian colnames in UTF-8. I do some lineer modeling with purrr and explore coefficients with broom::tidy(), then I receive a data frame with mixed column name encodings, ...
2
votes
1answer
48 views

Plot list of plots in GGiraph

I am trying to plot a list of plots using GGiraph in Rstudio. The solution to plot multiple plots is either through Cowplot (ggobj = plot_grid(plot1, plot2)) or Patchwork (code = print(plot / plot)). ...
2
votes
1answer
575 views

Error libxml-2.0 not found when installing ggiraph

Trying to install R package ggiraph on my Mac OS X I ran into a problem with dependency xml2. This seems to be a fairly common problem for users of this and other packages so after reading threads ...
2
votes
1answer
379 views

R ggiraph - no plot when running .R file

How do I get the graph when executing a .R file? The file (test.r) looks like this: library(ggplot2) library(ggiraph) gg <- ggplot(data = mtcars, aes(x = mpg, y = wt, color = factor(cyl))) gg1 <...
1
vote
1answer
46 views

Show Overlay Page onclick of ggiraph plot in Shiny R

I an R shiny app, I want to show an overlay page with additional information to a data point when clicking on a {ggiraph} scatterplot. I want to dynamically construct this overlay page as renderUI in ...
1
vote
1answer
489 views

Tooltip missing for geom_line_interactive in ggiraph

I wanted to add tooltip to ggsurvplot. I am using ggiraph to display the plot. Since ggiraph does not have geom_step_interactive, I am manipulating my the data output of ggsurvplot to get the step ...
1
vote
1answer
100 views

geom_point_interactive issue when passed alongside geom_boxplot

I wonder if you can help me. I often use the splendid ggiraph, but have recently encountered an issue where it doesn't seem to work when one of its interactive geoms is paired with another geom (...
1
vote
1answer
330 views

ggiraph htmlwidgets with bookdown and new_session = yes

This seems related to to rstudio/bookdown#15 but I haven't been able to figure pin it down. The example is here but the offending code is p2 <- ggplot(mtcars, aes(x = disp, y = mpg)) + ...
1
vote
2answers
251 views

Order of stacked bar charts differ between ggplot2 and ggiraph

I'm building a shiny app that prepares a stacked bar chart with a tooltip showing levels of satisfactions across 3 items and 2 types of respondents. Here's the data that makes up the chart: mydf <- ...

15 30 50 per page