I have a data frame appt
which is 91.2MB in size, comprising 29255 observation of 51 variables.
When I tried to check its end with tail(appt)
, I get the error
Error: C stack usage 20212630 is too close to the limit
I have no clue what to do to trouble shoot this. Any suggestions on what I can do?
As additional info, I have in memory at the same time a few other variables of almost comparable size, including a 90.2MB character vector and a 42.3MB data frame of 77405 obs. x 60 variables. Calling tail
on these two other variables did not trigger any error.
Edit:
I have narrowed down that the error occurs only when the last row is accessed. i.e. appt[29254, ]
is fine, appt[29255, ]
throws the error.