Re: [Rd] Good practice for packages with Fortran and C code

2024-10-26 Thread Frank Harrell
Ivan thank you very much for the exceptionally clear explanations. I’m convinced. Frank > On Oct 25, 2024, at 4:49 PM, Ivan Krylov wrote: > > В Fri, 25 Oct 2024 15:03:54 -0500 > f...@fharrell.com пишет: > >> Now I find that I can get rid of init.c, and change NAMESPACE to use >> useDynLib(p

[Rd] Different behavior of model.matrix between R 3.2 and R3.1.1

2015-06-16 Thread Frank Harrell
Terry Therneau has been very helpful on r-help but we can't figure out what change in R in the past months made extra columns appear in model.matrix when the terms object is subsetted to remove stratification factors in a Cox model. Terry has changed his logic in the survival package to avoid

[Rd] CRAN and ggplot2 geom and stat extensions

2014-12-23 Thread Frank Harrell
I am thinking about adding several geom and stat extensions to ggplot2 in the Hmisc package. To do this requires using non-exported ggplot2 functions as discussed in http://stackoverflow.com/questions/18108406/creating-a-custom-stat-object-in-ggplot2 If I use the needed ggplot2::: notation the

Re: [Rd] [RFC] A case for freezing CRAN

2014-03-19 Thread Frank Harrell
To me it boils down to one simple question: is an update to a package on CRAN more likely to (1) fix a bug, (2) introduce a bug or downward incompatibility, or (3) add a new feature or fix a compatibility problem without introducing a bug? I think the probability of (1) | (3) is much greater t

Re: [Rd] Solved and Question: Problem with S3 method dispatch and NAMESPACE

2013-04-24 Thread Frank Harrell
Thank you very much Peter. That did the trick. Frank Peter Dalgaard-2 wrote > On Apr 24, 2013, at 15:59 , Frank Harrell wrote: > >> I found that package quantreg has created a new generic for latex() [I >> wish >> it hadn't; this has been a generic in Hmisc for

[Rd] Solved and Question: Problem with S3 method dispatch and NAMESPACE

2013-04-24 Thread Frank Harrell
. rms has import(Hmisc) in NAMESPACE and is loaded before quantreg, hence the conflict. How do I make the generic from Hmisc take precedence? Thanks Frank Frank Harrell wrote > I have updated the rms package to extensively use NAMESPACE. I cannot get > certain S3 methods to dispatch. For e

[Rd] Problem with S3 method dispatch and NAMESPACE

2013-04-23 Thread Frank Harrell
But when I do latex(anova(fit)) I get an invocation of latex.default. I have tried using "anova.rms" and `anova.rms` in S3method() to no avail. Any help appreciated. I'm using R 2.15.3 Frank - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this

Re: [Rd] Regression stars

2013-02-12 Thread Frank Harrell
gt;> >> [apologies for snipping context: "gmane made me do it"] >> >> __ >> > R-devel@ > mailing list >> https://stat.ethz.ch/mailman/listinfo/r-devel >> > > ___

Re: [Rd] Regression stars

2013-02-10 Thread Frank Harrell
Given that, one might argue that R should do what it > can to help users engage in good statistical practice. I think this was > Frank's point. > > Norm > > __ > R-devel@ > mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel - Frank Harre

[Rd] Regression stars

2013-02-07 Thread Frank Harrell
Today's GNU R tutorial in http://how-to.linuxcareer.com/a-quick-gnu-r-tutorial-to-statistical-models-and-graphics points out how bad statistical practice is being further perpetuated, by virtue of "significance stars" still being the default in printed output from lm models.

Re: [Rd] Table Figures and Listings

2011-05-30 Thread Frank Harrell
______ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.na

Re: [Rd] New code in R-devel: Rao score test for glm.

2011-05-11 Thread Frank Harrell
ttp://www.stat.ufl.edu/~presnell/ > > "We don't think that the popularity of an error makes it the truth." >-- Richard Stallman > > ______ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel >