peri He @t@t|@t|c@84 @end|ng |rom hotm@||@com
Thu Jun 10 05:48:29 CEST 2021

Dear Friends,

I am running a simple code for rinla.  The INLA package is installed successfully on Rstudio.
But when I run inla (y~x,......) function, I get the following error: could not find function "inla"
Did anybody have the same problem before?

I would appreciate it if any information is shared.


install.packages("INLA", repos = "https://inla.r-inla-download.org/R/stable", dep = TRUE)

N = 100      #500, 5000, 25000, 100000
x = rnorm(N, mean=6, sd=2)
y = rnorm(N, mean=x,sd=1)
data = list(x=x, y=y, N=N)
# The likelihood family is �gaussian�
model<- inla(y ~ x, family = c("gaussian"), data = data, control.predictor=list(link=1))
Summary <- (model)

	[[alternative HTML version deleted]]

More information about the R-help mailing list