[R] gstat installation problem

Ivan Krylov kry|ov@r00t @end|ng |rom gm@||@com
Thu Feb 17 13:34:57 CET 2022


On Wed, 16 Feb 2022 15:20:48 +0100
Poizot Emmanuel <emmanuel.poizot using lecnam.net> wrote:

> I tried to install gstat package via install.packages('gstat')
> command on R (version 3.5.2) and my OS is Debian buster.

> mtrx.c: In function ‘CHfactor’:
> mtrx.c:391:74: error: ‘FC_LEN_T’ undeclared (first use in this 
> function); did you mean ‘FD_SET’?
>     F77_CALL(dpotrf)("Upper", (int *)&(m->n), m->v, (int *)&(m->n), 
> info, (FC_LEN_T) 5);

The gstat package doesn't declare a correct R version dependency, but
it does use a feature that appeared in a newer version of R. (3.6.2, I
think?)

Try installing older versions of gstat from
<https://cran.r-project.org/src/contrib/Archive/gstat/> until you find
one that's working. Alternatively, install a newer version of R from
<https://cran.r-project.org/bin/linux/debian/>.

-- 
Best regards,
Ivan



More information about the R-help mailing list