您可以从以下位置获取: integrate(Vectorize(function(y) { integrate(function(x) {x*y}, 0, 1-2*y)$value }), 0,0.5) 0.01041667 with absolute error < 1.2e-16