[Rd] Repeated use of dyn.load().

2018-03-01 Thread Rolf Turner
I sent this enquiry to r-help and received several sympathetic replies, none of which were definitive. It was kindly suggested to me that I might get better mileage out of r-devel, so I'm trying here. I hope that this is not inappropriate. My original enquiry to r-help: ==

Re: [Rd] scale.default gives an incorrect error message when is.numeric() fails on a dgeMatrix

2018-03-01 Thread Michael Chirico
thanks. I know the setup code is a mess, just duct-taped something together from the examples in lars (which are a mess in turn). in fact when I messaged Prof. Hastie he recommended using glmnet. I wonder why lars is kept on CRAN if they've no intention of maintaining it... but I digress... On Mar

Re: [Rd] scale.default gives an incorrect error message when is.numeric() fails on a dgeMatrix

2018-03-01 Thread Martin Maechler
> Michael Chirico > on Tue, 27 Feb 2018 20:18:34 +0800 writes: Slightly amended 'Subject': (unimportant mistake: a dgeMatrix is *not* sparse) MM: modified to commented R code, slightly changed from your post: ## I am attempting to use the lars package with a sparse input feature m

Re: [Rd] Bug report - duplicate row names with as.data.frame()

2018-03-01 Thread Martyn Plummer
On Thu, 2018-03-01 at 09:36 -0500, Ron wrote: > Hello, > > I'd like to report what I think is a bug: using as.data.frame() we can > create duplicate row names in a data frame. R version 3.4.3 (current stable > release). > > Rather than paste code in an email, please see the example formatted code

[Rd] Bug report - duplicate row names with as.data.frame()

2018-03-01 Thread Ron
Hello, I'd like to report what I think is a bug: using as.data.frame() we can create duplicate row names in a data frame. R version 3.4.3 (current stable release). Rather than paste code in an email, please see the example formatted code here: https://stackoverflow.com/questions/49031523/duplicat

[Rd] Small program embedding R crashes in 64 bits

2018-03-01 Thread William
Hi everyone, I'm trying to create a small C++ program which embed R, but I'm having problems when I try to do it on Windows 64 bits. I have created a minimal reproducible example which is just the src/gnuwin32/front-ends/rtest.c file with the R_ReplDLLdo1() loop, the only difference is that I set

Re: [Rd] [parallel] fixes load balancing of parLapplyLB

2018-03-01 Thread Christian Krause
Dear Tomas, Thanks for your commitment to fix this issue and also to add the chunk size as an argument. If you want our input, let us know ;) Best Regards On 02/26/2018 04:01 PM, Tomas Kalibera wrote: > Dear Christian and Henrik, > > thank you for spotting the problem and suggestions for a fix