Re: [ESS] FW: [GNU ELPA] ESS version 24.1.1

2024-02-21 Thread Dr. Michael L. Dowling via ESS-help
On Thu, Feb 15, 2024 at 04:19:43PM +, Sparapani, Rodney via ESS-help wrote:
> Hi Gang:
> 
> We just tidied up a recent insidious bug.  No other changes.
> 
> Version 24.1.1 of package ESS has just been released in GNU ELPA.
> You can now find it in M-x list-packages RET.

I have  just installed ESS-24.01.1,  and it  appears to be  working.  At
least, when I run an older program, I get the desired results.  But I do
get  an error  message  in starting  R.  It  appears  only briefly,  and
disappears immediately when I try to cut it out with cut-and-paste using
the mouse.

The error message is:

Error: could not find function \".ess.ESSR.load\"


Emacs  appears to  be  looking  for this  strangely  names  file in  the
directory,

/usr/share/emacs/etc/ess/ESSR/R

where it clearly  is not to be  found.  Nor can I find  any reference to
such a function in the source directory, /usr/src/ESS-24.01.1/etc/ESSR/R

Can anybody suggest the cause?

Cheers,

M. Dowling
-- 
Dr. Michael L. Dowling
Gaußstr. 27
38106 Braunschweig
Germany

__
ESS-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help


Re: [R] Network issue

2024-02-21 Thread James Powell
Hi Stephen,
Thanks very much for getting back to me. My problem is described below. Any 
help would be greatly appreciated. Thanks, James

Hi,
Sorry for bothering you because I know that your time is voluntary, but I would 
really appreciate some help. I work in a hospital in part of Ireland’s national 
health service, a service which was struck by a massive cyber attack a couple 
of years ago. Since then their security has been very tight, and I can’t access 
the internet through my R or R Studio. To install packages I need to download 
the files through a browser (Chrome by default) and install them from the 
files, which is very tedious when you consider the amount of dependencies, but 
I’m happy to do it.

This was working fine until yesterday when I had error messages trying to 
install some packages. See enclosed “S2” for example. It looks like it is 
trying to download a file as part of the installation, but of course can’t. If 
you could help with this I would be very grateful. Other examples are jqr, 
protolite, curl.

I came across a different error message when trying to install openssl, 
although the issue may be the same. For this package it says

Warning in file(name, "wb") :
  cannot open file 'openssl/tests/keys/message.rsa.crypt': Permission denied
Error in file(name, "wb") : cannot open the connection

I have tried going into the archive of these packages and installing older 
versions, but no luck with those either.
I hope you can help. Best wishes, James


From: stephen sefick 
Sent: Tuesday 20 February 2024 19:43
To: James Powell 
Cc: r-help@r-project.org
Subject: Re: [R] Network issue

CAUTION: This email originated from outside of the organisation. Do not click 
links or open attachments unless you recognise the sender and know the content 
is safe.

Maybe I missed the rest of the post? You are more likely to get help with your 
problems if you create a minimal reproducible example.
Kindest regards,

Stephen Sefick

On Tue, Feb 20, 2024, 12:24 James Powell 
mailto:james.pow...@hse.ie>> wrote:



Need information and advice on COVID-19? Go to 
www.hse.ie/coronavirus


"Tá an fhaisnéis sa ríomhphost seo (ceangaltáin san áireamh) faoi rún. Baineann 
sé leis an té ar seoladh chuige amháin agus tá sé ar intinn go bhfaighfidh 
siadsan amháin é agus gurb iadsan amháin a dhéanfaidh breithniú air. Más rud é 
nach tusa an duine ar leis é, tá cosc iomlán ar aon fhaisnéis atá ann, a úsáid, 
a chraobhscaoileadh, a scaipeadh, a nochtadh, a fhoilsiú, ná a chóipeáil . 
Seains gurb iad tuairimí pearsanta an údar atá san ríomhphost agus nach 
tuairimí FSS iad.

Má fuair tú an ríomhphost seo trí dhearmad, bheadh muid buíoch dá gcuirfeá in 
iúil don Deasc Seirbhísí ECT ar an nguthán ag +353 818 
300300 nó ar an ríomhphost chuig 
service.d...@hse.ie agus ansin glan an ríomhphost 
seo ded' chóras."



"Information in this email (including attachments) is confidential. It is 
intended for receipt and consideration only by the intended recipient. If you 
are not an addressee or intended recipient, any use, dissemination, 
distribution, disclosure, publication or copying of information contained in 
this email is strictly prohibited. Opinions expressed in this email may be 
personal to the author and are not necessarily the opinions of the HSE.

If this email has been received by you in error we would be grateful if you 
could immediately notify the ICT Service Desk by telephone at +353 818 
300300 or by email to 
service.d...@hse.ie and thereafter delete this 
e-mail from your system"





