Re: [R] R versions > 4.0.2 fail to start in Windows 64-bit

2021-04-20 Thread Jeff Newmiller
Not a problem here. Generally this kind of thing happens when anti-virus software gets aggressive. On April 20, 2021 9:32:52 AM PDT, "N. Jordan Jameson" wrote: >I have a 64-bit Windows machine and I've installed R versions 4.0.0 >through >4.0.5 and only versions 4.0.2 and below will successfull

[R] R versions > 4.0.2 fail to start in Windows 64-bit

2021-04-20 Thread N. Jordan Jameson
I have a 64-bit Windows machine and I've installed R versions 4.0.0 through 4.0.5 and only versions 4.0.2 and below will successfully start. This morning I installed 4.0.5, and when I start R, the R-gui starts for less than a second and then disappears. I tried to open R using RStudio and I got the

Re: [R] problems in knitting to html

2021-04-20 Thread Troels Ring
Thanks a lot to Jeff and Yihui -  it seems that only fairly large rmd files have this problem, and yes, dropbox is running. So next time it happens I'll remove it out of dropbox to see what happens. Otherwise I'll try the development version, thanks Yihui! BW Troels Den 20-04-2021 kl. 19:48

Re: [R] problems in knitting to html

2021-04-20 Thread Yihui Xie
It's hard to tell what's going on without a reproducible example. Perhaps it was because of ant-virus software or a network drive as Jeff guessed. The development version of rmarkdown (https://github.com/rstudio/rmarkdown) will no longer generate the intermediate *.utf8.md file. I'm not sure if th

Re: [R] problems in knitting to html

2021-04-20 Thread Jeff Newmiller
I would encourage you to make _any_ kind of example that _ever_ has had this problem when asking for help on an intermittent error. Also, are you running this in a cloud-backed directory such as OneDrive or Dropbox? These kinds of software can acquire exclusive access to intermediate files in a

Re: [R] problems in knitting to html

2021-04-20 Thread Troels Ring
Thanks a lot - the error is not constant so I  have not tried a minimal example yet but  the info is below, thanks a lot Troels xfun::session_info('rmarkdown') R version 4.0.5 (2021-03-31) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 19042), RStudio 1.4.1106 L

Re: [R] problems in knitting to html

2021-04-20 Thread Yihui Xie
Could you provide a minimal reproducible example along with your xfun::session_info('rmarkdown')? Thanks! Regards, Yihui -- https://yihui.org On Tue, Apr 20, 2021 at 11:06 AM Troels Ring wrote: > > Dear friends - newly installed windows 10 and R version 4.0.5 > (2021-03-31) -- "Shake and Throw"

[R] problems in knitting to html

2021-04-20 Thread Troels Ring
Dear friends - newly installed windows 10 and R version 4.0.5 (2021-03-31) -- "Shake and Throw" and newest version of RStudio I tend to get an error when knitting to html. The message I get is ("applications-of-charge-balance-160421.rmd" is my file name) /output file: applications-of-charge-ba

[R] mgcv: bam warning messages and non-convergence

2021-04-20 Thread Williamson, Michael via R-help
I have a large dataset of 118225 observations from 16 columns and as such I’ve been using bam, rather than gam, for my analyses. The response variable I’m using is count data but it’s overdispersed, and as such, I thought I’d use a negative binomial model. I have 5 explanatory variables, which

Re: [R] What is an alternative to expand.grid if create a long vector?

2021-04-20 Thread Jan van der Laan
This is an optimisation problem that you are trying to solve using a grid search. There are numerous methods for optimisation, see https://cran.r-project.org/web/views/Optimization.html for and overview for R. It really depends on the exact problem what method is appropriate. As Petr said h

Re: [R] What is an alternative to expand.grid if create a long vector?

2021-04-20 Thread PIKAL Petr
Hi Keep your mails on the list. Actually you did not say much about your data and the way how do you want to model them. There are plenty of modelling functions in R starting with e.g. lm but I am not aware of a procedure in which you just design your explanatory variables to set plausible mo

Re: [R] What is an alternative to expand.grid if create a long vector?

2021-04-20 Thread Jan van der Laan
But even if you could have a generator that is superefficient and perform an calculation that is superfast the number of elements is ridiculously large. If we take 1 nanosec per element; the computation would still take: > (100^10)*1E-9/3600 [1] 2778 hours, or > (100^10)*1E-9/3600/24/