Hello everone!
I have a weird problem with RStudio IDE. While I am executing even simply piece of code with plotly function, it sudenlly freezes up. First code below executes with over 1GB ram usage for RStudio, 2nd one takes 2 times more and freezes up RS. I can't even close it, the only way is to abort session (after like 2min the window appears) or end task in windows manager. The interesting thing is that I can see how ram usage grows, approximately 20-50mb per ~1sec
I have w11 with 16GB RAM (total) and cpu r5 1600
diamonds %>%
plot_ly(
x = ~color,
y = ~price,
color = ~clarity
) %>%
add_bars(
showlegend = F,
xaxis = list(title = "Colour"),
yaxis = list(title = "Price")
)
diamonds %>%
plot_ly(
x = ~color,
y = ~price,
color = ~clarity,
text = ~paste(
"Some details about this bar: ", "<br>",
"Colour: ", color, "<br>",
"Clarity: ", clarity, "<br>",
"Price: ", price, "<br>"
),
hoverinfo = "text"
) %>%
add_bars(
showlegend = F,
xaxis = list(title = "Colour"),
yaxis = list(title = "Price")
)