This is the first time I’ve come across an error like this.
I’m trying to use pivot_longer on a tibble (size 995274 rows by 70 cols, 632313408 bytes) so that I can filter each column (rather than writing filter() 70 times)and only keep values under the 99th percentile of that column. When I try to this I get an error “Error: cannot allocate vector of size 479.5 Mb”. I’ve had a quick search online, but not found if there’s anything definitive I can do, apart from using an alternative method to pivot_longer.
Anyone had anything similar or know what can be done?