Re: [Rd] Request: making cutree S3 in R?

2015-06-08 Thread Tal Galili
Hi Gavin, Thank you for the e-mail, I have already done so in: https://github.com/talgalili/dendextend/blob/master/R/cutree.dendrogram.R I wrote this e-mail since I understand that long term we would like to avoid having packages override functions from base R packages. So since I am extending cut

Re: [Rd] NEWS file inconsistency

2015-06-08 Thread Duncan Murdoch
On 06/06/2015 12:11 PM, Tobias Verbeke wrote: Many thanks, Duncan. We will check the prerelease versions of R 3.2.1. The first one is now online, at . The link to this from the main Windows binary page will appear soon, but you can go

Re: [Rd] Request: making cutree S3 in R?

2015-06-08 Thread Gavin Simpson
In lieu of that Tal, why not do as Writing R Extensions illustrates and add the following to your package On 6 June 2015 at 04:44, Tal Galili wrote: > Hello all, > > A question/suggestion: > > I was wondering if there is a chance of changing stats::cutree to be S3 and > use cutree.hclust? > > F

Re: [Rd] Bug in loadNamespace?

2015-06-08 Thread Duncan Murdoch
I believe this is now fixed in R-devel and R-3.2.1-beta as of revision 68489. Duncan Murdoch On 08/06/2015 7:20 AM, peter dalgaard wrote: > Looks like this could be locale related. Both of you are using non-US > locales, and Sys.setlocale is not changing the last entry (LC_MESSAGES), > which is

Re: [Rd] Bug in loadNamespace?

2015-06-08 Thread peter dalgaard
Looks like this could be locale related. Both of you are using non-US locales, and Sys.setlocale is not changing the last entry (LC_MESSAGES), which is as documented, but maybe somehow related. I can reproduce with Peters-iMac:r-release-branch pd$ LC_ALL=da_DK.UTF-8 BUILD-dist/bin/R --vanilla

Re: [Rd] Bug in loadNamespace?

2015-06-08 Thread peter dalgaard
Not happening for me with R version 3.2.0 Patched (2015-06-05 r68479) -- "Full of Ingredients" ... > Sys.setlocale(locale='en_US.UTF-8') [1] "en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8" > "320"> "300" [1] TRUE > "320"> "300" [1] TRUE > -pd > On 08 Jun 2015, at 03:42 , Dunca