Re: [ESS] [EXTERNAL] Re: How to Duplicate Previous Functionality/Workflow

2023-09-26 Thread Tyler Smith via ESS-help
On Tue, Sep 26, 2023, at 2:38 PM, Bassett Jr,Roland L via ESS-help wrote: > Thanks to everyone for their responses - you've definitely helped with > most of my questions. One still remains, though: > > How can I customize the weaver and the exporter so that it doesn't ask > each time? It seems

Re: [ESS] [EXTERNAL] Re: How to Duplicate Previous Functionality/Workflow

2023-09-26 Thread Bassett Jr,Roland L via ESS-help
Thanks to everyone for their responses - you've definitely helped with most of my questions. One still remains, though: How can I customize the weaver and the exporter so that it doesn't ask each time? It seems as though there should be a way to customize each of these, but I can't figure

Re: [ESS] Have M-x R point at the most recent version of R

2023-09-26 Thread Toby Hocking via ESS-help
I put it on the path, Windows key -> Edit the system environment variables -> Environment variables... -> Double click Path -> add C:\Program Files\R\R-devel\bin\x64 or whatever On Tue, Sep 26, 2023 at 3:07 AM Hüsing, Johannes via ESS-help wrote: > > Dear ESS-helping crowd, > following the

Re: [R] car::deltaMethod() fails when a particular combination of categorical variables is not present

2023-09-26 Thread John Fox
Dear Michael, My previous response was inaccurate: First, linearHypothesis() *is* able to accommodate aliased coefficients by setting the argument singular.ok = TRUE: > linearHypothesis(minimal_model, "bt2 + csent + bt2:csent = 0", + singular.ok=TRUE) Linear hypothesis

Re: [R] data.table installation on intel macOS Ventura 13.6

2023-09-26 Thread Carlos Ortega
Hi, This is the Makevars I used to compile sucessfully the latest version of data.table in a x86_64 machine. #-- #--- https://github.com/Rdatatable/data.table/wiki/Installation #- LOC = /usr/local/gfortran CC=$(LOC)/bin/gcc -fopenmp CXX=$(LOC)/bin/g++ -fopenmp CXX11 =

Re: [R] car::deltaMethod() fails when a particular combination of categorical variables is not present

2023-09-26 Thread John Fox
Dear Michael, You're testing a linear hypothesis, so there's no need to use the delta method, but the linearHypothesis() function in the car package also fails in your case: > linearHypothesis(minimal_model, "bt2 + csent + bt2:csent = 0") Error in linearHypothesis.lm(minimal_model, "bt2 +

Re: [R] RQuantLib installation problem

2023-09-26 Thread Naresh Gurbuxani
Updating to latest version of R and reinstalling RQuantLib worked. Thanks > On Sep 24, 2023, at 5:29 PM, David Winsemius wrote: > > > On 9/24/23 08:23, Ivan Krylov wrote: >> On Sun, 24 Sep 2023 02:19:20 + >> Naresh Gurbuxani wrote: >> install.packages("RQuantLib", repos =

Re: [R] save() and load(): *prefer* saveRDS() and readRDS()

2023-09-26 Thread AbouEl-Makarim Aboueissa
Hi Martin: good morning Thank you very much for your detailed explanation. Got it now. With many thanks Abou On Tue, Sep 26, 2023, 3:24 AM Martin Maechler wrote: > > Jeff Newmiller via R-help > > on Mon, 25 Sep 2023 18:46:02 -0700 writes: > > > You never created any object

Re: [R] save() and load()

2023-09-26 Thread AbouEl-Makarim Aboueissa
Hi Shu: good morning Thank you very much for your detailed explanation. Got it now. With many thanks Abou On Mon, Sep 25, 2023, 9:39 PM Shu Fai Cheung wrote: > Hi, > > You can try this: > > head(irisdata) > > Objects loaded by load() keep their names when being saved. In your > case, it is

Re: [R] save() and load()

2023-09-26 Thread AbouEl-Makarim Aboueissa
Hi Jeff: good morning Thank you very much for your detailed explanation. Got it now. With many thanks Abou On Mon, Sep 25, 2023, 9:46 PM Jeff Newmiller wrote: > You never created any object in R called irisdataTest. Objects in the > global environment have names that are unrelated to the

[ESS] Have M-x R point at the most recent version of R

2023-09-26 Thread Hüsing , Johannes via ESS-help
Dear ESS-helping crowd, following the advice on https://r-pkgs.org/setup.html, I installed R version 4.3.1 for MS Windows from CRAN. How do I communicate to ESS that a new version has been installed? I read the advice on

Re: [R] data.table installation on intel macOS Ventura 13.6

2023-09-26 Thread Naresh Gurbuxani
> Sys.info() sysname "Darwin"

Re: [R] save() and load(): *prefer* saveRDS() and readRDS()

2023-09-26 Thread Martin Maechler
> Jeff Newmiller via R-help > on Mon, 25 Sep 2023 18:46:02 -0700 writes: > You never created any object in R called irisdataTest. Objects in the global environment have names that are unrelated to the names of files on disk. > The load function modifies an environment to

[R] car::deltaMethod() fails when a particular combination of categorical variables is not present

2023-09-26 Thread Michael Cohn
I'm running a linear regression with two categorical predictors and their interaction. One combination of levels does not occur in the data, and as expected, no parameter is estimated for it. I now want to significance test a particular combination of levels that does occur in the data (ie, I want