public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* R library() bug
@ 2023-11-29  1:12 Stephen P Carrier
  2023-11-29  4:32 ` Marco Atzeri
  0 siblings, 1 reply; 8+ messages in thread
From: Stephen P Carrier @ 2023-11-29  1:12 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 1646 bytes --]

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-12-05  6:08 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-29  1:12 R library() bug Stephen P Carrier
2023-11-29  4:32 ` Marco Atzeri
2023-11-29 23:38   ` Stephen P Carrier
2023-12-01 23:24   ` Stephen P Carrier
2023-12-01 23:29     ` Stephen P Carrier
2023-12-02 12:37       ` Marco Atzeri
2023-12-05  3:39         ` Stephen P Carrier
2023-12-05  6:07           ` marco atzeri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).