X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E12093858D3C
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1701220378;
	bh=gQ/Fa7wUqBinUL19gWQW9hZa2AkiftQSIwvbcyvxjp0=;
	h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post:
	 List-Help:List-Subscribe:From:Reply-To:From;
	b=a9amIbduKCDqIkRFaM8T6FXskvuL68/DZ2DuOoU86zq0nHM9hJl5ryKMALJEhYo84
	 speywvCqzOMAV9Q4W/w9F/CWC3izeB8BDE0vLXqBBUkLj1mwsPsL49plD/NBpGI1gP
	 5jgSTuDeNYwHwg5Z2kQ478CUY3mTob5ZBdH4JxZ8=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 788B83858D3C
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 788B83858D3C
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1701220363; cv=none;
 b=xMURVgXDBGsJBGTisLRIBePHcL8ffZ3kPPVMRZFABlxjJZ98X4ddxd1IqiICSAPNm49juYBITrmkt3DxC+eiLV2dvmU20f8nOGfAqalgayQofkxh6qE59j5namzEESZvGuQojwaGzfAGYndpytkas9OC8Z4EWGpuYyy6eGMxqAo=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
 t=1701220363; c=relaxed/simple;
 bh=e3bvPQtaXNLzse/e5DW38fi+qqL1JD0xzbiaT3etX4M=;
 h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To;
 b=ZltvJ9jUfspKQP4UsbTaZC3xplQhbRLecZUafjKk+3G0yM2R6mVN+p7sho+PujayC9YRe3C3dI9BnLFYxI7cYlfudEZx3O2gtj++NBU4yu0GyHFvR953sBNriMllCRVdNLZ70zaH1V/gmJoY1m5JWmMPRFxWX5S2AtVN9L/0jWM=
ARC-Authentication-Results: i=1; server2.sourceware.org
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1701220359; x=1701825159;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=XdexcdZTGgig5hrYHd9JPol7lMSfpF/RJByS0YQDXq4=;
 b=R9LlFVLAwP9awEwbKLePB9cVi6hGE1M6cRw9rqiK8/F4h0tGOGtKn+PBaTRFMAr/v6
 BmP/OTeTEFJYqhavlArZXiUYLlDjT2ucszqddEMkPLGQH3Pk1kF2Bys6im/+d/fAbrKK
 xYVDc0bxlYt4oQr0Y9MlxTWCdXkEaf48gF3l2tIJ8muqZaXcfYvoL+R/tlicJ9Ql2MfD
 ZmAbQ1H7vU2IiHGq70lB19dFwS03JpERw9m6UqMs51LQhT9Edj8+QL9jw9jcg7dvc1Kv
 Gq/kRc83cNSrY6fwR4DA4gjOI7xfJeipoT6ku+FhmpHMp6XA5ZrvyieNt7vFyHnhsWxo
 tx5w==
X-Gm-Message-State: AOJu0YzoJYBZpNf7/pwfJyiaAXK4XOC5k72nXk6YRiUoUSORLTcEZbLb
 o/KXhQDxJ83/ZdRESjJcjl+o53rU1IuotDG6yb7SBKJPI32xmUG3iqg=
X-Google-Smtp-Source: AGHT+IG02RSQBDLrT09wOXawUqlZsad3xVlQ0/gpXh5DjROT+dptw8HMQ0MqIPmIWvKtSNNhiXjZPdPONwPLKD4IsYY=
X-Received: by 2002:a50:8e42:0:b0:543:bd27:f4a9 with SMTP id
 2-20020a508e42000000b00543bd27f4a9mr11985590edx.12.1701220359536; Tue, 28 Nov
 2023 17:12:39 -0800 (PST)
MIME-Version: 1.0
Date: Tue, 28 Nov 2023 17:12:28 -0800
Message-ID: <CAKEdzNLhEZ8-Fm2DM0HBodHgjFtyHUy3XaRQSGTEQrQy96NnnQ@mail.gmail.com>
Subject: R library() bug
To: cygwin@cygwin.com
X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, DKIMWL_WL_MED,
 DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, HTML_MESSAGE,
 RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP,
 T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
 server2.sourceware.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.30
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Stephen P Carrier via Cygwin <cygwin@cygwin.com>
Reply-To: Stephen P Carrier <carrier@berkeley.edu>
Content-Type: text/plain; charset="utf-8"
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 3AT1CxX7004508

I have found another issue with Cygwin R.

This is for a brand new R installation (4.3.0) on up-to-date Cygwin.  I am
warned when starting R that "stats" package was not found.  Though it was
just a warning I do need the stats package for some things.

Minimal test case:  I invoke "R" with no arguments and get:

-----
R version 4.3.0 (2023-04-21) -- "Already Tomorrow"
Copyright (C) 2023 The R Foundation for Statistical Computing
Platform: x86_64-pc-cygwin (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

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

However, the file /usr/lib/R/library/stats/libs/stats.dll is very much a
file that exists and is readable by the user running R.  I've looked over
file and folder permissions and don't see an issue.  Other packages in
options('defaultPackages') load without difficulty.

Could the maintainer have a look?  Thanks.

--Stephen Carrier

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