R version 4.3.1 (2023-06-16 ucrt) -- "Beagle Scouts"
Copyright (C) 2023 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (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.

  Natural language support but running in an English locale

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.

> utils:::menuInstallPkgs()
--- Please select a CRAN mirror for use in this session ---
Warning: failed to download mirrors file (cannot open URL 
'https://cran.r-project.org/CRAN_mirrors.csv'); using local file 
'C:/PROGRA~1/R/R-43~1.1/doc/CRAN_mirrors.csv'
Error in contrib.url(repos, type) : 
  trying to use CRAN without setting a mirror
In addition: Warning message:
In download.file(url, destfile = f, quiet = TRUE) :
  URL 'https://cran.r-project.org/CRAN_mirrors.csv': status was 'SSL connect 
error'
> utils:::menuInstallLocal()
Warning in file(name, "wb") :
  cannot open file 

Re: [R] Network issue

2024-02-21 Thread James Powell
Hi Ivan,
Thanks very much for your response, I'll definitely give that a go. Best 
wishes, James

-Original Message-
From: Ivan Krylov 
Sent: Wednesday 21 February 2024 10:38
To: James Powell 
Cc: r-help@r-project.org
Subject: Re: [R] Network issue

CAUTION: This email originated from outside of the organisation. Do not click 
links or open attachments unless you recognise the sender and know the content 
is safe.


В Wed, 21 Feb 2024 06:09:51 +
James Powell  пишет:

> This was working fine until yesterday when I had error messages trying
> to install some packages. See enclosed “S2” for example. It looks like
> it is trying to download a file as part of the installation, but of
> course can’t.

Since you're on Windows and running R-4.3, it should be easier to download and 
install the binary package, 
https://scanner.topsec.com/?d=2120=show=https%3A%2F%2Fcran.r-project.org%2Fbin%2Fwindows%2Fcontrib%2F4.3%2Fs2_1.1.6.zip=40c0076a9193368805cc3e637e09c680a3e72586.

Installing this package from source involves downloading a few binaries anyway. 
You could try unpacking the source package, downloading OpenSSL 1.1.1k binaries 
from 
https://scanner.topsec.com/?d=2120=show=https%3A%2F%2Fgithub.com%2Frwinlib%2Fopenssl%2Ftree%2Fv1.1.1k=10f7c80b5f4e5dcf0d0f3bd203a067fec29f43a4
into a new subdirectory called windows/ in the package root, just like the 
https://scanner.topsec.com/?d=2120=show=https%3A%2F%2Fgithub.com%2Fr-spatial%2Fs2%2Fblob%2Fmain%2Ftools%2Fwinlibs.R=fd500ed04f0fa1a24bbd7e7e50df6aa7f4bb654c
 script tries to do during the installation, then installing the resulting 
directory as if it was a source package.

--
Best regards,
Ivan


Need information and advice on COVID-19? Go to 
www.hse.ie/coronavirus


"Tá an fhaisnéis sa ríomhphost seo (ceangaltáin san áireamh) faoi rún. Baineann 
sé leis an té ar seoladh chuige amháin agus tá sé ar intinn go bhfaighfidh 
siadsan amháin é agus gurb iadsan amháin a dhéanfaidh breithniú air. Más rud é 
nach tusa an duine ar leis é, tá cosc iomlán ar aon fhaisnéis atá ann, a úsáid, 
a chraobhscaoileadh, a scaipeadh, a nochtadh, a fhoilsiú, ná a chóipeáil . 
Seains gurb iad tuairimí pearsanta an údar atá san ríomhphost agus nach 
tuairimí FSS iad.

Má fuair tú an ríomhphost seo trí dhearmad, bheadh muid buíoch dá gcuirfeá in 
iúil don Deasc Seirbhísí ECT ar an nguthán ag +353 818 
300300 nó ar an ríomhphost chuig 
service.d...@hse.ie agus ansin glan an ríomhphost 
seo ded' chóras."



"Information in this email (including attachments) is confidential. It is 
intended for receipt and consideration only by the intended recipient. If you 
are not an addressee or intended recipient, any use, dissemination, 
distribution, disclosure, publication or copying of information contained in 
this email is strictly prohibited. Opinions expressed in this email may be 
personal to the author and are not necessarily the opinions of the HSE.

If this email has been received by you in error we would be grateful if you 
could immediately notify the ICT Service Desk by telephone at +353 818 
300300 or by email to 
service.d...@hse.ie and thereafter delete this 
e-mail from your system"




__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Network issue

2024-02-21 Thread Ivan Krylov via R-help
В Wed, 21 Feb 2024 06:09:51 +
James Powell  пишет:

> This was working fine until yesterday when I had error messages
> trying to install some packages. See enclosed “S2” for example. It
> looks like it is trying to download a file as part of the
> installation, but of course can’t. 

Since you're on Windows and running R-4.3, it should be easier to
download and install the binary package,
https://cran.r-project.org/bin/windows/contrib/4.3/s2_1.1.6.zip.

Installing this package from source involves downloading a few binaries
anyway. You could try unpacking the source package, downloading OpenSSL
1.1.1k binaries from https://github.com/rwinlib/openssl/tree/v1.1.1k
into a new subdirectory called windows/ in the package root, just like
the https://github.com/r-spatial/s2/blob/main/tools/winlibs.R script
tries to do during the installation, then installing the resulting
directory as if it was a source package.

-- 
Best regards,
Ivan

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Network issue

2024-02-21 Thread James Powell
Hi Stephen,
I didn’t see this suggested previously, but yes I have made repeated attempts 
to gain access to CRAN via R but to no avail. Mirroring CRAN is a really good 
idea, but I’m not sure how to get R to recognise the local file locations when 
the installation files seek access to CRAN via urls. Thanks again for your 
help. Regards, James

From: stephen sefick 
Sent: Wednesday 21 February 2024 00:04
To: James Powell 
Cc: r-help@r-project.org
Subject: Re: [R] Network issue

CAUTION: This email originated from outside of the organisation. Do not click 
links or open attachments unless you recognise the sender and know the content 
is safe.

As stated in an earlier email, this might be better directed to your IT? You 
might think about mirroring CRAN locally, but this would be non-trivial.

Stephen Sefick

On Tue, Feb 20, 2024, 17:26 James Powell 
mailto:james.pow...@hse.ie>> wrote:
Hi Stephen,
Thanks very much for getting back to me. My problem is described below. Any 
help would be greatly appreciated. Thanks, James

Hi,
Sorry for bothering you because I know that your time is voluntary, but I would 
really appreciate some help. I work in a hospital in part of Ireland’s national 
health service, a service which was struck by a massive cyber attack a couple 
of years ago. Since then their security has been very tight, and I can’t access 
the internet through my R or R Studio. To install packages I need to download 
the files through a browser (Chrome by default) and install them from the 
files, which is very tedious when you consider the amount of dependencies, but 
I’m happy to do it.

This was working fine until yesterday when I had error messages trying to 
install some packages. See enclosed “S2” for example. It looks like it is 
trying to download a file as part of the installation, but of course can’t. If 
you could help with this I would be very grateful. Other examples are jqr, 
protolite, curl.

I came across a different error message when trying to install openssl, 
although the issue may be the same. For this package it says

Warning in file(name, "wb") :
  cannot open file 'openssl/tests/keys/message.rsa.crypt': Permission denied
Error in file(name, "wb") : cannot open the connection

I have tried going into the archive of these packages and installing older 
versions, but no luck with those either.
I hope you can help. Best wishes, James


From: stephen sefick mailto:ssef...@gmail.com>>
Sent: Tuesday 20 February 2024 19:43
To: James Powell mailto:james.pow...@hse.ie>>
Cc: r-help@r-project.org
Subject: Re: [R] Network issue

CAUTION: This email originated from outside of the organisation. Do not click 
links or open attachments unless you recognise the sender and know the content 
is safe.

Maybe I missed the rest of the post? You are more likely to get help with your 
problems if you create a minimal reproducible example.
Kindest regards,

Stephen Sefick

On Tue, Feb 20, 2024, 12:24 James Powell 
mailto:james.pow...@hse.ie>> wrote:



Need information and advice on COVID-19? Go to 
www.hse.ie/coronavirus


"Tá an fhaisnéis sa ríomhphost seo (ceangaltáin san áireamh) faoi rún. Baineann 
sé leis an té ar seoladh chuige amháin agus tá sé ar intinn go bhfaighfidh 
siadsan amháin é agus gurb iadsan amháin a dhéanfaidh breithniú air. Más rud é 
nach tusa an duine ar leis é, tá cosc iomlán ar aon fhaisnéis atá ann, a úsáid, 
a chraobhscaoileadh, a scaipeadh, a nochtadh, a fhoilsiú, ná a chóipeáil . 
Seains gurb iad tuairimí pearsanta an údar atá san ríomhphost agus nach 
tuairimí FSS iad.

Má fuair tú an ríomhphost seo trí dhearmad, bheadh muid buíoch dá gcuirfeá in 
iúil don Deasc Seirbhísí ECT ar an nguthán ag +353 818 
300300 nó ar an ríomhphost chuig 
service.d...@hse.ie agus ansin glan an ríomhphost 
seo ded' chóras."



"Information in this email (including attachments) is confidential. It is 
intended for receipt and consideration only by the intended recipient. If you 
are not an addressee or intended recipient, any use, dissemination, 
distribution, disclosure, publication or copying of information contained in 
this email is strictly prohibited. Opinions expressed in this email may be 
personal to the author and are not necessarily the opinions of the HSE.

If this email has been received by you in error we would be grateful if you 
could immediately notify the ICT Service Desk by telephone at +353 818 
300300 or by email to 
service.d...@hse.ie and thereafter delete this 
e-mail from your system"







Need information and advice on COVID-19? Go to 
www.hse.ie/coronavirus


"Tá an fhaisnéis sa ríomhphost seo (ceangaltáin san áireamh) faoi rún. Baineann 

Re: [R] Network issue

2024-02-21 Thread Petr Pikal
Hallo James

Just a wild guess, are your problems connected with change of default
download method from wininet to libcurl?

Cheers
Petr

út 20. 2. 2024 v 18:24 odesílatel James Powell  napsal:

>

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.