[R] [Rd] R 4.5.1 is released

2025-06-13 Thread Peter Dalgaard via R-announce
R-4/R-4.5.1.tar.gz https://cran.r-project.org/src/base/R-4/R-4.5.1.tar.xz or wait for it to be mirrored at a CRAN site nearer to you. Binaries for various platforms will appear in due course. For the R Core Team, Peter Dalgaard These are the checksums (md5 and SHA-256) for the freshly created

Re: [R] Simulating mid-points from a defined range

2025-06-03 Thread peter dalgaard
___ >>> 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 >>> https://www.R-project.org/posting-guide.html >&g

[R] [Rd] R 4.5.1 scheduled for June 13

2025-05-28 Thread peter dalgaard
Full schedule is available on developer.r-project.org (pending update from SVN). -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd@cbs.dk Priv: pda...@gmail.com

Re: [R] R session dies on lattice::show.settings()

2025-05-22 Thread peter dalgaard
E and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide https://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -- Peter Dalgaard, Professor, Center for

Re: [R] non-reproducible eigen() output with MKL

2025-05-04 Thread peter dalgaard
> 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 https://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reprod

Re: [R] return inconsistency?

2025-04-30 Thread peter dalgaard
t sometimes useful. > > -- > 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 https://www.R-project.org/posting-guide.html &

Re: [R] 4.5.0: Do NOT just copy library folder and update.packages()

2025-04-26 Thread peter dalgaard
ckages. It may work once and the >> next time you get weird answers that are hard to track down. Why live on the >> edge? >> >> On April 25, 2025 1:53:28 PM PDT, Fer wrote: >>> What about if there is only one folder for packages under 4.X... where >>>

Re: [R] Spontaneous revert to 4.4?

2025-04-26 Thread peter dalgaard
__ > 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 https://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, repro

Re: [R] 4.5.0: Do NOT just copy library folder and update.packages()

2025-04-26 Thread peter dalgaard
> install.packages(pkgs = to_install) > > Copy the names of the packages, then install them in the new > version of R. > > Matthew > > On 4/25/25 12:16 PM, Peter Dalgaard via R-help wrote:External Email - > Use Caution >> A couple of people

[R] 4.5.0: Do NOT just copy library folder and update.packages()

2025-04-25 Thread Peter Dalgaard via R-help
.5.0. One of them has tools in the 4.4 library and the other does not. I have no clue what the difference might be -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd@c

Re: [R] 4.5.0 | update/install BH

2025-04-24 Thread peter dalgaard
be as what most of us do > -- copy old /library folder to 'new' /library folder, and simply update > everything). > > On 4/24/2025 7:32 AM, peter dalgaard wrote: >> I'm puzzled. It doesn't seem to take long on MacOS, neither under 4.3.x. or >> 4.5.0. >

Re: [R] 4.5.0 | update/install BH

