Skip to content
Prev 57469 / 63421 Next

Calling a LAPACK subroutine from R

On 11/09/2019 21:38, Berend Hasselman wrote:
another way is to use directly dyn.load():

lapack.path <- paste0(file.path(R.home(), ifelse(.Platform$OS.type == 
"windows",
 ???????? file.path("bin", .Platform$r_arch, "Rlapack"), 
file.path("lib", "libRlapack"))),
 ???????? .Platform$dynlib.ext)
dyn.load(lapack.path)

followed by your code.

Best,
Serguei.