[Rd] OpenMP and random number generation

2012-02-22 Thread Mathieu Ribatet
Dear all, Now that R has OpenMP facilities, I'm trying to use it for my own package but I'm still wondering if it is safe to use random number generation within a OpenMP block. I looked at the R writing extension document both on the OpenMP and Random number generation but didn't find any

Re: [Rd] OpenMP and random number generation

2012-02-22 Thread Prof Brian Ripley
On 22/02/2012 08:23, Mathieu Ribatet wrote: Dear all, Now that R has OpenMP facilities, Hmm, not exactly new. I'm trying to use it for my own package but I'm still wondering if it is safe to use random number generation within a OpenMP block. I looked at the R writing extension document

Re: [Rd] OpenMP and random number generation

2012-02-22 Thread Karl Forner
Hello, For your information, I plan to release soon a package with a fast and multithreaded aware RNG for C++ code in R packages. It is currently part of one of my (not yet accepted) packages and I want to extract it into its own package. I plan to do some quick benchmarks too. Of course I can

Re: [Rd] Jazzing up the Task Views index page

2012-02-22 Thread Brett Presnell
Regardless of the page's other merits (looks nice to me), I did enjoy seeing my favorite teacher's (Dev Basu's) elephant in the Bayesian box. Thanks for that. __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] OpenMP and random number generation

2012-02-22 Thread Petr Savicky
Hi. Now that R has OpenMP facilities, I'm trying to use it for my own package but I'm still wondering if it is safe to use random number generation within a OpenMP block. I looked at the R writing extension document both on the OpenMP and Random number generation but didn't find any

Re: [Rd] Jazzing up the Task Views index page

2012-02-22 Thread Joshua Wiley
Hi, In a way, a simple text based system is clean and is consistent with the plain text requirements of the listservs, and interacting with R through code/text. However, for people with different backgrounds, it can seem unappealing. I definitely believe your page is more inviting. I work at a

Re: [Rd] portable parallel seeds project: request for critiques

2012-02-22 Thread Paul Johnson
Greetings. Answers below. On Tue, Feb 21, 2012 at 7:04 AM, Petr Savicky savi...@cs.cas.cz wrote: Hi. In the description of your project in the file  http://winstat.quant.ku.edu/svn/hpcexample/trunk/Ex66-ParallelSeedPrototype/README you argue as follows  Question: Why is this better

Re: [Rd] Private fields in reference classes (was: Private Variables in R5-Classes possible?)

2012-02-22 Thread John Chambers
(Can we please follow the terminology in the ?ReferenceClasses documentation. Creativity is fine but here we need communication) This has come up (once) before off-list. It could be made part of reference classes via a general rewriting that would improve efficiency as well. Not imminent,

Re: [Rd] portable parallel seeds project: request for critiques

2012-02-22 Thread Petr Savicky
On Wed, Feb 22, 2012 at 12:17:25PM -0600, Paul Johnson wrote: [...] In order for this to be easy for users, I need to put the init streams and set current stream functions into a package, and then streamline the process of creating the seed array. My opinion is that CRAN is now overflowed

Re: [Rd] Silently loading and Depends: versus NAMESPACE imports

2012-02-22 Thread Suraj Gupta
Dirk - I'm having the same issue. Could you provide the details of your solution? On Sat, Jan 28, 2012 at 11:15 AM, Dirk Eddelbuettel e...@debian.org wrote: On 28 January 2012 at 16:52, Uwe Ligges wrote: | | | On 27.01.2012 15:57, Dirk Eddelbuettel wrote: | | On 12 January 2012 at