[Bioc-devel] vignettes using foreach on Windows

2013-03-16 Thread Kasper Daniel Hansen
Posted here in case other people could benefit. This is solving an issue with writing a vignette using the doParallel backend on Windows. If you're using foreach on Windows with the doParallel backend, the default is to make a socket cluster (since windows don't have fork). If you do it on a

Re: [Bioc-devel] vignettes using foreach on Windows

2013-03-16 Thread Dan Tenenbaum
On Sat, Mar 16, 2013 at 6:11 PM, Kasper Daniel Hansen kasperdanielhan...@gmail.com wrote: Posted here in case other people could benefit. This is great. Various permutations of this issue have bitten us from time to time. This is solving an issue with writing a vignette using the doParallel

[Bioc-devel] request: timings

2013-03-16 Thread Kasper Daniel Hansen
Is it possible to get _R_CHECK_TIMINGS_=0 set in the build system when R CMD check is being run? Not super important, but convenient and it should be easy to add. Kasper ___ Bioc-devel@r-project.org mailing list

Re: [Rd] the case of building R snapshot without svn nor network connection.

2013-03-16 Thread peter dalgaard
On Mar 16, 2013, at 02:50 , Hin-Tak Leung wrote: I'll quantify the first part - R is perhaps the only public software project hosted on a subversion repository for which the result of 'svn export ...' does not build. Not only that it does not build, but make it a feature that it does not

Re: [Rd] numerics from a factor

2013-03-16 Thread Ulrike Grömping
Hi Terry, you can use type.convert instead of as.numeric for numbers with decimals: type.convert(levels(factor(1:6/2)), dec=unlist(options(OutDec))) Best, Ulrike Am 16.03.2013 12:00, schrieb r-devel-requ...@r-project.org: Date: Fri, 15 Mar 2013 12:47:01 -0500 From: Terry

Re: [Rd] the case of building R snapshot without svn nor network connection.

2013-03-16 Thread Hin-Tak Leung
--- On Sat, 16/3/13, peter dalgaard pda...@gmail.com wrote: On Mar 16, 2013, at 02:50 , Hin-Tak Leung wrote: I'll quantify the first part - R is perhaps the only public software project hosted on a subversion repository for which the result of 'svn export ...' does not build. Not only

Re: [Rd] the case of building R snapshot without svn nor network connection.

2013-03-16 Thread Dirk Eddelbuettel
Can you please stop this? You made your point, repeatedly. Nobody has come to your side. And you *do* have easy alternatives: i) git repo, see https://github.com/wch/r-source ii) nighly tarballs, see ftp://ftp.stat.math.ethz.ch/Software/R Whatever your particular

Re: [Rd] the case of building R snapshot without svn nor network connection.

2013-03-16 Thread Simon Urbanek
On Mar 16, 2013, at 10:13 AM, Hin-Tak Leung wrote: Network access is *not* a given, nor is the privilege of installing arbitrary uncertified and non-essential tools - whatever the meaning of uncertified and non-essential are, those being defined, as is design goal, etc, by some small

Re: [Rd] the case of building R snapshot without svn nor network connection.

2013-03-16 Thread Yihui Xie
the only place for it is /dev/null -- hi Achim, I bet this is a nice fortune candidate :) Regards, Yihui -- Yihui Xie xieyi...@gmail.com Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA On Sat, Mar 16, 2013 at 9:39 AM, Simon

[Rd] Mirroring R on a DVCS

2013-03-16 Thread Laurent Gautier
Hi, I have been looking at mirroring the SVN R repository into a DVCS (Mercurial, Git, bzr, etc...). The idea would be to have that as an always up-to-date untouched master (a mirror) but having it in a DVCS would make forks easier to make and maintain, and possibly ease up the process of

Re: [Rd] Mirroring R on a DVCS

2013-03-16 Thread Peter Meilstrup
There is already a mirror on GitHub at https://github.com/wch/r-source . Peter On Mar 16, 2013, at 11:17, Laurent Gautier lgaut...@gmail.com wrote: Hi, I have been looking at mirroring the SVN R repository into a DVCS (Mercurial, Git, bzr, etc...). The idea would be to have that as an

Re: [Rd] Mirroring R on a DVCS

2013-03-16 Thread Winston Chang
The Github mirror isn't affiliated with R-core developers -- it just fetches the changes from the R SVN repository periodically. Changes won't go upstream to the main SVN repository, and that's probably why there aren't very many forks of the Github repo. -Winston On Sat, Mar 16, 2013 at 1:44

[Rd] configure.ac clock_gettime (and R_CHECK_FUNCS) incorrect?

2013-03-16 Thread Martin Morgan
When R is configured with CFLAGS=-O2, clock_gettime is included $ nm src/main/libR.a | grep clock_gettime U clock_gettime whereas when configured with -O0 it is not $ nm src/main/libR.a | grep clock_gettime $ Similarly when built as a shared library the linker flags include