[Rd] Specifying a long string literal across several lines

2025-05-27 Thread Pavel Krivitsky via R-devel
Dear All, Perhaps this should go in r-package-devel, but I suspect that this is going to turn into a feature request, and I want to run it by the list before filing it in the Bugzilla. I would like to specify a long string literal without making the line of code too long. In R, "abc def" yields

Re: [Rd] sqrt(.Machine$double.xmax)^2 == Inf, but only on Windows in R

2025-05-27 Thread Pavel Krivitsky via R-devel
ibera wrote: > > On 4/29/25 12:00, Martin Maechler wrote: > > > > > > > Pavel Krivitsky via R-devel > > > > > > > on Mon, 28 Apr 2025 05:13:41 + writes: > > > Hello, Under R 4.5.0 on Windows (x86-64), I get: > > > >

[Rd] sqrt(.Machine$double.xmax)^2 == Inf, but only on Windows in R

2025-04-27 Thread Pavel Krivitsky via R-devel
Hello, Under R 4.5.0 on Windows (x86-64), I get: > sqrt(.Machine$double.xmax)^2 [1] Inf > sqrt(.Machine$double.xmax)*sqrt(.Machine$double.xmax) [1] Inf On other hand on other platforms, including Debian Linux (x86-64), I get: d> sqrt(.Machine$double.xmax)^2 [1] 1.797693134862315508561e+308 d> s