Re: [Rd] paste(character(0), collapse="", recycle0=FALSE) should be ""

2020-05-03 Thread suharto_anggono--- via R-devel
I was wrong, as I didn't actually try and didn't read the documentation carefully. I thought that ' zero-length arguments being recycled to "" ' happens when recycle0 = TRUE. It is actually the opposite. Everywhere in my previous message, recycle0 = FALSE should be recycle0 = TRUE. I really

[Rd] paste(character(0), collapse="", recycle0=FALSE) should be ""

2020-04-30 Thread suharto_anggono--- via R-devel
Without 'collapse', 'paste' pastes (concatenates) its arguments elementwise (separated by 'sep', " " by default). New in R devel and R patched, specifying recycle0 = FALSE makes mixing zero-length and nonzero-length arguments results in length zero. The result of paste(n, "th", sep = "",

Re: [Rd] tryCatch without handler in QC.R

2020-03-10 Thread suharto_anggono--- via R-devel
Sorry, it is already fixed. Currently, it is as follows. bad <- tryCatch(check_url_db(udb), error = identity) On Tuesday, 10 March 2020, 11:53:16 pm GMT+7, wrote: The following is among those added by r77792 to src/library/tools/R/QC.R in R devel.                 bad <-

[Rd] tryCatch without handler in QC.R

2020-03-10 Thread suharto_anggono--- via R-devel
The following is among those added by r77792 to src/library/tools/R/QC.R in R devel. bad <- tryCatch(check_url_db(udb)) The 'tryCatch' has no handler. It does nothing. Error would still stop execution. __ R-devel@r-project.org mailing

Re: [Rd] round(x, dig) [was "Development version of R fails tests .."]

2020-02-15 Thread suharto_anggono--- via R-devel
I disagree with what is assessed as "correct" in vignette of package 'round'. With x <- 9.18665 , what is actually stored in 'x' is a number that is slightly larger than  9.18665. So, as said in the vignette, it is closer to 9.1867 than 9.1866. sprintf("%.4f", x) giving "9.1867" is correct, as 

Re: [Rd] Inappropriate class(o)[!inherits(o,"AsIs")] in get_all_vars

2019-11-29 Thread suharto_anggono--- via R-devel
class(o)[!inherits(o,"AsIs")] is still in function 'get_all_vars' in R patched (in https://svn.r-project.org/R/branches/R-3-6-branch/src/library/stats/R/models.R). It was ported to R patched by r77402. On Monday, 18 November 2019, 8:12:10 PM GMT+7, Martin Maechler wrote: >

[Rd] Inappropriate class(o)[!inherits(o,"AsIs")] in get_all_vars

2019-11-17 Thread suharto_anggono--- via R-devel
SVN revision 77401 changes x[isM] <- lapply(x[isM], function(o) `class<-`(o, class(o)[class(o) !=  "AsIs"])) to x[isM] <- lapply(x[isM], function(o) `class<-`(o,  class(o)[!inherits(o,"AsIs")])) in function 'get_all_vars' in src/library/stats/R/models.R in R devel. The change is 

[Rd] Wrong explanation on 'ylab' in hist.Rd

2019-10-06 Thread suharto_anggono--- via R-devel
Description of arguments main, xlab, ylab in hist.Rd in current R devel and R  patched ends with this. the default \code{ylab} is \code{"Frequency"} iff \code{probability} is true In fact, if 'probability' is true, the histogram doesn't represent frequencies. It should be the default \code{ylab} 

[Rd] Strange "no-echo" in place of "slave"

2019-10-06 Thread suharto_anggono--- via R-devel
SVN revision replaces "slave" with "no-echo" in R devel. In each of the following, "no-echo" is rather strange to me. - src/gnuwin32/README.Rterm 3) As a no-echo process for ESS mode in NTEmacs with flag --ess. - src/library/grDevices/src/qdCocoa.m /* the no-echo thread work until this is NO

[Rd] Wishlist: Function 'difftime' to honor 'tzone' attribute (PR#14182)

2010-01-11 Thread suharto_anggono
Full_Name: Suharto Anggono Version: 2.8.1 OS: Windows Submission from: (NULL) (125.165.84.118) PR#14076 inspired me to write this. t1 - as.POSIXct(1970-01-01 00:00:00, tz=GMT) t2 - as.POSIXlt(1970-01-01 00:00:00, tz=GMT) t1 - t2 Time difference of 7 hours Above, t1 and t2 represent the same

[Rd] Wishlist: In documentation, say that `+.Date`(Date, difftime) should be called directly or remove 'or an object of class difftime' (PR#14072)

2009-11-19 Thread suharto_anggono
Full_Name: Suharto Anggono Version: 2.8.1 OS: Windows Submission from: (NULL) (125.161.134.206) About PR#14067, now I understand why (Date + difftime) does not use '+.Date'. But, before I understand, it was surprising. The surprise is also reflected in the post Problem with +(POSIXt, difftime)

[Rd] In the documentation of 'Ops.Date', please remove mention about difftime, like in the documentation of 'DateTimeClasses' (PR#14072)

2009-11-19 Thread suharto_anggono
I am sorry to reply. But I need to clarify things.=0A=0AFrom searching over= the internet, I know that, before R 2.5.0, in the documentation of 'DateTi= meClasses', in 'date + x', in the explanation about 'x', there is also ment= ion that 'x' can be a 'difftime' object. Now, it has been

[Rd] (Date + difftime) and (POSIXt + difftime) does not use date/time arithmetics (PR#14067)

2009-11-16 Thread suharto_anggono
Full_Name: Suharto Anggono Version: 2.8.1 OS: Windows Submission from: (NULL) (125.165.81.48) There is already PR#13369. But, the problem is not just the warning. C:\Program Files\R\R-2.8.1\binR --vanilla R version 2.8.1 (2008-12-22) Copyright (C) 2008 The R Foundation for Statistical

[Rd] In the result of applying 'bquote' to function definition with 2 or more arguments, first function argument disappears (PR#14031)

2009-10-29 Thread suharto_anggono
Full_Name: Suharto Anggono Version: 2.8.1 OS: Windows Submission from: (NULL) (125.165.81.124) Sorry for repost. There is already PR#9602, but the problem is still there. There is also a post Re: [R] using bquote to construct function in R-help 2008-10-02. This illustrates the problem.