Re: [Rd] R external pointer and GPU memory leak problem

2016-05-16 Thread Charles Determan
Hi Yuan, I think this is likely more appropriate for the r-sig-hpc mailing list. However, regarding you design and comment about R's 'current' GPU package (I don't what you consider this, gputools?) I think you should look at two other packages. I believe the gmatrix ( https://cran.r-project.org/

Re: [Rd] Single-threaded aspect

2016-05-12 Thread Charles Determan
led code from R, set a mutex (either > conceptually or explicitly), _copy_ your data in to plain C++ data > structures > and go to town in parallel via OpenMP and other multithreaded approaches. > Then collect the result, release the mutex and move back up. > > I hope this help.

Re: [Rd] Single-threaded aspect

2016-05-12 Thread Charles Determan
ut that in your SO-question. > > Best, > Mark > > > > > > > > > > > Op do 12 mei 2016 om 14:46 schreef Charles Determan >: > >> R Developers, >> >> Could someone help explain what it means that R is single threaded? I am >&g

[Rd] Single-threaded aspect

2016-05-12 Thread Charles Determan
R Developers, Could someone help explain what it means that R is single threaded? I am trying to understand what is actually going on inside R when users want to parallelize code. For example, using mclapply or foreach (with some backend) somehow allows users to benefit from multiple CPUs. Simi

Re: [Rd] [R] TensorFlow in R

2016-04-01 Thread Charles Determan
Hi Axel, Looks like the only thing right now is rflow ( https://github.com/terrytangyuan/rflow). It appears to simply wrap around the python bindings. I am not aware of any others. Be interesting to keep an eye on. Regards, Charles On Fri, Apr 1, 2016 at 11:32 AM, Axel Urbiz wrote: > Hi Al

Re: [Rd] Why doesn't R have a float data type?

2015-06-30 Thread Charles Determan
n storage. > > If you mean something else other than the above by "float data type" > then please give us more details so that we can better answer the > question. > > On Tue, Jun 30, 2015 at 10:42 AM, Charles Determan > wrote: > > This is strictly a curiosity q

[Rd] Why doesn't R have a float data type?

2015-06-30 Thread Charles Determan
This is strictly a curiosity question. I am aware the R doesn't possess a float data type. I also don't mean to request that such functionality be implemented as I'm sure it would require a large amount of work with potential back compatibility conflicts. But I wanted to know why R has never had

Re: [Rd] example fails during R CMD CHECK but works interactively?

2015-05-15 Thread Charles Determan
Does anyone else have any thoughts about troubleshooting the R CMD check environment? Charles On Wed, May 13, 2015 at 1:57 PM, Charles Determan wrote: > Thank you Dan but it isn't my tests that are failing (all of them pass > without problem) but one of the examples from the in

Re: [Rd] example fails during R CMD CHECK but works interactively?

2015-05-13 Thread Charles Determan
1:51 PM, Dan Tenenbaum wrote: > > > - Original Message ----- > > From: "Charles Determan" > > To: r-devel@r-project.org > > Sent: Wednesday, May 13, 2015 11:31:36 AM > > Subject: [Rd] example fails during R CMD CHECK but works interactively? &g

[Rd] example fails during R CMD CHECK but works interactively?

2015-05-13 Thread Charles Determan
Greetings, I am collaborating with developing the bigmemory package and have run in to a strange problem when we run R CMD CHECK. For some reason that isn't clear to us one of the examples crashes stating: Error: memory could not be allocated for instance of type big.matrix You can see the out

Re: [Rd] modifying some package code

2012-05-24 Thread Charles Determan Jr
, May 24, 2012 at 11:58 AM, Simon Urbanek wrote: > > On May 24, 2012, at 12:25 PM, Charles Determan Jr wrote: > > > Greetings, > > > > I am working on modifying some code from the nlme package. I have had > many > > discussions on the mixed models mailing list

[Rd] modifying some package code

2012-05-24 Thread Charles Determan Jr
Greetings, I am working on modifying some code from the nlme package. I have had many discussions on the mixed models mailing list and have been directed to simply 'hack' the source code to have the degrees of freedom generated by one function to use in the output of another function that doesn't