2025-04-24 Thread peter dalgaard
e. But BH? > > > [[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 https://ww

Re: [R] Is it odd or not? about I() function

2025-04-20 Thread peter dalgaard
- To UNSUBSCRIBE and more, see >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide https://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. > > -- > Dr. Benjamin Bolker > Pr

[R] [Rd] R 4.5.0 is released

2025-04-11 Thread peter dalgaard
s://cran.r-project.org/src/base/R-4/R-4.5.0.tar.gz https://cran.r-project.org/src/base/R-4/R-4.5.0.tar.xz or wait for it to be mirrored at a CRAN site nearer to you. Binaries for various platforms will appear in due course. For the R Core Team, Peter Dalgaard These are the checksums (md5 and SHA-25

Re: [R] What don't I understand about sample()?

2025-03-15 Thread peter dalgaard
R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/

[R] [Rd] R 4.5.0 scheduled for April 11

2025-03-10 Thread peter dalgaard
Full schedule is available on developer.r-project.org (pending update from SVN). -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd@cbs.dk Priv: pda...@gmail.com

Re: [R] Issue with littler vs. R and source()

2025-03-08 Thread peter dalgaard
uation is not critical, but it would be good to work > out > what is failing. > > John Nash > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PL

[R] [Rd] R 4.4.3 is released

2025-02-28 Thread peter dalgaard
You can get the source code from https://cran.r-project.org/src/base/R-4/R-4.4.3.tar.gz https://cran.r-project.org/src/base/R-4/R-4.4.3.tar.xz or wait for it to be mirrored at a CRAN site nearer to you. Binaries for various platforms will appear in due course. For the R Core Team, Pete

[R] [Rd] R 4.4.3 scheduled for February 28

2025-02-13 Thread peter dalgaard
Full schedule is available on developer.r-project.org (pending update from SVN). -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd@cbs.dk Priv: pda...@gmail.com

Re: [R] Looking for simple line-splitting code

2025-02-05 Thread peter dalgaard
h wrote: > > Thanks to Rui, Peter and Tanvir! Peter's seems to be the fastest of the 3 > suggestions so far on the little test case, but on the real data (where x > contains several thousand lines), Rui's seems best. > > Duncan > > On 2025-02-05 9:13 a.m.,

Re: [R] Looking for simple line-splitting code

2025-02-05 Thread peter dalgaard
th) == 0] <- list("") > lines <- unlist(lines) > > Surely there's a simpler way to do this? I'd like to use just base > functions, no other packages. > > Duncan Murdoch > > __ > R-help@r-proje

Re: [R] Error when loading optimx package and a solution

2025-02-05 Thread peter dalgaard
I think the operative words here are "brew install". I.e., this is a homebrew installation, and thus nothing to do with CRAN. Nothing wrong with homebrew as far as R Core and the CRAN team knows, we just don't support it, so you have to hope for response from other homebrew use

Re: [R] [tcltk] binding two functions to one event

2025-01-21 Thread peter dalgaard
t; evresp2 %d > > Both evresp1 and evresp2 got called but only evresp1 got the data right. > > How can I fix this? > >> sessionInfo > R version 4.3.0 (2023-04-21) > Platform: x86_64-pc-linux-gnu (64-bit) > Running under: Ubuntu 20.04.6 LTS > attached base packa

Re: [R] Query concerning working directory for file.choose()

2024-12-19 Thread peter dalgaard
Yes, this is different in RStudio, e.g. I had actually forgotten how brain-dead the CLI version is: > file.choose() Enter file name: (Given that install.packages() fires up a Tcl/Tk chooser, users might reasonably expect us to do something at least slightly smarter). - Peter > On

Re: [R] Mac ARM for lm() ?

2024-11-14 Thread peter dalgaard
s://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd@cbs.dk Priv:

[R] [Rd] R 4.4.2 is released

2024-10-31 Thread peter dalgaard
s://cran.r-project.org/src/base/R-4/R-4.4.2.tar.xz or wait for it to be mirrored at a CRAN site nearer to you. Binaries for various platforms will appear in due course. (The Mac binaries will be delayed for a couple of days because the maintainer is traveling.) For the R Core Team, Peter Dalgaard

Re: [R] OSX-specific Bug in randomForest

2024-10-24 Thread peter dalgaard
This is probably Apple Silicon specific, not OSX per se: > sum(rep(1 / 9, 9)) - 1 [1] 0 > On 23 Oct 2024, at 07:26 , Stevie Pederson > wrote: > > sum(rep(1 / 9, 9)) - 1 > # [1] 2.220446e-16 -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business Schoo

[R] [Rd] R 4.4.2 scheduled for October 31

2024-10-11 Thread peter dalgaard
Full schedule is available on developer.r-project.org (pending update from SVN). -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd@cbs.dk Priv: pda...@gmail.com

Re: [R] Is there a sexy way ...?

2024-09-30 Thread peter dalgaard
_ >> 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 https://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. > &g

Re: [R] non-conformable arrays

2024-09-11 Thread peter dalgaard
f some data and an aching desire for an answer does not > ensure that a reasonable answer can be extracted from a given body of data. > ~ John Tukey > /// > > <https://www.inbo.be> >

Re: [R] Calculation of VCV matrix of estimated coefficient

