[Rd] Writing files with long paths on Windows fails even after enabling long paths

2019-07-23 Thread Kenny Bell
Hello all, We now can have long file paths on Windows by setting the LongPathsEnabled key to 1 at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem in the Registry Editor. I can successfully rename files to have long paths in File Explorer. R still isn't able to take advantage of the

Re: [Rd] Any plans for ALTREP lists (VECSXP)?

2019-07-23 Thread Gabriel Becker
Hi Kylie, Is it a list with only numerics in it? (I only see REALSXPs there, but obviously inspect isn't showing all of them). If so, you could load it up into one big vector and then also keep partitioning information around. Bioconductor does this (see ?IRanges::CompressedList ). The potential b

Re: [Rd] Any plans for ALTREP lists (VECSXP)?

2019-07-23 Thread Michael Lawrence via R-devel
Hi Kylie, As an alternative in the short term, you could consider deriving from S4Vector's List class, implementing the getListElement() method to lazily create the objects. Michael On Tue, Jul 23, 2019 at 9:09 AM Bemis, Kylie wrote: > > Hello, > > I was wondering if there were any plans for AL

Re: [Rd] [External] Any plans for ALTREP lists (VECSXP)?

2019-07-23 Thread Tierney, Luke
Eventually, but probably not in the next release. There are many more issues to think through for vectors where the elements can be arbitrary R object, and I don't think there will be time for that soon given other issues on the table. Best, luke On Tue, 23 Jul 2019, Bemis, Kylie wrote: > Hello

[Rd] Any plans for ALTREP lists (VECSXP)?

2019-07-23 Thread Bemis, Kylie
Hello, I was wondering if there were any plans for ALTREP lists (VECSXP)? It seems to me that they could be supported in a similar way to how ALTSTRING works, with Elt() and Set_elt() methods, or would there be some problems with that I’m not seeing due to lists not being atomic vectors? I was

Re: [Rd] [External] Re: quiet namespace load is noisy

2019-07-23 Thread Yihui Xie
I mentioned the same thing a couple of months ago but didn't get a response: https://stat.ethz.ch/pipermail/r-devel/2019-May/04.html In your case of package vignettes, it is easy enough to suppress the messages via the knitr chunk option message = FALSE. However, I still wonder if it will be a

Re: [Rd] [External] Re: quiet namespace load is noisy

2019-07-23 Thread Lenth, Russell V
Ben and Henrik, My package tends to load other packages ‘ namespaces on an as-needed basis, e.g. ggplot2 when a plotting function is called. I have been thinking I would use suppressMessages() in my code, but it is probably a better idea to instead have a setup chunk in each vignette that loads

Re: [Rd] [External] Re: quiet namespace load is noisy

2019-07-23 Thread Henrik Singmann
Dear Russ, I had the same problem in my vignettes and setting both message and warning to FALSE seems to remove all unwanted output: ```{r message=FALSE, warning=FALSE} library("afex") library("ggplot2") library("cowplot") theme_set(theme_grey()) ``` Result: https://cran.r-project.org/web/packag

Re: [Rd] [External] Re: quiet namespace load is noisy

2019-07-23 Thread Ben Bolker
Does setting message=FALSE in the chunk options of the vignette help? Or less preferably, using supressMessages() ? On 2019-07-23 9:36 a.m., Lenth, Russell V wrote: > Lionel, > > Thanks for your response. I understand that method overriding can be a > serious issue, but as you say, this i

Re: [Rd] [External] Re: quiet namespace load is noisy

2019-07-23 Thread Lenth, Russell V
Lionel, Thanks for your response. I understand that method overriding can be a serious issue, but as you say, this is not something that the user can act upon. Yet the message lands at the user’s feet. In my case, the messages are cluttering my package vignettes, and may or may not represent