Re: [Rd] Inconsistency between row and nrow

2024-09-08 Thread Marc Schwartz via R-devel
Hi Gabor, In strictly reading the help files for both nrow() and row(), the 'x' argument in the former case is "a vector, array, data frame, or NULL.", whereas in the latter case it is "a matrix-like object, that is one with a two-dimensional dim.". Thus, I would expect row() to fail on a >= 3

Re: [Rd] Archive policy and Rcpp?

2023-04-10 Thread Marc Schwartz via R-devel
Hi Dominick, While somebody from CRAN might eventually reply here, your query is actually OT for R-Devel, which has been, since circa 2015, focused on more technical code development (e.g. C/C++/FORTRAN, etc.) and core R development issues, rather than on CRAN and package development related to

Re: [Rd] Making headers self-contained for static analysis

2023-03-16 Thread Marc Schwartz via R-devel
Hi, There are a limited number of MIME file types that are accepted through the list server, with plain text being one. Even though a patch file should be plain text, it is possible that your mail client may not have set the correct MIME type for your patch file attachment. If so, that would ex

Re: [Rd] End of Support Date of Version 3 of “R”

2023-02-15 Thread Marc Schwartz via R-devel
Hi, R's software development life cycle is documented here:   https://www.r-project.org/doc/R-SDLC.pdf This is available via the Certification link, under Documentation, on the main R Project web page:   https://www.r-project.org Section 4.4 of the document, on page 10, covers the release cyc

Re: [Rd] R-Forge http link redirection setup busted

2021-07-19 Thread Marc Schwartz via R-devel
ill > wrote: > >  > Please unsubscribe me. > >> On Mon, Jul 19, 2021 at 5:15 PM Spencer Graves >> wrote: >> >> >> On 7/19/21 3:36 PM, Marc Schwartz via R-devel wrote: >> > Dirk, >> > >> > I have not use R-Forge in years,

Re: [Rd] R-Forge http link redirection setup busted

2021-07-19 Thread Marc Schwartz via R-devel
Dirk, I have not use R-Forge in years, but on the main page (https://r-forge.r-project.org), just before the blue "Latest News" box, it shows: "If you experience any problems or need help you can submit a support request to the R-Forge team or write an email to r-fo...@r-project.org." I ha

Re: [Rd] subset argument in nls() and possibly other functions

2021-07-13 Thread Marc Schwartz via R-devel
Hi John, In scanning some of the more popular model functions (e.g. lm(), glm(), lme(), coxph(), etc.), none seem to provide examples of the use of the 'subset' argument, even though it is documented for them. That being said, there is some old (2003) documentation by Prof Ripley here: https

[Rd] Status of "**" operator

2021-05-21 Thread Marc Schwartz via R-devel
Hi All, I was just sent some older R code from circa 2004, which contains the use of the "**" operator, which is parsed as "^". From looking at ?"**", I see the following in the Note section: "** is translated in the parser to ^, but this was undocumented for many years. It appears as an ind

[Rd] power.prop.test() documentation question

2020-12-16 Thread Marc Schwartz via R-devel
Hi All, Based upon a discussion on power/sample size calculations on another, non-R related, list, some light bulbs went on regarding the assumptions of what type of statistical test is going to be used with various power/sample size calculators/functions for proportions. In some cases, this is

Re: [Rd] Error in unsplit() with tibbles

2020-11-21 Thread Marc Schwartz via R-devel
suspect), so we might as well just fix it... > > -pd > > > On 21 Nov 2020, at 17:42 , Marc Schwartz via R-devel > <mailto:r-devel@r-project.org>> wrote: > > > > > >> On Nov 21, 2020, at 10:55 AM, Mario Annau >> <mailto:mario.an...@gmail.com

Re: [Rd] Error in unsplit() with tibbles

2020-11-21 Thread Marc Schwartz via R-devel
> On Nov 21, 2020, at 10:55 AM, Mario Annau wrote: > > Hello, > > using the `unsplit()` function with tibbles currently leads to the > following error: > >> mtcars_tb <- as_tibble(mtcars, rownames = NULL) >> s <- split(mtcars_tb, mtcars_tb$gear) >> unsplit(s, mtcars_tb$gear) > Error: Must sub

Re: [Rd] Hard memory limit of 16GB under Windows?

2020-04-07 Thread Marc Schwartz via R-devel
Hi Samuel, You may already be aware, but if not, RStudio has their own support mechanisms here: https://support.rstudio.com/hc/en-us If this does turn out to be RStudio specific, you may wish to check there for additional insights. Regards, Marc Schwartz > On Apr 7, 2020, at 10:24 AM, To

Re: [Rd] findInterval Documentation Suggestion

