Re: [R] Regression performance when using summary() twice

2024-06-21 Thread John Fox
Dear Christian, You're apparently using the glm.nb() function in the MASS package. Your function is peculiar in several respects. For example, you specify the model formula as a character string and then convert it into a formula, but you could just pass the formula to the function -- the con

Re: [R] Regression performance when using summary() twice

2024-06-21 Thread Michael Dewey
Dear Christian Without knowing how big your datset is it is hard to be sure but confint() can take some time. Have you thought of calling summary once summ <- summary(model) and then replace all subsequent calls to summary with summ Michael On 21/06/2024 15:38, c.bu...@posteo.jp wrote: Hell

Re: [R] devtools - bad credentials R4.4.1

2024-06-21 Thread Robert Baer
Thank  you Jeff.  I did not know Windows Credential Manager, but I used it and found something that looked like a reference to a GIT PAT and removed it. Now devtools::install_github() is once again installing my package without complaining. Appreciate the direction and links. On 6/20/2024 9:4

[R] Regression performance when using summary() twice

2024-06-21 Thread c . buhtz
Hello, I am not a regular R user but coming from Python. But I use R for several special task. Doing a regression analysis does cost some compute time. But I wonder when this big time consuming algorithm is executed and if it is done twice in my sepcial case. It seems that calling "glm()"

Re: [R] Problem with combining monthly nc files into a yearly file (era5 climate data)

2024-06-21 Thread Roy Mendelssohn - NOAA Federal via R-help
Hi Leni: You forget to post the important part - the errors you have been getting and if you have the errors isolated to particular lines in the code. HTH, -Roy > On Jun 21, 2024, at 3:59 AM, Leni Koehnen via R-help > wrote: > > Dear R-help List, > > I am currently trying to run a code w

[R] Problem with combining monthly nc files into a yearly file (era5 climate data)

2024-06-21 Thread Leni Koehnen via R-help
Dear R-help List,  I am currently trying to run a code which is available on Zenodo (https://zenodo.org/records/10997880 - 02_MicroClimModel.R). The code downloads yearly era5 climate data. Unfortunately, the limit to download these nc-files was recently reduced to 6. Therefore, I can not

Re: [R] Bug with writeClipboard in {utils}

2024-06-21 Thread Ivan Krylov via R-help
В Thu, 20 Jun 2024 18:39:34 +0300 Ivan Krylov via R-help пишет: > > Is there a way to test this patch or will there soon be a published > > patched R version available for download? > > Not directly. Now that the bug is fixed in R-devel (thanks Tomas!), a Windows build of the development vers

Re: [R] devtools - bad credentials R4.4.1

2024-06-21 Thread Hadley Wickham
The place to start for such problems is always usethis::git_sitrep() Hadley On Thu, Jun 20, 2024 at 11:17 PM Robert Baer wrote: > I am trying to install a package from github which has worked fine in > the past, but now seems to be stuck on some new authentication issues. > Does anyone know how

Re: [R] Bug with writeClipboard in {utils}

2024-06-21 Thread Barthelemy Tanguy via R-help
Hello, Thank you for your research and your bug report. At the end of your bug report (https://bugs.r-project.org/show_bug.cgi?id=18747) you mentioned that "the problem doesn't reappear with the attached patch". Is there a way to test this patch or will there soon be a published patched R vers

Re: [R] Bug with writeClipboard in {utils}

2024-06-21 Thread Barthelemy Tanguy via R-help
Hello, Thank you for your different tests. You have that you didn't find any errors with Rscript or with R but I have the impression that your test with R (second test) showed additional and unwanted characters (second line of the output)? Thank you again Tanguy BARTHELEMY _