Re: [Bioc-devel] help with imports for new package and other questions

2015-08-20 Thread Lo
oh! that's cool! super nice, will try it. thanks a lot! On 08/20/2015 12:46 PM, Adrienne Stilp wrote: Hi Lorena, For your last question about coding style, you could look into the lintr package: https://github.com/jimhester/lintr You can run it either as an R function, or add it as a plugin

[R-pkg-devel] Browser Level for Conditional Function Parameter

2015-08-20 Thread Dario Strbenac
Good day, Why do I get a debug message and a change in browser level when I inspect the title variable ? For the comparison variable, it simply prints its value and remains at level 1. aFunction - function(comparison = c(within, classifier, selection), title =

Re: [R-pkg-devel] Browser Level for Conditional Function Parameter

2015-08-20 Thread Berry Boessenkool
I always get the browser level change in combination with if-statements... You haven't by change at some point in time set debug(aFunction) If so, set undebug(aFunction) Berry From: dstr7...@uni.sydney.edu.au To: r-package-devel@r-project.org Date: Thu, 20 Aug 2015 05:00:06 + Subject:

Re: [R-pkg-devel] Browser Level for Conditional Function Parameter

2015-08-20 Thread Duncan Murdoch
On 20/08/2015 1:00 AM, Dario Strbenac wrote: Good day, Why do I get a debug message and a change in browser level when I inspect the title variable ? For the comparison variable, it simply prints its value and remains at level 1. This is an R-devel question, not an R-pkg-devel question.

[Rd] sequence divided by data.frame

2015-08-20 Thread Ott Toomet
Can anyone explain me the following behavior: 1:2/1 [1] 1 2 -- makes sense 1:2/matrix(1,1,1) [1] 1 2 -- makes sense 1:2/data.frame(a=1) a 1 1 -- why is this different? Best, Ott -- Ott Toomet Visiting Researcher School of Information Mary Gates Hall, Suite 095 University of

[Rd] Child thread libR.so

2015-08-20 Thread Ryan C Metzger
So I'm working on a custom front end to R, in one mode of the front end I dynamically load libR.so into a child worker thread. I'm very careful to make sure it is loaded by a single thread and loaded only once, but since it is a child thread it violates assumptions made by the stack size checking

Re: [Rd] Multi-line comments in R

2015-08-20 Thread Barry Rowlingson
On Wed, Aug 19, 2015 at 5:16 AM, Nathan Esau ne...@sfu.ca wrote: I was wondering why the decision was made long ago to never implement multi-line comments in R. I feel there are several argument to be made for why the R language should have multi-line comments. 1. Many programming languages

Re: [Rd] Multi-line comments in R

2015-08-20 Thread Gabriel Becker
On Thu, Aug 20, 2015 at 8:23 AM, Barry Rowlingson b.rowling...@lancaster.ac.uk wrote: On Wed, Aug 19, 2015 at 5:16 AM, Nathan Esau ne...@sfu.ca wrote: I was wondering why the decision was made long ago to never implement multi-line comments in R. I feel there are several argument to be made

Re: [Bioc-devel] help with imports for new package and other questions

2015-08-20 Thread Adrienne Stilp
Hi Lorena, For your last question about coding style, you could look into the lintr package: https://github.com/jimhester/lintr You can run it either as an R function, or add it as a plugin to some editors. The developer, Jim Hester, is also part of the Bioconductor team! Adrienne On Aug