FreeBSD 13.2 is running in virtual machine on arm64 (M1). I've compiled /usr/ports/math/R after a fresh install with portsnap. # This code is from # https://m-clark.github.io/generalized-additive-models/application.html library('readr') library('mgcv') pisa = read.csv("https://raw.githubusercontent.com/m-clark/generalized-additive-models/master/data/pisasci2006.csv") mod_gam1 = gam(Overall ~ s(Income, bs = "cr"), data = pisa) Too many args to microtask: 16! ==> R program crashes Same program is running fine on R-Studio on host (MacOS)
*** Bug 272166 has been marked as a duplicate of this bug. ***
I can only add a data point for now. I tested the code on my FreeBSD CURRENT system (14.0-CURRENT ee67461e5682) running R-4.3.1 and it was fine. Did you build R with default options?
(In reply to Joseph Mingrone from comment #2) answer is yes cd /usr/ports/math/R; make ; make install Running R-4.3.1 too