[Rd] format.pval

2015-11-19 Thread Benjamin Hofner
Today I stumbled upon a very strange behaviour of format.pval. If all p values are below the threshold eps one gets format.pval(c(0.0002, 0.0004), eps = 0.001) ## [1] "< 0.001" "< 0.001" format.pval(0.0004, eps = 0.001) ## [1] "< 0.001" i.e., "< [eps]" as described in the manual of format.eps.

[Rd] Problem: Importing two packages which export a function with the same name

2014-04-15 Thread Benjamin Hofner
Hi all, I am currently updating our package gamboostLSS which depends on package mboost *and* on package gamlss.dist. From mboost we use a lot of the fitting infrastructure and from gamlss.dist we obtain the relevant loss functions (aka families) used for fitting and corresponding quantile fu

Re: [Rd] summary of lme4.0 model in package

2014-04-04 Thread Benjamin Hofner
Dear Thierry, I had the same problem in my package papeR, where I was depending on lme4 in my DESCRIPTION file. The problem vanished after I also added import(lme4) to my NAMESPACE (which is advised nowadays by R CMD check anyway). You can of course also use importFrom() to import the summary

[Rd] Importing packages in Depend

2013-09-12 Thread Benjamin Hofner
Hi, I am currently preparing a new version of my package papeR. When I run R CMD check using the development version of R I get the following note: Package in Depends field not imported from: ‘nlme’, ‘lme4’, ‘survival’ These packages needs to imported from for the case when this namespace is

Re: [Rd] legitimate use of :::

2013-08-26 Thread Benjamin Hofner
ibutions: function (pkg): Authors e.g. n.knots (stats): R Core (perhaps with an added LICENSE "field") Benjamin -- ****** Dr. rer. nat. Benjamin Hofner Institut für Medizininformatik, Biometrie und Epidemiolo

Re: [Rd] legitimate use of :::

2013-08-26 Thread Benjamin Hofner
Dear Duncan, thank you for the quick reply. Am 26.08.2013 16:47, schrieb Duncan Murdoch: On 26/08/2013 8:51 AM, Benjamin Hofner wrote: Hi, related to this important discussion I have several questions: What can I do to explicitly state that I want to use a certain, *non-exported* generic

Re: [Rd] legitimate use of :::

2013-08-26 Thread Benjamin Hofner
Hi, related to this important discussion I have several questions: What can I do to explicitly state that I want to use a certain, *non-exported* generic function? The function I am currently talking of is predict.smooth.spline from package stats. As I want to make shure that *this* function

[Rd] How to use summary.mer inside a package?

2013-02-05 Thread Benjamin Hofner
I have a question regarding the build of my project papeR (hosted on R-forge http://r-forge.r-project.org/R/?group_id=1574) with respect to lme4. Both, Windows and MacOS are complaining that lme4 doesn't export summary: Error : object 'summary' is not exported by 'namespace:lme4' ERROR: la

[Rd] Generate .Rout.save files for vignettes

2012-12-11 Thread Benjamin Hofner
I am looking for a way to generate .Rout.save files for vignettes. The manual "Writing R Extensions" states here [1] in item number 20: "If there is a target output file .Rout.save in the vignette source directory, the output from running the code in that vignette is compared with the target ou

[Rd] Suggestion: Specify default of "pch" in the manual

2012-08-24 Thread Benjamin Hofner
Both, in the manuals for par() and points() I could not find a note on the default value of "pch". I think it would be rather helpful to add a note that the default is 1 (in both manuals). This would, for example, help users that want to draw a legend. And yes, I know that one can obtain the d

[Rd] Errors in manpage of bs() (splines) (PR#13912)

2009-08-26 Thread benjamin . hofner
Full_Name: Benjamin Hofner Version: 2.9.1 OS: Ubuntu Submission from: (NULL) (92.229.82.215) Hi I found some mistakes in the documentation of function bs() in package splines (I use R 2.9.1 but it also holds for the latest SVN Version https://svn.r-project.org/R/trunk/src/library/splines/man

[Rd] save() does not issue an error if it tries to write on overfull hdd (PR#13866)

2009-08-04 Thread benjamin . hofner
Full_Name: Benjamin Hofner Version: 2.9.1 OS: Ubuntu 8.04 Submission from: (NULL) (141.67.245.196) Hi, if I try to save (via save(...), write.table(...), etc.) some data on a full (!) disc (free disc space was ~ 20Kb) the save command seems to finish without an error. However, if you try to

[Rd] Wishlist - better object.size() function

2008-11-19 Thread Benjamin Hofner
his would improve the usability of the function a lot. Thanks, Benjamin -- ****** Dipl.-Stat. Benjamin Hofner Institut für Medizininformatik, Biometrie und Epidemiologie Friedrich-Alexander-Universität Erlangen-Nürnberg Waldstr. 6 - 910