I'm trying to plot a line chart of dt vs myvalue using Plotly in R. dt is a timestamp, and myvalue is an integer. However, I keep getting the error Error: C stack usage 15925408 is too close to the limit. In my test, I am only plotting 3 rows of the original dataframe which is basically nothing. So how can I fix this error?
library(plotly)
df = head(originalDf, 3)
dt = strptime(df$dt, "%Y-%m-%dT%H:%M:%OSZ")
myvalue = df$myvalue
plot_ly(df, x = dt, y = myvalue, type = 'scatter', mode = 'lines')