Re: [Rd] Patch proposal for R style consistency (concerning deparse.c)

2013-04-18 Thread peter dalgaard
On Apr 18, 2013, at 05:39 , Paul Johnson wrote: > 2 & 3. I want to omit space after if and for. Since if and for are > functions in R, not keywords, I suggest that there should not be a > space before the opening parentheses. Wrong. They are part of language constructs (and they _are_ keywords

[Rd] how to control the environment of a formula

2013-04-18 Thread Thomas Alexander Gerds
Dear List I have experienced that objects generated with one of my packages used a lot of space when saved on disc (object.size did not show this!). some debugging revealed that formula and call objects carried the full environment of subroutines along, including even stuff not needed by the form

[Rd] Suppress specific warnings

2013-04-18 Thread Felix Schönbrodt
Hello, is there a convenient way to suppress only *specific* warnings? (I know about ?suppressWarnings) I depend on another package, from which I want to suppress only some warnings, but not others. Felix __ R-devel@r-project.org mailing list https://

Re: [Rd] how to control the environment of a formula

2013-04-18 Thread Duncan Murdoch
On 13-04-18 1:09 AM, Thomas Alexander Gerds wrote: Dear List I have experienced that objects generated with one of my packages used a lot of space when saved on disc (object.size did not show this!). some debugging revealed that formula and call objects carried the full environment of subroutin

Re: [Rd] Suppress specific warnings

2013-04-18 Thread Duncan Murdoch
On 13-04-18 7:31 AM, Felix Schönbrodt wrote: Hello, is there a convenient way to suppress only *specific* warnings? (I know about ?suppressWarnings) I depend on another package, from which I want to suppress only some warnings, but not others. This is difficult in most cases, because most pa

Re: [Rd] Suppress specific warnings

2013-04-18 Thread Martin Morgan
On 04/18/2013 05:57 AM, Duncan Murdoch wrote: On 13-04-18 7:31 AM, Felix Schönbrodt wrote: Hello, is there a convenient way to suppress only *specific* warnings? (I know about ?suppressWarnings) I depend on another package, from which I want to suppress only some warnings, but not others. Thi

[Rd] Rebuild package on R 3.0.0 without source code?

2013-04-18 Thread McGehee, Robert
R-developers, I have a binary R package built using R 2.14.1 that I would like to run on R 3.0.0. Unfortunately, the original source code is unavailable, so I cannot rebuild the package as R 3.0.0 requires. Is there a straight forward way of converting the package (.rdb, .rdx and .rds files) in

Re: [Rd] Rebuild package on R 3.0.0 without source code?

2013-04-18 Thread Marc Schwartz
On Apr 18, 2013, at 10:07 AM, "McGehee, Robert" wrote: > R-developers, > I have a binary R package built using R 2.14.1 that I would like to run on R > 3.0.0. Unfortunately, the original source code is unavailable, so I cannot > rebuild the package as R 3.0.0 requires. > > Is there a straight

Re: [Rd] Rebuild package on R 3.0.0 without source code?

2013-04-18 Thread Duncan Murdoch
On 18/04/2013 11:07 AM, McGehee, Robert wrote: R-developers, I have a binary R package built using R 2.14.1 that I would like to run on R 3.0.0. Unfortunately, the original source code is unavailable, so I cannot rebuild the package as R 3.0.0 requires. Is there a straight forward way of conve

Re: [Rd] Rebuild package on R 3.0.0 without source code?

2013-04-18 Thread Prof Brian Ripley
On 18/04/2013 16:07, McGehee, Robert wrote: R-developers, I have a binary R package built using R 2.14.1 that I would like to run on R 3.0.0. Unfortunately, the original source code is unavailable, so I cannot rebuild the package as R 3.0.0 requires. Is there a straight forward way of converti

[Rd] R CMD INSTALL fail deletes earlier versions

2013-04-18 Thread Barry Rowlingson
Just tried to update devtools for R 2.15.3, and after an error about it only being available for 3.0.0, I found my previously good-enough devtools had disappeared. Here's how it happens: $ R --quiet > require(devtools) Loading required package: devtools pac> packageDescription("devtools")$Version

[Rd] Linux distribution with gcc 4.8 and AddressSanitizer ?

2013-04-18 Thread Thomas Petzoldt
Dear R developers, I've got an information from Prof. Ripley regarding a bug found with AdressSanitizer in one of our packages. It is now fixed, thank you for this information. Now, I would like to run AddressSanitizer myself before submitting the patched package to CRAN. Is there a recomm

Re: [Rd] Suppress specific warnings

2013-04-18 Thread Brian Lee Yung Rowe
For my logging package (futile.logger) any log statements coming from a package are assigned to a package namespace. This way you have control of log messages at a package level (e.g. I can set the default log threshold to DEBUG, while package 'A' has a log threshold of WARN). I seems a hierar

Re: [Rd] Patch proposal for R style consistency (concerning deparse.c)

2013-04-18 Thread Paul Johnson
OK, I concede that. Now, how about "} else {" I will provide patch that does only that change. ? On Thu, Apr 18, 2013 at 3:05 AM, peter dalgaard wrote: > > On Apr 18, 2013, at 05:39 , Paul Johnson wrote: > >> 2 & 3. I want to omit space after if and for. Since if and for are >> functions in R

Re: [Rd] Linux distribution with gcc 4.8 and AddressSanitizer ?

2013-04-18 Thread Prof Brian Ripley
On 18/04/2013 16:38, Thomas Petzoldt wrote: Dear R developers, I've got an information from Prof. Ripley regarding a bug found with AddressSanitizer in one of our packages. It is now fixed, thank you for this information. Now, I would like to run AddressSanitizer myself before submitting the pa

Re: [Rd] Linux distribution with gcc 4.8 and AddressSanitizer ?

2013-04-18 Thread José Matos
On Thursday 18 April 2013 17:38:06 Thomas Petzoldt wrote: > Dear R developers, > > I've got an information from Prof. Ripley regarding a bug found with > AdressSanitizer in one of our packages. It is now fixed, thank you for > this information. > > Now, I would like to run AddressSanitizer myse

Re: [Rd] how to control the environment of a formula

2013-04-18 Thread Thomas Alexander Gerds
Dear Duncan thank you for taking the time to answer my questions! It will be quite some work to delete all the objects generated inside the function ... but if there is no other way to avoid a large environment then this is what I will do. Cheers Thomas Duncan Murdoch writes: > On 13-04-18 1:

Re: [Rd] Rebuild package on R 3.0.0 without source code?

2013-04-18 Thread McGehee, Robert
Very nice, thank you! The steps did work. Documentation, demos, examples, functions, external data all load perfectly. For the archive, the step "make ... the correct DESCRIPTION file" only involved copying the binary's DESCRIPTION file and removing the last line ("Built: R 2.14.1..."). To answ

Re: [Rd] Patch proposal for R style consistency (concerning deparse.c)

2013-04-18 Thread Yihui Xie
I second the change of "} else {". Regards, Yihui -- Yihui Xie Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA On Thu, Apr 18, 2013 at 11:16 AM, Paul Johnson wrote: > OK, I concede that. > > Now, how about "} else {" > > I

Re: [Rd] Linux distribution with gcc 4.8 and AddressSanitizer ?

2013-04-18 Thread Dirk Eddelbuettel
On 18 April 2013 at 17:19, Prof Brian Ripley wrote: | On 18/04/2013 16:38, Thomas Petzoldt wrote: | > Dear R developers, | > | > I've got an information from Prof. Ripley regarding a bug found with | > AddressSanitizer in one of our packages. It is now fixed, thank you for | > this information. |