Re: [Rd] Top level \Sexpr and R CMD check

2018-07-16 Thread Gábor Csárdi
The patch indeed solves the issue. Thanks much, G. On Thu, Jul 12, 2018 at 5:29 PM Duncan Murdoch wrote: > > On 12/07/2018 9:46 AM, Gábor Csárdi wrote: > > On Thu, Jul 12, 2018 at 2:30 PM Gábor Csárdi wrote: > >> > >> On Thu, Jul 12, 2018 at 2:21 PM Duncan Murdoch > >> wrote: > >>> I think I

[Rd] Output mis-encoded on Windows w/ RGui 3.5.1 in strange case

2018-07-16 Thread Kevin Ushey
Given the following R script: x <- 1 print(list()) save(x, file = tempfile()) output <- encodeString("apple") print(output) If I source this script from RGui on Windows, I see the output: > source("encoding.R") list() [1] "\002ÿþapple\003ÿþ" That is, it's as though R has

[Rd] Memory leakage from large lists

2018-07-16 Thread Daniel Raduta
Hello, I am experiencing a very noticeable memory leak when using large lists of large data. The code below creates a list of matrices, yet the memory does not free up after removing that item and performing a garbage collection. Is there a something I can do to prevent this memory leak? Any help

Re: [Rd] persp command

2018-07-16 Thread Christian Rau
Dear Robert, Thank you for pointing out the existence of the two different conventions in mathematics and physics --- sorry that I hadn't investigated this in advance. As far as I am aware, the mathematicians use the "physics" convention quite often, but can certainly accept the different conventi

Re: [Rd] persp command

2018-07-16 Thread Robert Baer
On 7/16/2018 7:28 AM, Christian Rau wrote: Dear R-devel mailing list, I am wondering whether the "theta" and "phi" parameters of the "persp" function in the graphics commands are named in error (the names seem to have been swapped). Not that it is authoritative, but one gleans from wikipedia,

[Rd] persp command

2018-07-16 Thread Christian Rau
Dear R-devel mailing list, I am wondering whether the "theta" and "phi" parameters of the "persp" function in the graphics commands are named in error (the names seem to have been swapped). Also, in the documentation to "persp", reference is made to "colatitude" when the effect in the image is act