2024-09-06 Thread peter dalgaard
> __ > 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 https://www.R-project.org/posting-guide.html > and provide commented, minimal, self-containe

[R] fcaR not for latest R version

2024-08-22 Thread Peter van Summeren
Hello, Did anyone use fcaR for the current version of R/Rstudio on the Mac? Peter [[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

Re: [R] "--" < 0

2024-06-25 Thread peter dalgaard
defined a bit more. > > --> does c("--", 0) give you a clue, now ? > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the p

Re: [R] Help trying to understand R documentation on libraries paths

2024-06-17 Thread peter dalgaard
gt; > Regarding .libPaths, I am asking for the call to `.libPaths()`, so I > understand there is no `new` in the call, as in the documentation I cited. > > Iago > > De: peter dalgaard > Enviat el: dilluns, 17 de juny de 2024 13:26 > Per a: Iago Giné Vázquez >

Re: [R] Help trying to understand R documentation on libraries paths

2024-06-17 Thread peter dalgaard
the current > way this help page is explained? > > Thank you for your help and time. > > Best regards, > > Iago > > [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list -- To UNSUBSCRI

Re: [R] Column names of model.matrix's output with contrast.arg

2024-06-14 Thread peter dalgaard
-- > Christophe DUTANG > LJK, Ensimag, Grenoble INP, UGA, France > ILB research fellow > Web: http://dutangc.free.fr > > ______ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailma

[R] [Rd] R 4.4.1 is released

2024-06-14 Thread peter dalgaard
r it to be mirrored at a CRAN site nearer to you. Binaries for various platforms will appear in due course. (The Mac binaries will be delayed for a couple of days because the maintainer is traveling.) For the R Core Team, Peter Dalgaard These are the checksums (md5 and SHA-256) for the fresh

Re: [R] R code for overlapping variables -- count

2024-06-03 Thread peter dalgaard
f the three. > > Thank you so much, > Shadee > > [[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] [Rd] R 4.4.1 scheduled for June 14

2024-05-31 Thread peter dalgaard
Full schedule is available on developer.r-project.org (pending update from SVN). -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd@cbs.dk Priv: pda...@gmail.com

Re: [R] R, RStudio, and a server for my iPad.

2024-05-21 Thread peter dalgaard
tps://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. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business

Re: [R] De-serialization vulnerability?

2024-05-02 Thread peter dalgaard
: Documentation fixups, etc. What does go in is end-user visible functional changes and items that have an explicit PR# against them. - Peter D. > On 1 May 2024, at 18:57 , Howard, Tim G (DEC) via R-help > wrote: > > All, > There seems to be a hullaboo about a vulnerab

[R] [Rd] R 4.4.0 is released

2024-04-24 Thread Peter Dalgaard via R-announce
base/R-4/R-4.4.0.tar.gz https://cran.r-project.org/src/base/R-4/R-4.4.0.tar.xz or wait for it to be mirrored at a CRAN site nearer to you. Binaries for various platforms will appear in due course. For the R Core Team, Peter Dalgaard These are the checksums (md5 and SHA-256) for the fresh

Re: [R] x[0]: Can '0' be made an allowed index in R?

2024-04-23 Thread Peter Dalgaard via R-help
t. > Offset <- 30 > for (i in -29 to 120) { print(df[i+Offset])} > > > 2) use absolute values if all indices are negative. > for (i in -200 to -1) {print(df[abs(i)])} > > Tim > > > > -Original Message- > From: R-help On Behalf Of Peter Dal

Re: [R] x[0]: Can '0' be made an allowed index in R?

2024-04-22 Thread Peter Dalgaard via R-help
t; PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+

Re: [R] missing() fails to detect missing

2024-04-18 Thread Peter Dalgaard via R-help
>> Thanks for any insights. >> Ross >> >> __ >> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see >> https://stat.ethz.ch/mailman/listinfo/r-help >> P

Re: [R] Question regarding reservoir volume and water level

2024-04-09 Thread peter dalgaard
t; [1] 2480 >> >> >> Hope this helps, >> >> Rui Barradas >> >> >> -- >> Este e-mail foi analisado pelo software antivírus AVG para verificar a >> presença de vírus. >> http://www.avg.com/ >> >>

Re: [R] CEoptim problems

2024-04-09 Thread peter dalgaard
ls in flow control constructions have gone through an elborate deprecation process before getting turned into errors. If the problem is how to activate a dormant maintainer and fix the issue for everyone, I don't really have a clue, but you might consider cantacting the CRAN team. Best, P

Re: [R] Building Packages.

2024-03-21 Thread peter dalgaard
package must have the >> same objects >> apart from those only in the namespace, >> people would not even have access to R's true install.packages() >> but only see the RStudio fake^Hsubstitute.. >> We are still not happy with their decision. Also >> help(

[R] [Rd] R 4.4.0 scheduled for April 24

2024-03-19 Thread Peter Dalgaard via R-announce
Full schedule is available on developer.r-project.org (pending update from SVN). -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd@cbs.dk Priv: pda...@gmail.com

Re: [R] Problem when trying to install packages

2024-03-18 Thread peter dalgaard
moving 'C:/R_Libs/cluster' >>> Warning in install.packages : >>> installation of package ‘cluster’ had non-zero exit status >>> ERROR: dependency 'lattice' is not available for package 'hexbin' >>> * removing 'C:/R_L

[R] R 4.3.3 is released

2024-02-29 Thread Peter Dalgaard via R-announce
You can get the source code from https://cran.r-project.org/src/base/R-4/R-4.3.3.tar.gz https://cran.r-project.org/src/base/R-4/R-4.3.3.tar.xz or wait for it to be mirrored at a CRAN site nearer to you. Binaries for various platforms will appear in due course. For the R Core Team, Pete

Re: [R] converting MATLAB -> R | element-wise operation

2024-02-28 Thread peter dalgaard
>> 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, rep

Re: [R] Packages sometimes don't update, but no error or warning is thrown

2024-02-19 Thread peter dalgaard
the fact that RStudio >> hides R's own install.packages() from the user and uses its >> own, undocumented one ... this has been the case for quite a few years. >> I found out during teaching --- one of the few times, I use >> RStudio to use R.

Re: [R] Looping

2024-02-18 Thread Peter Langfelder
Try for (ind in 1:24) { data = read.csv(paste0("data", ind, ".csv")) ... } Peter On Mon, Feb 19, 2024 at 11:33 AM Steven Yen wrote: > > I need to read csv files repeatedly, named data1.csv, data2.csv,… data24.csv, > 24 altogether. That is, > > dat

[R] [Rd] R 4.3.3 scheduled for February 29

2024-02-16 Thread Peter Dalgaard via R-help
Full schedule available on developer.r-project.org in a short while. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd@cbs.dk Priv: pda...@gmail.com

Re: [R] Packages sometimes don't update, but no error or warning is thrown

2024-02-14 Thread peter dalgaard
What Martin says... Also, it might help to know that the original, base-R functions are still there, as utils::install.packages() utils::update.packages() (+ most likely, a restart of RStudio to make it adapt to the packages that you installed behind its back.) - Peter D. > On 14 Feb 2

Re: [R] back tick names with predict function

2023-12-01 Thread peter dalgaard
names) so > that they are. " > > -- Bert > > __ > 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/

Re: [R] anyone having trouble accesing CRAN?

2023-11-20 Thread peter dalgaard
local.only = TRUE)) to access a mirror that works. > > -- > 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.htm

Re: [R] Bug in print for data frames?

2023-11-03 Thread peter dalgaard
ed your code, > you'd see this: > > library(tibble) > x <- tibble(A = 1, B = 2, C = 3) > y <- tibble(A = 1) > x$C <- y[1] > x > #> # A tibble: 1 × 3 > #> A B C$A > #> > #> 1 1 2 1 > >

Re: [R] weights vs. offset (negative binomial regression)

2023-11-02 Thread peter dalgaard
> mailing list >>-- To UNSUBSCRIBE and more, see >> > https://stat.ethz.ch/mailman/listinfo/r-help >><https://stat.ethz.ch/mailman/listinfo/r-help> >> > PLEASE do read the posting guide >>http://www.R-project.org/posting-guide.html >>

[R] [Rd] R 4.3.2 is released

2023-10-31 Thread Peter Dalgaard via R-help
r it to be mirrored at a CRAN site nearer to you. Binaries for various platforms will appear in due course. For the R Core Team, Peter Dalgaard These are the checksums (md5 and SHA-256) for the freshly created files, in case you wish to check that they are uncorrupted: MD

Re: [R] How to Calculate the Mean by Multiple Groups in R

2023-10-24 Thread peter dalgaard
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. > > > > -- > Sarah Goslee (she/her) > http:/

