Re: [R] Option "-shared" not being passed to gcc when installing packages

2023-09-21 Thread Simon Knapp
Thanks Ivan. I do have things in /etc/R. I have copied all files in /etc/R them out of a freshly pulled r-base:latest docker container. This seems to have worked. Thank you! How would I generally replace those or get them updated when installing a new version of version of R (which I do using R a

Re: [R] Could you manually replicate execution of a R function

2023-09-21 Thread Ivan Krylov
On Tue, 19 Sep 2023 23:09:18 +0530 Brian Smith wrote: > C = rep(0, length(D)) > N = length(D) In the VaRDurTest function, there's additional code between these two expressions that deals with censoring if head(VaR.ind, 1) == 0 or tail(VaR.ind, 1) == 0. Both of these are true for your input data.

Re: [R] Option "-shared" not being passed to gcc when installing packages

2023-09-21 Thread Ivan Krylov
On Thu, 21 Sep 2023 10:09:56 +1000 Simon Knapp wrote: > I am using R version 4.3.1 (2023-06-16) -- "Beagle Scouts" on ubuntu > 20.04 > gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG-fopenmp -fpic > -g -O2 -fdebug-prefix-map=/build/r-base-jbaK_j/r-base-3.6.3=. It seems to be picking up com