Re: [R] Issue with gc() on Ubuntu 20.04

2023-08-27 Thread John Logsdon
On 27-08-2023 21:02, Ivan Krylov wrote: On Sun, 27 Aug 2023 19:54:23 +0100 John Logsdon wrote: Not so although it did lower the gc() time to 95.84%. This was on a 16 core Threadripper 1950X box so I was intending to use library parallel but I tried it on my lowly windows box that is years

Re: [R] Query on finding root

2023-08-27 Thread Ben Bolker
This doesn't look like homework to me -- too specific. The posting guide says that the list is not intended for "Basic statistics and classroom homework" -- again, this doesn't seem to fall into that category. tl;dr, I think the difference

Re: [R] Query on finding root

2023-08-27 Thread Rolf Turner
On Fri, 25 Aug 2023 22:17:05 +0530 ASHLIN VARKEY wrote: > Sir, Please note that r-help is a mailing list, not a knight! ️ > I want to solve the equation Q(u)=mean, where Q(u) represents the > quantile function. Here my Q(u)=(c*u^lamda1)/((1-u)^lamda2), which is > the quantile function of

Re: [R] Issue with gc() on Ubuntu 20.04

2023-08-27 Thread Ivan Krylov
On Sun, 27 Aug 2023 19:54:23 +0100 John Logsdon wrote: > Not so although it did lower the gc() time to 95.84%. > > This was on a 16 core Threadripper 1950X box so I was intending to > use library parallel but I tried it on my lowly windows box that is > years old and got it down to 88.07%.

[R] Issue with gc() on Ubuntu 20.04

2023-08-27 Thread John Logsdon
Folks I have come across an issue with gc() hogging the processor according to Rprof. Platform is Ubuntu 20.04 all up to date R version 4.3.1 libraries: survival, MASS, gtools and openxlsx. With default gc.auto options, the profiler notes the garbage collector as self.pct 99.39%. So I