[Rd] bug in "all.vars()"

2020-12-15 Thread Daniel Lüdecke
Hello, I'm not sure if the following is intended, or a bug, but "all.vars()" returns different values, depending on whether "TRUE" or "T" is used inside "poly()": m1 <- lm(Sepal.Length ~ poly(Sepal.Width, 2, raw = TRUE) + Petal.Length, data = iris) m2 <- lm(Sepal.Length ~ poly(Sepal.Width, 2, raw

Re: [Rd] bug in "all.vars()"

2020-12-15 Thread Duncan Murdoch
On 15/12/2020 7:33 a.m., Daniel Lüdecke wrote: Hello, I'm not sure if the following is intended, or a bug, but "all.vars()" returns different values, depending on whether "TRUE" or "T" is used inside "poly()": > m1 <- lm(Sepal.Length ~ poly(Sepal.Width, 2, raw = TRUE) + Petal.Length, data = iris)

Re: [Rd] quantile() names

2020-12-15 Thread Merkle, Edgar C.
Avi, On Mon, 2020-12-14 at 18:00 -0500, Avi Gross wrote: Question: is the part that Ed Merkle is asking about the change in the expected NAME associated with the output? You are right: the question is about the name changing to "98%", when the returned object is the 97.5th percentile. It is i

Re: [Rd] quantile() names

2020-12-15 Thread Avi Gross via R-devel
Thank you for explaining, Ed. It makes looking at the issue raised much easier. As I understand it, you are not really asking about some thing fully in your control. You are asking how any function like quantile() should behave when a user has altered something global or at least global within

[Rd] UTF-8 characters in Rd files

2020-12-15 Thread Gábor Csárdi
Dear list, I am trying to see if there is a way to expand the set of UTF-8 characters that we can use in Rd files. The main blocker is LaTeX when building the PDF manual. It is possible to use the inputenx LaTeX package, instead of inputenc, which is an improvement, by setting the RD2PDF_INPUTENC