X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=e/nSqIaSE1ivtRYW yl7egSont3BxpdcUTLytrjLXa6fN+MzqZvfHchZh3pIPNYi4oNukUXmQ4Ey3VcQO LCpDaG4uq0V2hePq/s7ElBtNn+B16K/lz8JtKn9Debbrb+ooGudhbXBw+prd75k+ jUPf7jx3cxGKflHrhZzoqIkVj3E= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=XgAjkEafRjB+5HRHDXYOh2 ajFLs=; b=F0tGVnJ/RaNEWmdt10Fh3D2pzEWMzF8y1giiqcYh+Yiw5qRkYr/kH8 xQO837FlBEvQbDVzeMjazrLwY856XkfLPfi2naJC3/MNzwzY5ZdayQQn1KFlJiml +wTYLN4jZEeMD6bJ56wOAYT550rJmnaVqlKfVLugfId91UYT3gqTU= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=Brand, Oliver, H*MI:sk:a3b1c41, H*f:sk:a3b1c41 X-HELO: mail-pg0-f46.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=khvZHyggVcdY6M3nw7HsfKyUkk+B5YRCgEIpwejufwA=; b=LEyLrBF8rXh7b8k3s4aOLJ98eX0hGLsBGaWzwpV/F29WDP+K0P4rEObFjrUomgUI6Z uOt59QgBP1wjx/EBb5Jet6obh/j38b2hP8xLrWdBLZXPx3otOwnyy34U3nt1Yqo9Dndf pSqOiKvTsMaCsS9jlPIU9QR7LeFbTn/YNlHmyMBAw/Q3D0cW4iumFaRMr47u2lp7dGsO KeQKJBckuUmeTPt3fJIXH/grUEF45sMRjdBOL8XN5r8+ZxzsShh5WmVGiqh/KCc2wFVj m9SIbnm1x3xzJ/voa3xjZEKMoJuqnwiU2+Vir5lXmfn6YR7kxBmANeyRoRTzB+hOY5WG fheg== X-Gm-Message-State: AFeK/H1PBnWEYvcN67h2KA7kqVq9RjWV8+XtKXxwcgjUVGGPNhBwbucFX6fW+P7jLXlWyw== X-Received: by 10.84.217.149 with SMTP id p21mr36838444pli.18.1490712882937; Tue, 28 Mar 2017 07:54:42 -0700 (PDT) Subject: Re: R-3.3.3-1: unable to load stats.dll To: cygwin AT cygwin DOT com References: From: Marco Atzeri Message-ID: Date: Tue, 28 Mar 2017 16:54:34 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes On 28/03/2017 16:16, Oliver Schoett wrote: > Marco Atzeri via cygwin wrote: >> Versions 3.3.3-1 of >> R >> libRmath >> libRmath-devel >> >> 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 > /lib/R/library/stats/libs/stats.dll > $ 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 Call: 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 Coefficients: 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: http://cygwin.com/problems.html and provide cygcheck.out as attachement. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple