I am plotting a time series graph using ggplot, however whenever the size of the data frame is more than 600 , Ggplot throws the following error:
Any errors. Error in default (brake): Length 1136073601 is too large for hashing
In fact It has just given me a single error when I try to plot 400 items.
Data Variable Value 1 2006-07-01 00:00: 00 Speed 4.180111 2 2006-07-02 00:00:00 Speed 5.527226 3 2006-07-09 00:00:00 Speed 6.650821 4 2006-07-16 00:00: 00 Speed 4.380063 5 2006-07-23 00: 00:00 Speed 5.64170 9 6 2006-07-30 00:00:00 Speed 7.636913 7 2006-08-06 00:00:00 Speed 7.128334 8 2006-08-13 00: 00:00 Speed 4.71 9 46 ... 201 2006-07-01 00:00:00 Temperature 17.140069 202 2006-07-02 00:00:00 Temperature 17.517480 203 2006-07-09 00:00:00 Temperature 14.211002 204 2006- 07-16 00:00:00 Temporary 20.121617 205 2006 -07-23 00:00:00 Temporary 17.933492 206 2006-07-30 00:00:00 Temporary 15.244583
To plot these things My code for is based on:
qplot (time, value, data = test3, geom = "line", group = variable) + facet_grid (variable ~., Scale = "free_y ")Any sign and I will be very grateful!
I'm using this to massage the date mentioned from the date:
test $ time & lt; - StripTime (test $ time, format = "% Y-% m-% d% H:% M:% S") test $ time & lt; - as.POSIXct (test $ time, format = "% H:% M: (test $ time)" [1] "POSIXt" "POSIXct" "class < Code>
Set a timezone explicitly in calls. POSIXct (), like
Comments
Post a Comment