Skip to content
Prev 11182 / 15075 Next

Problem with GSUB in PEIP

You may want to report to the maintainer - the GSVD sources have the following which is completely broken:
function (A, B) 
{
    SS = Sys.info()
    ssysname = SS[[1]]
    if (ssysname == "Linux") {
        lpath = paste(R.home(), "/lib/libRlapack.so", sep = "")
    }
    else {
        lpath = paste(R.home(), "lib/i386/libRlapack.dylib", 
            sep = "")
    }
[...]
    dyn.load(lpath)

It seems like the author failed to use the proper flags for linking LAPACK and then tried to hack around it in a horrible way that doesn't really work.

I suppose this happens when you don't even have a single test that a particular function works otherwise CRAN checks would not allow it in...

Cheers,
Simon
On May 4, 2015, at 2:55 PM, Roy Mendelssohn - NOAA Federal <roy.mendelssohn at noaa.gov> wrote: