I am trying to convert my data to flat data. I do all the required updates and load the required packages. When I go to enter this code:
df.alltags ← tbl.alltags %>%
collect() %>%
as.data.frame()
I get an error code like this:
Error in "db_query_fields.DBIConnection()':
! Can’t query fields.
Caused by error:
! bad_weak_ptr
Run ‘rlang::last_trace()’ to see where error occured.
When I try to trace the error I still am not able to solve the issue. I know it has something to do with the data size/memory. To be honest, R is not my strong suit anyway, so if anyone has an solutions and/or ideas to go about this I would really appreciate it!