2020-03-06 Thread Marc Schwartz via R-devel
> On Mar 6, 2020, at 9:17 AM, brodie gaslam via R-devel > wrote: > >> On Friday, March 6, 2020, 8:56:54 AM EST, Martin Maechler >> wrote: > >> Note that the * -> LaTex -> PDF rendered version looks a bitnicer. > > Ah yes, that does indeed look quite a bit nicer. > >> I wrote the functio

Re: [Rd] as-cran issue ==> set _R_CHECK_LENGTH_1_* settings!

2020-01-14 Thread Marc Schwartz via R-devel
> On Jan 14, 2020, at 3:29 PM, Abby Spurdle wrote: > >> I do want to entice people to have a long look beyond closed >> source OS into the world of Free Software where not only R is >> FOSS (Free and Open Source Software) but (all / almost) all the >> tools you use are of that same spirit. > > A

Re: [Rd] mean

2020-01-09 Thread Marc Schwartz via R-devel
,"4") ) > Error in cov(c("1", "2", "3", "4"), c("1", "2", "3", "4")) : > is.numeric(x) || is.logical(x) is not TRUE >> var(c("1","2","3","4"),c("1&qu

Re: [Rd] mean

2020-01-09 Thread Marc Schwartz via R-devel
Jean-Luc, Please keep the communications on the list, for the benefit of others, now and in the future, via the list archive. I am adding r-devel back here. I can't speak to the rationale in some of these cases. As I noted, it may be (is likely) due to differing authors over time, and there may

Re: [Rd] mean

2020-01-09 Thread Marc Schwartz via R-devel
> On Jan 9, 2020, at 7:40 AM, Lipatz Jean-Luc wrote: > > Hello, > > Is there a reason for the following behaviour? >> mean(c("1","2","3")) > [1] NA > Warning message: > In mean.default(c("1", "2", "3")) : > l'argument n'est ni numérique, ni logique : renvoi de NA > > But: >> var(c("1","2","3

Re: [Rd] Offer zip builds

2019-06-03 Thread Marc Schwartz via R-devel
> On Jun 3, 2019, at 6:31 PM, Steven Penny wrote: > > On Mon, Jun 3, 2019 at 4:11 PM Marc Schwartz wrote: >> I have not tried it, but if that is the case here, you may be able to use the >> normal R binary installer, but adjust the default install options when >> prompted, allowing you to cust

Re: [Rd] Offer zip builds

2019-06-03 Thread Marc Schwartz via R-devel
> On Jun 3, 2019, at 4:40 PM, Abby Spurdle wrote: > >> If you go here: >> https://cran.cnr.berkeley.edu/bin/windows/base >> you see EXE installers for Windows. This contrasts with other programming >> languages that offer both an executable installer and ZIP files that can > be >> extracted an

Re: [Rd] survival changes

2019-06-01 Thread Marc Schwartz via R-devel
> On Jun 1, 2019, at 12:59 PM, Peter Langfelder > wrote: > > On Sat, Jun 1, 2019 at 3:22 AM Therneau, Terry M., Ph.D. via R-devel > wrote: >> >> In the next version of the survival package I intend to make a non-upwardly >> compatable >> change to the survfit object. With over 600 depende

Re: [Rd] prettyNum digits=0 not compatible with scientific notation

2019-03-22 Thread Marc Schwartz via R-devel
> On Mar 22, 2019, at 7:25 PM, peter dalgaard wrote: > > > >> On 22 Mar 2019, at 18:07 , Martin Maechler >> wrote: >> >> gives (on Linux R 3.5.3, Fedora 28) >> >> d=10 d=7 d=2 d=1 d=0 >> [1,] "123456" "123456" "123456" "1e+05" "%#4.0-1e" >> [

[Rd] Proposed patch for ?Extract

2019-02-21 Thread Marc Schwartz via R-devel
Hi, In follow up to the thread on R-Help yesterday: https://stat.ethz.ch/pipermail/r-help/2019-February/461725.html I am attaching a proposed patch against the trunk version of Extract.Rd, with wording added to the "Matrices and arrays" section, to note that indexing these object by factors

Re: [Rd] compairing doubles

2018-08-31 Thread Marc Schwartz via R-devel
> On Aug 31, 2018, at 9:36 AM, Iñaki Ucar wrote: > > El vie., 31 ago. 2018 a las 15:10, Felix Ernst > () escribió: >> >> Dear all, >> >> I a bit unsure, whether this qualifies as a bug, but it is definitly a >> strange behaviour. That why I wanted to discuss it. >> >> With the following fu

Re: [Rd] Where does L come from?

2018-08-25 Thread Marc Schwartz via R-devel
On Aug 25, 2018, at 9:26 AM, Hadley Wickham wrote: > > Hi all, > > Would someone mind pointing to me to the inspiration for the use of > the L suffix to mean "integer"? This is obviously hard to google for, > and the R language definition > (https://cran.r-project.org/doc/manuals/r-release/R-la