You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I came across an error while use ggplotly:
The code:
library(ggplot2)
library(plotly)
df <- data.frame(x = rep(c('A','B','C'),3), y = 1:9, group = rep(c('x','y','z'),each = 3))
p <- ggplot(df, aes(x = x, y = y, group = group)) + geom_line()
ggplotly(p)
errors:
loading:‘plotly’
The following object is masked from ‘package:ggplot2’:
last_plot
The following object is masked from ‘package:stats’:
filter
The following object is masked from ‘package:graphics’:
layout
*** caught segfault ***
address 0xb7, cause 'memory not mapped'
Traceback:
1: .External("cairo_create_new_device", as.character(ctype), file, width, height, pointsize, bg, canvas, umpl, dpi, ..., PACKAGE = "Cairo")
2: dev_fun(file = tempfile(), width = width %||% 640, height = height %||% 480)
3: gg2list(p, width = width, height = height, tooltip = tooltip, dynamicTicks = dynamicTicks, layerData = layerData, originalData = originalData, source = source, ...)
4: ggplotly.ggplot(p)
5: ggplotly(p)
An irrecoverable exception occurred. R is aborting now ...
Segment error (core dumped)
Hi,
I came across an error while use ggplotly:
The code:
errors:
sessionInfos:
Any problem about my code?
Best,
Gerde
The text was updated successfully, but these errors were encountered: