-----Original Message-----
From: R-sig-meta-analysis <r-sig-meta-analysis-bounces at r-project.org> On Behalf
Of Yefeng Yang via R-sig-meta-analysis
Sent: Wednesday, May 22, 2024 11:19
To: r-sig-meta-analysis at r-project.org
Cc: Yefeng Yang <yefeng.yang1 at unsw.edu.au>
Subject: [R-meta] errors returned by rma() and rma.mv() when fitting a large
dataset
Dear community,
I am trying to test publication bias using trim-and-fill and selection model in
metafor package. When I ran the RE model with my dataset, it returned my the
following error:
Error: cannot allocate vector of size 33.8 Gb
I tried both rma() and rma.mv() (the later also can be used to fit RE model).
I think this was caused by the large number of data points in my dataset. My
dataset contains 67,393 rows (or more precisely, 67,393 paired effect size
estimates and sampling variance).
Is there any solution workaround that allows me to fit a RE model with a large
number of effect sizes, and perform the following trim-and-fill and selection
model?
Very much appreciate your comments.
Best regards,
Yefeng