Re: [R] Create new data frame with conditional sums

2023-10-24 Thread peter dalgaard
ham, NC 27710 >> FAX 919-681-7494 >> >> >>[[alternative HTML version deleted]] >> >> ______ >> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see >> https://stat.ethz.ch/mailman/listinfo/r-h

[R] [Rd] R 4.3.2 scheduled for October 31

2023-10-13 Thread Peter Dalgaard via R-help
Full schedule available on developer.r-project.org in a short while. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd@cbs.dk Priv: pda...@gmail.com

Re: [R] Odd result

2023-09-29 Thread peter dalgaard
Michael > > __ > 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 commente

Re: [R] prop.trend.test question

2023-09-28 Thread peter dalgaard
the right track here? > > Thomas Subia > > __ > 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-g

Re: [R] Print hypothesis warning- Car package

2023-09-18 Thread peter dalgaard
Also, I would guess that the code precedes the use of backticks in non-syntactic names. Could they be deployed here? - Peter > On 17 Sep 2023, at 16:43 , John Fox wrote: > > Dear Robert, > > Anova() calls linearHypothesis(), also in the car package, to compute sums of &

Re: [R] graph in R with grouping letters from the turkey test with agricolae package

2023-09-13 Thread peter dalgaard
Benjamin Bolker > Professor, Mathematics & Statistics and Biology, McMaster University > Director, School of Computational Science and Engineering > (Acting) Graduate chair, Mathematics & Statistics > > E-mail is sent at my convenience; I don't expect replies outside of wo

Re: [R] prop.trend.test

2023-09-12 Thread peter dalgaard
se as the LPM estimate of the regression slope. - Peter D. > On 8 Sep 2023, at 12:53 , Rui Barradas wrote: > > Às 10:06 de 08/09/2023, peter dalgaard escreveu: >> Yes, this was written a bit bone-headed (as I am allowed to say...) >> If you look at the code, you will s

Re: [R] prop.trend.test

2023-09-08 Thread peter dalgaard
op 2prop 3prop 4 > #> 0.9651163 0.9677419 0.9485294 0.8536585 > > smokers/patients > > #> [1] 0.9651163 0.9677419 0.9485294 0.8536585 > > plot(smokers/patients, type = "b") > > > > Hope this helps, > > Rui Barradas >

Re: [R] Why install.packages(repos = X) does not override the 'repos' R option?

2023-06-19 Thread peter dalgaard
> 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. -- Peter Dalgaard,

[R] [Rd] R 4.3.1 is released

2023-06-16 Thread Peter Dalgaard via R-help
r it to be mirrored at a CRAN site nearer to you. Binaries for various platforms will appear in due course. For the R Core Team, Peter Dalgaard These are the checksums (md5 and SHA-256) for the freshly created files, in case you wish to check that they are uncorrupted: MD

[R] [Rd] R 4.3.1 scheduled for June 16

2023-05-25 Thread Peter Dalgaard via R-help
Full schedule available on developer.r-project.org in a short while. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd@cbs.dk Priv: pda...@gmail.com

[R] [Rd] R 4.3.0 is released

2023-04-21 Thread Peter Dalgaard via R-help
-4/R-4.3.0.tar.gz or wait for it to be mirrored at a CRAN site nearer to you. Binaries for various platforms will appear in due course. For the R Core Team, Peter Dalgaard These are the checksums (md5 and SHA-256) for the freshly created files, in case you wish to check that they are uncorru

