This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: R-3.3.3-1: unable to load stats.dll

On 28/03/2017 16:16, Oliver Schoett wrote:
Marco Atzeri via cygwin wrote:
Versions 3.3.3-1  of

for cygwin are now available

When I try to use Rscript, I get the warning below.  However, the file
|/usr/lib/R/library/stats/libs/stats.dll| exists and looks fine:

   $ ls -la /lib/R/library/stats/libs/stats.dll
   -rwxr-xr-x 1 oschoett Domain_Users 646675 Mar  9 08:13
   $ file /lib/R/library/stats/libs/stats.dll
   /lib/R/library/stats/libs/stats.dll: PE32+ executable (DLL) (console)
x86-64, for MS Windows

How can I make R usable without this warning again?

Oliver Schoett

$ Rscript.exe library.R

What is library.R ?

Error in dyn.load(file, DLLpath = DLLpath, ...) :
  unable to load shared object '/usr/lib/R/library/stats/libs/stats.dll':
  No such file or directory
During startup - Warning message:
package ‘stats’ in options("defaultPackages") was not found
Packages in library ‘/usr/lib/R/site-library’:

call to the demo functions work fine for me:

$ Rscript.exe /usr/lib/R/library/stats/demo/glm.vr.R

glm(formula = Fr ~ M.user * Temp * Soft + Brand, family = poisson,
    data = detg)

Deviance Residuals:
     Min        1Q    Median        3Q       Max
-2.20876  -0.99190  -0.00126   0.93542   1.97601

                            Estimate Std. Error z value Pr(>|z|)
(Intercept)                  4.01524    0.10034  40.018  < 2e-16 ***
M.userY                     -0.21184    0.14257  -1.486  0.13731
TempHigh                    -0.42381    0.15159  -2.796  0.00518 **
SoftMedium                   0.05311    0.13308   0.399  0.68984

and also ldd is fine

$ ldd  /usr/lib/R/library/stats/libs/stats.dll
        ntdll.dll => /cygdrive/c/Windows/SYSTEM32/ntdll.dll (0x77230000)
kernel32.dll => /cygdrive/c/Windows/system32/kernel32.dll (0x77010000) KERNELBASE.dll => /cygdrive/c/Windows/system32/KERNELBASE.dll (0x7fefd2b0000)
        SYSFER.DLL => /cygdrive/c/Windows/System32/SYSFER.DLL (0x74c40000)
        libR.dll => /usr/bin/libR.dll (0x3d0ba0000)
        cygblas-0.dll => /usr/bin/cygblas-0.dll (0x3eefd0000)
        cygwin1.dll => /usr/bin/cygwin1.dll (0x180040000)
        cygbz2-1.dll => /usr/bin/cygbz2-1.dll (0x3ee590000)
        cygiconv-2.dll => /usr/bin/cygiconv-2.dll (0x3e31c0000)
        cygicui18n58.dll => /usr/bin/cygicui18n58.dll (0x3de1e0000)
        cygicuuc58.dll => /usr/bin/cygicuuc58.dll (0x3ddb50000)
        cygicudata58.dll => /usr/bin/cygicudata58.dll (0x3de830000)
        cyggcc_s-seh-1.dll => /usr/bin/cyggcc_s-seh-1.dll (0x3e8a50000)
        cygstdc++-6.dll => /usr/bin/cygstdc++-6.dll (0x3d56f0000)
        cygintl-8.dll => /usr/bin/cygintl-8.dll (0x3dda90000)
        cyglzma-5.dll => /usr/bin/cyglzma-5.dll (0x3dc680000)
        cygpcre-1.dll => /usr/bin/cygpcre-1.dll (0x3d8490000)
        cygreadline7.dll => /usr/bin/cygreadline7.dll (0x3d6920000)
        cygncursesw-10.dll => /usr/bin/cygncursesw-10.dll (0x3db880000)
        cygtirpc-1.dll => /usr/bin/cygtirpc-1.dll (0x3d45c0000)
        cyggssapi_krb5-2.dll => /usr/bin/cyggssapi_krb5-2.dll (0x3e53f0000)
        cygk5crypto-3.dll => /usr/bin/cygk5crypto-3.dll (0x3dd200000)
        cygkrb5support-0.dll => /usr/bin/cygkrb5support-0.dll (0x3dcfd0000)
        cygkrb5-3.dll => /usr/bin/cygkrb5-3.dll (0x3dcfe0000)
        cygcom_err-2.dll => /usr/bin/cygcom_err-2.dll (0x3ea5d0000)
        cygz.dll => /usr/bin/cygz.dll (0x3d1020000)
        cyggomp-1.dll => /usr/bin/cyggomp-1.dll (0x3e6510000)
        cyglapack-0.dll => /usr/lib/lapack/cyglapack-0.dll (0x3c7170000)
        cyggfortran-3.dll => /usr/bin/cyggfortran-3.dll (0x3e7070000)
        cygquadmath-0.dll => /usr/bin/cygquadmath-0.dll (0x3d69b0000)

Please follow
Problem reports:

and provide cygcheck.out as attachement.

Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]