[Rd] security holes in system2

2022-03-10 Thread Frederick Eaton
Dear R Developers, The documentation for "system2" only defines "args" as args: a character vector of arguments to 'command'. This encourages the reader to think that R's system2 interface is passing its arguments unchanged to exec(). But I was surprised to find that under the hood, you'r

Re: [Rd] meaning of browser(skipCalls=) [and multiple mouse buttons]

2021-12-22 Thread Frederick Eaton
ioned? Why is it not in the documentation? Why not put it there? Why not talk about it? So confused, Frederick On Thu, Dec 16, 2021 at 10:02:13AM +0100, Martin Maechler wrote: Frederick Eaton on Wed, 15 Dec 2021 20:09:46 -0800 writes: > Just following up to check if anyone has had

Re: [Rd] meaning of browser(skipCalls=) [and multiple mouse buttons]

2021-12-15 Thread Frederick Eaton
Just following up to check if anyone has had time to look over these patches. Frederick On Wed, Dec 08, 2021 at 12:24:47AM -0800, Frederick Eaton wrote: Dear R Core Team, I'm attaching a proposed patch to hopefully address my confusions regarding the documentation of browser(). I'

Re: [Rd] meaning of browser(skipCalls=) [and multiple mouse buttons]

2021-12-08 Thread Frederick Eaton
und acceptable. Thank you in advance, Frederick On Mon, Nov 22, 2021 at 09:13:58AM -0800, Frederick Eaton wrote: Dear R Devel, I have been advised to use "options(error=recover)" to enable debugging on errors. But sometimes it would seem more convenient to override "stopifnot&qu

[Rd] meaning of browser(skipCalls=)

2021-11-22 Thread Frederick Eaton
Dear R Devel, I have been advised to use "options(error=recover)" to enable debugging on errors. But sometimes it would seem more convenient to override "stopifnot", for example: stopifnot = function(b) { if(!b) { browser(skipCalls=1); } } However, this doesn't do what I expected. On lookin

[Rd] clarify "by columns"

2021-08-23 Thread Frederick Eaton
Dear R Devel, I realized that I've been reading something without really thinking about it. In "?matrix" we have: byrow: logical. If 'FALSE' (the default) the matrix is filled by columns, otherwise the matrix is filled by rows. I don't understand on the first reading what "

Re: [Rd] unicode in R documentation

2021-07-13 Thread Frederick Eaton
Thank you both! it works On Tue, Jul 13, 2021 at 04:00:05PM +, Martin Morgan wrote: I have options(useFancyQuotes = FALSE) in my ~/.Rprofile. Martin Morgan Not sure if this is more of an R-help topic. I use options(useFancyQuotes = FALSE) in my .Rprofile. Best regards, Seb

[Rd] unicode in R documentation

2021-07-13 Thread Frederick Eaton
Dear R Team, I am running R from the terminal command line (not RStudio). I've noticed that R has been using Unicode quotes in its documentation for some time, maybe since before I started using it. I am wondering if it is possible to compile the documentation to use normal quotes instead. I