[R] [R-pkgs] DNAmixturesLite and KinMixLite

2023-04-12 Thread Peter Green
herese Graversen and Peter Green ___ R-packages mailing list r-packa...@r-project.org https://stat.ethz.ch/mailman/listinfo/r-packages __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.e

Re: [R] "prob" package alternative

2023-04-06 Thread peter murage
Which package in R replaced package prob? Sent from Mail for Windows [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch

Re: [R] Count matrix of GSE146049

2023-04-02 Thread Peter Langfelder
It's a microarray data set, so I don't think you would want to apply an RNA-seq pipeline. You'd be better off applying a normalization appropriate for this type of microarray data. HTH, Peter On Sun, Apr 2, 2023 at 11:09 PM Anas Jamshed wrote: > > I want to get the count

[R] [Rd] R 4.3.0 scheduled for April 21

2023-03-21 Thread peter dalgaard
Full schedule is available on developer.r-project.org (pending update from SVN). -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd@cbs.dk Priv: pda...@gmail.com

[R] [Rd] R 4.2.3 is released

2023-03-15 Thread peter dalgaard
rer to you. Binaries for various platforms will appear in due course. For the R Core Team, Peter Dalgaard These are the checksums (md5 and SHA-256) for the freshly created files, in case you wish to check that they are uncorrupted: MD5 (AUTHORS) = 320967884b547734d6279dedbc739dd4 MD

[R] [Rd] R 4.2.3 scheduled for March 15

2023-03-01 Thread Peter Dalgaard via R-help
Full schedule available on developer.r-project.org in a short while. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd@cbs.dk Priv: pda...@gmail.com

Re: [R] Problem of intercept?

2023-02-22 Thread peter dalgaard
"Coefficient")+ > coord_flip() > > > > > __ > 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/

Re: [R] MLE Estimation of Gamma Distribution Parameters for data with 'zeros'

2023-01-19 Thread peter dalgaard
/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. > > __ > 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.or

[R] [R-pkgs] gRaven package - Bayes Nets: 'RHugin' Emulation with 'gRain'

2023-01-09 Thread Peter Green
Hugin', but this package should assist users without access to the commercial package 'Hugin' to use existing code written to use 'RHugin'. I am open to extending the functionality of the package in future, in response to user demand. regards, Peter Green -- Pe

Re: [R] library(tseries) - spellng error in output

2022-12-15 Thread peter dalgaard
__ > 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 cod

Re: [R] confusion about dev.prev()

2022-12-05 Thread Peter Langfelder
Ah, thanks, got it. Misread the help again... Peter On Mon, Dec 5, 2022 at 9:38 PM Ivan Krylov wrote: > > В Mon, 5 Dec 2022 21:28:16 +0800 > Peter Langfelder пишет: > > > Open two devices, plot a plot, call dev.prev() and plot again. I > > would expect the second plo

[R] confusion about dev.prev()

2022-12-05 Thread Peter Langfelder
Hi all, I'm either confused about dev.prev() or there's a bug in it. Open two devices, plot a plot, call dev.prev() and plot again. I would expect the second plot to appear in the first device, but that is not what happens; both plots appear in the second device. Is this expected behavior or a bug

[R] [Rd] R 4.2.2 is released

2022-10-31 Thread Peter Dalgaard via R-help
rer to you. Binaries for various platforms will appear in due course. For the R Core Team, Peter Dalgaard These are the checksums (md5 and SHA-256) for the freshly created files, in case you wish to check that they are uncorrupted: MD5 (AUTHORS) = 320967884b547734d6279dedbc739dd4 MD

Re: [R] Subsetting a vector using an index with all missing values

2022-07-01 Thread Peter Langfelder
Ah, thanks, that makes sense. Peter On Fri, Jul 1, 2022 at 10:01 PM Bill Dunlap wrote: > > This has to do with the mode of the subscript - logical subscripts are > repeated to the length of x and integer/numeric ones are not. NA is logical, > NA_integer_ is integer, so we get >

