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
p <- ggplot(employ.data ,aes(x=employee, y=salary)) +
geom_bar(stat='identity', color="black")
ggplotly(p)
if you run this dataframe with
salary <- c(210, 234, 268) = run instantly
and if you run with
salary <- c(210000000, 234000000, 268000000) = crash machine by high memory
Hello,
if i try to run ggplotly with large values (even with low number of observations)
when run, crash my machine. (i tried with another machine, and same problem)
code below:
library(ggplot2)
library(plotly)
employee <- c('John Doe','Peter Gynn','Jolie Hope')
salary <- c(210000000, 234000000, 268000000)
employ.data <- data.frame(employee, salary)
p <- ggplot(employ.data ,aes(x=employee, y=salary)) +
geom_bar(stat='identity', color="black") +
scale_y_continuous(labels = function(x) format(x, big.mark = '.', decimal.mark = ',', scientific = FALSE))
ggplotly(p)
thanks
The text was updated successfully, but these errors were encountered: