Re: [Rd] R CMD check --force-biarch

2012-11-28 Thread Prof Brian Ripley
From R CMD check --help --install-args= command-line args to be passed to INSTALL I am pretty sure you have been pointed at that before, and we checked at the time that it worked on Windows. On 28/11/2012 17:19, Russell Almond wrote: I'm having problems getting R CMD check to work co

Re: [Rd] Non-recursive way to remove empty directory on Windows?

2012-11-28 Thread William Dunlap
> (even worse, path may contain '..' or > likewise from a list.files(all.names=TRUE) call) Would anyone's code break if "." and ".." were never in the output of list.files() (or dir())? I find it tedious to skip them whenever doing anything recursive in the file system. They are not in the outpu

[Rd] Non-recursive way to remove empty directory on Windows?

2012-11-28 Thread Henrik Bengtsson
Hi, file.remove(path) will remove an empty directory "on most Unix platforms", but not on Windows, cf. help("file.remove"). A workaround for Windows is then unlink(path, recursive=TRUE). However, unless you're really careful and make sure 'path' is not empty, you may delete more than you wish (e

Re: [Rd] No R 2.15.2 or R 2.15.2 patched version option in bug tracker

2012-11-28 Thread Simon Urbanek
Thanks, added. Simon On Nov 28, 2012, at 4:39 PM, Brian Diggs wrote: > When I went to report a (very minor) bug today, I noticed that under the > choices for Version, there was no entry for "R 2.15.2" nor "R 2.15.2 > patched". I could not find a contact email for the bug tracker itself, so I >

Re: [Rd] Opening and closing quartz graphic device crashes R

2012-11-28 Thread Robert Baer
On 11/28/2012 5:21 PM, Hadley Wickham wrote: replicate(1000, {dev.new(); dev.off()}) R(83204,0xacdc1a28) malloc: *** mmap(size=16777216) failed (error code=12) *** error: can't allocate region *** set a breakpoint in malloc_error_break to debug R(83204,0xacdc1a28) malloc: *** mmap(size=16777216)

[Rd] R CMD check --force-biarch

2012-11-28 Thread Russell Almond
I'm having problems getting R CMD check to work correctly on Windows 7 (64 bit) in a package that uses C code. What I want to do is to be able to pass the equivalent of the "--force-biarch" option to check, but this is only supported for INSTALL. Background: I'm writing a package (RNetica) which

Re: [Rd] [R] error in plot(table(c('a','a')))

2012-11-28 Thread Ludo Pagie
I already did, this morning; Bug 15118. I simply copied my original posting + refs to current discussion. On Wed, Nov 28, 2012 at 3:22 PM, R. Michael Weylandt < michael.weyla...@gmail.com> wrote: > Should I file an issue for this in the bug tracker? > > Slighly rearranged discussion with repro

[Rd] compiling R for Windows with Intel compiliers and MKL

2012-11-28 Thread Vitaliy FEOKTISTOV
Hello, I want to compile R-2.15.2 for Windows with Intel compilers and MKL( BLAS, LAPACK). I installed 'Rtools 2.16.0.1923' and follow the instructions of "R installation and administration" guide (3.1; A.3.1.4; C.2.2). I configured "/src/gnuwin32/MkRules.local" and "config.site" according to nee

[Rd] Opening and closing quartz graphic device crashes R

2012-11-28 Thread Hadley Wickham
> replicate(1000, {dev.new(); dev.off()}) R(83204,0xacdc1a28) malloc: *** mmap(size=16777216) failed (error code=12) *** error: can't allocate region *** set a breakpoint in malloc_error_break to debug R(83204,0xacdc1a28) malloc: *** mmap(size=16777216) failed (error code=12) *** error: can't alloc

Re: [Rd] S3 generic/method consistency issue with R CMD check

2012-11-28 Thread Drew Schmidt
More on this. It looks to me like there is some kind of issue specifically with the qr and qr.* functions in R CMD check, as my last email suggests. Additionally, by changing the dispatch of the qr.* functions from y to x (in this example), such as: setGeneric(name="qr.Q", function(x, ...)

[Rd] No R 2.15.2 or R 2.15.2 patched version option in bug tracker

2012-11-28 Thread Brian Diggs
When I went to report a (very minor) bug today, I noticed that under the choices for Version, there was no entry for "R 2.15.2" nor "R 2.15.2 patched". I could not find a contact email for the bug tracker itself, so I figured the next best place to send this was r-devel. Perhaps adding new vers

[Rd] str(..., strict.width="wrap") changes alignment of colons

2012-11-28 Thread G See
Hi, This was surprising to me and does not appear to be documented in ?str. After reading ?strwrap, I see that the problem is that "Whitespace ... in the input is destroyed". However, I thought I'd mention it because I'm not sure it is intended behavior for str(). I have a list, and the names o

Re: [Rd] bug with mapply() on an S4 object

2012-11-28 Thread Hervé Pagès
Hi Martin, Malcolm, Thanks Martin for applying the fix. On 11/28/2012 05:47 AM, Cook, Malcolm wrote: Yes, yes, excellent and great , I am tracking this development with great interest. Am I correct that the implications for BioConductor is the tearing out of the Xapply from generics and the

Re: [Rd] [R] choose folder interactively

2012-11-28 Thread Simon Urbanek
On Nov 28, 2012, at 8:56 AM, Prof Brian Ripley wrote: > On 28/11/2012 13:43, R. Michael Weylandt wrote: >> On Wed, Nov 28, 2012 at 12:47 PM, Duncan Murdoch >> wrote: >>> On 12-11-28 7:39 AM, Ivan Calandra wrote: Dear users, I am looking for a function to choose a folder in

Re: [Rd] Makevars that distinguish between OSX and *NIX

2012-11-28 Thread Prof Brian Ripley
On 28/11/2012 14:36, sgerber wrote: Hi Is there a similar way to create a specific Makevars for OSX versus *NIX systems as for Windows, e.g. a Makervars.osx ? If not what is there another lean solution to create system specific Makevars? I need to link differently depending on whether I am on *N

[Rd] Makevars that distinguish between OSX and *NIX

2012-11-28 Thread sgerber
Hi Is there a similar way to create a specific Makevars for OSX versus *NIX systems as for Windows, e.g. a Makervars.osx ? If not what is there another lean solution to create system specific Makevars? I need to link differently depending on whether I am on *NIX or OSX (specifically link to Op

Re: [Rd] [R] error in plot(table(c('a','a')))

2012-11-28 Thread Prof Brian Ripley
On 28/11/2012 14:22, R. Michael Weylandt wrote: Should I file an issue for this in the bug tracker? Someone already has. (15118, against R 2.14.0!) Slighly rearranged discussion with reproducible example follows on below. Em 26-11-2012 21:39, R. Michael Weylandt escreveu: On Mon, Nov 26,

Re: [Rd] [R] error in plot(table(c('a','a')))

2012-11-28 Thread R. Michael Weylandt
Should I file an issue for this in the bug tracker? Slighly rearranged discussion with reproducible example follows on below. > Em 26-11-2012 21:39, R. Michael Weylandt escreveu: >> >> On Mon, Nov 26, 2012 at 2:41 PM, Ludo Pagie wrote: >>> tbl.char1 <- table(c('a','a')) >>> tbl.char2 <- table(c(

Re: [Rd] R CMD check: better diagnosis for non-ASCII characters

2012-11-28 Thread Michael Friendly
On 11/28/2012 6:02 AM, Martin Maechler wrote: In any case, I support your suggestion (replacing ":::" by "::" !) and would definitely volunteer to accept patches and then put such an improvement into R. Thanks, Martin. If you can point me to the source where this is carried out, I can attempt a

Re: [Rd] [R] choose folder interactively

2012-11-28 Thread Prof Brian Ripley
On 28/11/2012 13:43, R. Michael Weylandt wrote: On Wed, Nov 28, 2012 at 12:47 PM, Duncan Murdoch wrote: On 12-11-28 7:39 AM, Ivan Calandra wrote: Dear users, I am looking for a function to choose a folder interactively, just like file.choose() but for a folder. "choose.dir()" does exist on

Re: [Rd] bug with mapply() on an S4 object

2012-11-28 Thread Cook, Malcolm
Yes, yes, excellent and great , I am tracking this development with great interest. Am I correct that the implications for BioConductor is the tearing out of the Xapply from generics and the expecations that List and descendents would now "just work" with {t,mc,mcl,...}apply? That would be a g

Re: [Rd] [R] choose folder interactively

2012-11-28 Thread R. Michael Weylandt
On Wed, Nov 28, 2012 at 12:47 PM, Duncan Murdoch wrote: > On 12-11-28 7:39 AM, Ivan Calandra wrote: >> >> Dear users, >> >> I am looking for a function to choose a folder interactively, just like >> file.choose() but for a folder. >> > "choose.dir()" does exist on Windows, so you could switch to t

Re: [Rd] Not stripping attachments in R-devel e-mails

2012-11-28 Thread Florian Burkart
If it is of interest, I am using the gmail web interface, and the problems seems to be that it sets the content type too correctly rather than incorrectly. In my original email, it had set the content type to "text/x-c++src". I just did a test with a .csv file, and it set the content type to "text

Re: [Rd] Not stripping attachments in R-devel e-mails

2012-11-28 Thread Martin Maechler
> "FB" == Florian Burkart > on Tue, 27 Nov 2012 18:01:33 + writes: FB> Sorry, didn't realize text attachments get stripped as well... they are *NOT* stripped *if* they get the correct MIME type, e.g. 'text/plain' Unfortunately many e-mail clients nowadays no longer try put

Re: [Rd] R CMD check: better diagnosis for non-ASCII characters

2012-11-28 Thread Martin Maechler
> Michael Friendly > on Tue, 27 Nov 2012 17:17:16 -0500 writes: > [Env: R 2.15.1, Win Xp] > Suggestion: > Could the R script that checks for non-ASCII characters in R CMD check > not give either: > (a) a pointer to tools:::showNonASCIIfile, as in, > try runnin

Re: [Rd] bug with mapply() on an S4 object

2012-11-28 Thread Martin Maechler
> Hervé Pagès > on Tue, 27 Nov 2012 17:03:05 -0800 writes: > Some formatting issues when copy/pasting the patch in the > body of the email so I've attached the diff file. Thank you, Hervé. I have committed (a slightly simplified version of) your patch to R-devel (to become 2