Re: [R] Checking a function for undeclared variables

2022-04-05 Thread Peter Langfelder
Thanks! Peter On Tue, Apr 5, 2022 at 6:01 PM Jeff Newmiller wrote: > > ?codetools::findGlobals > > On April 5, 2022 5:36:54 PM PDT, Peter Langfelder > wrote: > >Hi all, > > > >I'd like to check a function for undeclared global variables using > >som

[R] [R-pkgs] Nmix package - Bayesian inference about univariate Gaussian mixtures with an unknown number of components

2022-04-02 Thread Peter Green
package in response to concrete suggestions. regards, Peter Green ___ R-packages mailing list r-packa...@r-project.org https://stat.ethz.ch/mailman/listinfo/r-packages __ R-help@r-project.org mailing

Re: [R] How to convert category (or range/group) into continuous ?

2022-01-17 Thread peter dalgaard
ject.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] Sum every n (4) observations by group

2021-12-19 Thread Peter Langfelder
d = rep(1:n1, each = n) tapply(x, ind, sum) } sums = tapply(df$Value, df$ID, sumNs, 4) Peter On Sun, Dec 19, 2021 at 10:32 AM Miluji Sb wrote: > > Dear all, > > I have a dataset (below) by ID and time sequence. I would like to sum every > four observations by ID. > > I am c

Re: [R] Date read correctly from CSV, then reformatted incorrectly by R

2021-11-23 Thread peter dalgaard
ote: > > Thanks, Andrew. I didn't realise as.Date *only* read two formats, I > think I was tripped up by using %y instead of %Y, -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office:

[R] [Rd] R 4.1.2 is released

2021-11-01 Thread Peter Dalgaard
Binaries for various platforms will appear in due course. For the R Core Team, Peter Dalgaard These are the checksums (md5 and SHA-256) for the freshly created files, in case you wish to check that they are uncorrupted: MD5 (AUTHORS) = 320967884b547734d6279dedbc739dd4 MD

Re: [R] [Rd] R 4.1.2 scheduled for November 1

2021-10-03 Thread peter dalgaard
Schedule should appear on developer.r-project.org when it gets updated from SVN. > On 3 Oct 2021, at 18:40 , peter dalgaard wrote: > > (Just a quick heads-up for developers.) > > Full schedule to be made available soon. > -- Peter Dalgaard, Professor, Center for Stat

[R] [Rd] R 4.1.2 scheduled for November 1

2021-10-03 Thread peter dalgaard
(Just a quick heads-up for developers.) Full schedule to be made available soon. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd@cbs.dk Priv: pda...@gmail.com

Re: [R] How to globally convert NaN to NA in dataframe?

2021-09-03 Thread peter dalgaard
.nan.data.frame <- function(x) >>>>> do.call(cbind, lapply(x, is.nan)) >>>>> >>>>> data123[is.nan(data123)] <- 0 >>>>> ``` >>>>> replacing o with NA, but I got >>>>> ``` >>>>> str(

[R] [Rd] R 4.1.1 is released

2021-08-10 Thread Peter Dalgaard
Binaries for various platforms will appear in due course. For the R Core Team, Peter Dalgaard These are the checksums (md5 and SHA-256) for the freshly created files, in case you wish to check that they are uncorrupted: MD5 (AUTHORS) = da5e7c699a83608d0f1e39c458d9fc56 MD

[R] [Rd] R 4.1.1 scheduled for August 10

2021-07-10 Thread Peter Dalgaard via R-help
Full schedule is available on developer.r-project.org. (This comes somewhat late this year, partly because we needed to squeeze in 4.0.5 before 4.1.0 could be released.) -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg

Re: [R] checksums for R src file

2021-06-24 Thread peter dalgaard
ments). - Peter D. > On 24 Jun 2021, at 17:47 , kap4lin wrote: > > When I download the file, > https://cran.r-project.org/src/base/R-4/R-4.1.0.tar.gz (or anything > similar) is there a checksum for the file I can compare it to? > > Thanks > PK > >

  1   2   3   4   5   6   7   8   9   10   >