Re: [Rd] Installing/updating packages on a lab network

2015-07-29 Thread Michael Friendly
On 7/28/2015 1:32 PM, Uwe Ligges wrote: Just add the line R_LIBS_SITE=F:/R/library to the file R_HOME/etc/x64/Renviron.site Thanks, Uwe I have no way to test this and our IT people who do the installation know nothing of R, so follow-up questions: * There is no

Re: [Rd] update.packages(checkBuilt=TRUE, ask=FALSE): possible bug

2015-07-29 Thread Michael Friendly
On 7/19/2015 3:50 AM, peter dalgaard wrote: For some, but not allI repositories I get the error message below: Error in install.packages(update[instlib == l, Package], l, contriburl = contriburl, : specifying 'contriburl' or 'available' requires a single type, not type = both Is it a bug?

Re: [Rd] Mapping parse tree elements to tokens

2015-07-29 Thread Duncan Murdoch
On 29/07/2015 12:13 PM, Jim Hester wrote: I would like to map the parsed tokens obtained from utils::getParseData() to the parse tree and elements obtained by base::parse(). It looks like back when this code was in the parser package the parse() function annotated the elements in the tree with

Re: [Rd] Installing/updating packages on a lab network

2015-07-29 Thread Uwe Ligges
On 29.07.2015 17:11, Michael Friendly wrote: On 7/28/2015 1:32 PM, Uwe Ligges wrote: Just add the line R_LIBS_SITE=F:/R/library to the file R_HOME/etc/x64/Renviron.site Thanks, Uwe I have no way to test this and our IT people who do the installation know nothing of R, so follow-up

[Bioc-devel] BiocStyle and R markdown

2015-07-29 Thread Thomas Girke
A simple formatting issue: Since support for table of contents in R markdown vignettes has become available, it seems like an amazing solution for many online documentation needs in the future. What would help me to fully to adopt to it, is a solution to get rid of the bullets in a numbered

Re: [Rd] Mapping parse tree elements to tokens

2015-07-29 Thread Jim Hester
As Michael guessed my main use cases was code analysis. A concrete example where this would help is with my test code coverage tool covr. There is currently a bug when tracking coverage for if / else statements when the clauses do not contain brackets

[Bioc-devel] error using the DEXSeqDataSet function

2015-07-29 Thread Leonard Goldstein
Hi all, I'm having trouble creating a DEXSeqDataSet object (in the devel version of DEXSeq) Running the example included in the manual page results in the same error I get with my own data (see below) Many thanks for your help. Leonard library(DEXSeq) countData - matrix( rpois(1, 100),

Re: [Bioc-devel] Hunting for the subset generic definition?

2015-07-29 Thread Hervé Pagès
Done in BiocGenerics 0.15.4. H. On 07/29/2015 11:00 AM, Hervé Pagès wrote: Hi Steve, On 07/29/2015 10:40 AM, Steve Lianoglou wrote: Hi folks, I'm looking to define a `subset` method on an S4 class of mine, but can't find where to import the generic from. That's because subset() is an

Re: [Rd] update.packages(checkBuilt=TRUE, ask=FALSE): possible bug

2015-07-29 Thread Duncan Murdoch
On 29/07/2015 12:55 PM, Michael Friendly wrote: On 7/19/2015 3:50 AM, peter dalgaard wrote: For some, but not allI repositories I get the error message below: Error in install.packages(update[instlib == l, Package], l, contriburl = contriburl, : specifying 'contriburl' or 'available'

Re: [Bioc-devel] Hunting for the subset generic definition?

2015-07-29 Thread Ryan C. Thompson
From base, according to my R console: subset standardGeneric for subset defined from package base function (x, ...) standardGeneric(subset) environment: 0x4eb60c8 Methods may be defined for arguments: x Use showMethods(subset) for currently available ones. On 07/29/2015 10:40 AM, Steve

[Bioc-devel] Hunting for the subset generic definition?

2015-07-29 Thread Steve Lianoglou
Hi folks, I'm looking to define a `subset` method on an S4 class of mine, but can't find where to import the generic from. I can't seem to find it anywhere in: * BiocGenerics * S4Vectors * XVector ( Even though S4Vectors has a: setMethod(subset, DataTable, ...) It's not clear to me

[R-pkg-devel] new maintainer sought for maps packages

2015-07-29 Thread Ray Brownrigg
I am about to retire from my 'day job' and will therefore have little further association with acadaemia/research in general or R in particular. I am currently maintainer for the 3 mapping packages maps, mapdata and mapproj. Is there anyone out there who would be willing to take this on? I

Re: [Bioc-devel] Hunting for the subset generic definition?

2015-07-29 Thread Hervé Pagès
Hi Steve, On 07/29/2015 10:40 AM, Steve Lianoglou wrote: Hi folks, I'm looking to define a `subset` method on an S4 class of mine, but can't find where to import the generic from. That's because subset() is an implicit generic, that is, there is no setGeneric statement for it, only setMethod

Re: [Rd] Mapping parse tree elements to tokens

2015-07-29 Thread Duncan Murdoch
On 29/07/2015 2:30 PM, Michael Lawrence wrote: Probably need a generic tree based on ParseNode objects that associate the line information with the symbol (for leaf nodes). As Duncan notes, it should be possible to gather that from the table. But it would be nice if there was an expr column in

Re: [Rd] Mapping parse tree elements to tokens

2015-07-29 Thread luke-tierney
Both codetools and compiler get by without this. codetools uses source refs to generate messages; I don't recall if compiler does but it could easily do so. I would be wary about committing to this sort of implementation specific stuff -- we might want to go to completely different parser

Re: [Rd] Mapping parse tree elements to tokens

2015-07-29 Thread Michael Lawrence
I agree that we don't want to depend on implementation details. Some sort of abstraction that is higher resolution than srcrefs would be nice. Right now, it would be inconvenient using srcrefs to get to the exact column range of a symbol, for example, but an IDE wants that to highlight the symbol.

Re: [Bioc-devel] BiocStyle and R markdown

2015-07-29 Thread Kasper Daniel Hansen
What exactly do you mean by numbering. As far as I understand, numbering is already there in devel: https://bioconductor.org/packages/devel/bioc/vignettes/BiocStyle/inst/doc/HtmlStyle.html Kasper On Wed, Jul 29, 2015 at 10:39 PM, Thomas Girke thomas.gi...@ucr.edu wrote: Perfect, if your

Re: [Bioc-devel] BiocStyle and R markdown

2015-07-29 Thread Kasper Daniel Hansen
When I roll that styles.css into the bioconductor.css file shipping with BiocStyle, it gets rid of the bullets. Its added to BiocStyle 1.7.5 Kasper On Wed, Jul 29, 2015 at 9:37 PM, Kasper Daniel Hansen kasperdanielhan...@gmail.com wrote: This is just reporting what I see using Bioc-devel:

Re: [Bioc-devel] BiocStyle and R markdown

2015-07-29 Thread Thomas Girke
Perfect, if your update in Bioc-devel eliminates the awkward bullets in front of the numbers. The lack of numbered content tables in Bioc-release may be something we have to live with until the next Bioc release? I don't want to overstretch Dan's or the Bioc team's patience with overly picky style