Re: [Rd] Installation of R-4.3.1 with intel 2022

2023-06-21 Thread Tomas Kalibera
On 6/20/23 18:47, Giuseppe Calò wrote: Hi all, I have the issue: icc -std=c99 -std=gnu11 -I../../src/extra -I../../src/extra/xdr -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -g -O3 -wd188 -ip -mp -c eval.c -o eval.o ar

Re: [Rd] codetools wrongly complains about lazy evaluation in S4 methods

2023-06-21 Thread Martin Maechler
> Martin Maechler > on Fri, 16 Jun 2023 11:41:12 +0200 writes: > Mikael Jagan > on Thu, 15 Jun 2023 22:00:45 -0400 writes: >> On 2023-06-15 5:25 pm, Hervé Pagès wrote: >>> Oh but I see now that you've already tried this in your >>> R/AllGenerics.R, sorry for

Re: [Rd] Installation of R-4.3.1 with intel 2022

2023-06-21 Thread Giuseppe Calò
Thanks Tomas, With my configure (I follower Admin manual for intel) and deleting HAVE_MATHERR in config I’m able to perform, configure, make and make install, only make check has this issue: running code in 'array-subset.R' ... OK running code in 'reg-tests-1a.R' ... OK running code in 'reg-tes

Re: [Rd] Installation of R-4.3.1 with intel 2022

2023-06-21 Thread Martin Maechler
> Giuseppe Calò > on Wed, 21 Jun 2023 09:17:14 +0200 writes: > Thanks Tomas, > With my configure (I follower Admin manual for intel) and deleting HAVE_MATHERR in config I’m able to perform, configure, make and make install, only make check has this issue: > running cod

Re: [Rd] Installation of R-4.3.1 with intel 2022

2023-06-21 Thread Giuseppe Calò
Ok, I’ll reinstall in /juno/opt/sources/R/R-4.3.1-intel21/ Other outputs: [root@juno-n001][/root]> tail -n 20 /juno/opt/sources/R/R-4.3.1-intel21/tests/d-p-q-r-tst-2.Rout.fail 0 1 2 3 4 5 6 13 22 30 22 10 1 2 > (t2 <- table(rbinom(100, 10*M, pr = 1e-10)) ) 0 1 2 3

Re: [Rd] New behavior when running script in package directory?

2023-06-21 Thread Dominick Samperi
Thanks, I checked for .Rprofile and .RData files. They are not present. I also tried renaming my .emacs.d file in case the problem is due to my Emacs configuration, but this didn't change anything. If I go to package/R, start R, and use source('foo.R'), there is no problem. But if I use Emacs/ESS

Re: [Rd] New behavior when running script in package directory?

2023-06-21 Thread Bill Dunlap
If ./Rprofile is not present and ~/.Rprofile is present then R will run the latter at startup. Do you have a ~/.Rprofile that defines a ss() function? -Bill On Wed, Jun 21, 2023 at 8:50 AM Dominick Samperi wrote: > Thanks, I checked for .Rprofile and .RData files. They are not present. > I als

Re: [Rd] New behavior when running script in package directory?

2023-06-21 Thread Dominick Samperi
Thanks, there is no ~/.Rprofile, and I have no idea where ss() is defined. On Wed, Jun 21, 2023 at 12:01 PM Bill Dunlap wrote: > If ./Rprofile is not present and ~/.Rprofile is present then R will run > the latter at startup. Do you have a ~/.Rprofile that defines a ss() > function? > > -Bill >

Re: [Rd] New behavior when running script in package directory?

2023-06-21 Thread Ivan Krylov
On Wed, 21 Jun 2023 11:49:24 -0400 Dominick Samperi wrote: > 1. Why does Emacs/ESS behave differently depending on the > current working directory? > 2. Why is the signal package loaded automatically? There's a "package development mode" in ESS: https://github.com/emacs-ess/ESS/blob/master/lisp/

Re: [Rd] New behavior when running script in package directory?

2023-06-21 Thread Dominick Samperi
Thanks Ivan, looks like bug in ESS, but I only noticed this recently, so it may have been triggered by changes in recent R versions. On Wed, Jun 21, 2023 at 12:26 PM Ivan Krylov wrote: > On Wed, 21 Jun 2023 11:49:24 -0400 > Dominick Samperi wrote: > > > 1. Why does Emacs/ESS behave differently

Re: [Rd] New behavior when running script in package directory?

2023-06-21 Thread Mikael Jagan
Surely this behaviour is just a case of ESS being "too clever", sourcing *.R files in special way when it detects that a file belongs to a package (loading dependencies automatically, etc.)? The function ss() is defined inside of .ess.source(), which is defined here: https://github.com/emacs-ess