Re: [Rd] Best practices in developing package: From a single file

2018-01-31 Thread Pfaff, Bernhard Dr.
Dear All: stepping in late, but @Joris, if you would like to take 'from a single file' literally, have a look at: https://github.com/bpfaff/lp4rp (lp4rp: literate programming for R packages); Cheers, Bernhard ps: incidentally, within the noweb-file roxygen is employed. -Ursprün

Re: [Rd] Case: package removed from CRAN, but not orphaned

2011-11-25 Thread Pfaff, Bernhard Dr.
On 25.11.2011 11:56, Pfaff, Bernhard Dr. wrote: > Dear R-Devel subscriber, > > I would like to raise a topic and ask for your advice, guidance. > Today on R-help an issue with a certain package popped up that has been > removed from CRAN, because it failed the checks and/or the d

[Rd] Case: package removed from CRAN, but not orphaned

2011-11-25 Thread Pfaff, Bernhard Dr.
Dear R-Devel subscriber, I would like to raise a topic and ask for your advice, guidance. Today on R-help an issue with a certain package popped up that has been removed from CRAN, because it failed the checks and/or the dependencies are not any longer available. The package maintainer has been

Re: [Rd] R CMD Sweave versus Sweave() on Windows

2011-04-21 Thread Pfaff, Bernhard Dr.
> > On Thu, 21 Apr 2011, Pfaff, Bernhard Dr. wrote: > > > Dear list subscriber, > > > > I am quite puzzled by the behaviour of processing Sweave > files within an R session, i.e. > > Sweave("foo.Rnw") versus R CMD Sweave foo.Rnw &g

[Rd] R CMD Sweave versus Sweave() on Windows

2011-04-21 Thread Pfaff, Bernhard Dr.
Dear list subscriber, I am quite puzzled by the behaviour of processing Sweave files within an R session, i.e. Sweave("foo.Rnw") versus R CMD Sweave foo.Rnw In the former the environmental variable 'SWEAVE_STYLEPATH_DEFAULT = TRUE' is obeyed (this is set in etc/Renviron.site as well as under t

[Rd] memory.limit(): Typo in Windows NEWS and function returns a "disregarded" error

2009-04-24 Thread Pfaff, Bernhard Dr.
Dear list subscriber (R-Core), there is a minor typo in the Windows specific NEWS for R 2.9.0: http://cran.at.r-project.org/bin/windows/base/CHANGES.R-2.9.0 There is no function 'memory.limits() but memory.limit() (see below). Secondly, I am kind of irritated by the function's behaviour. It re

Re: [Rd] Methods not loaded in R-Devel vs 2.8.1

2009-01-30 Thread Pfaff, Bernhard Dr.
chaft: Frankfurt am Main >-Ursprüngliche Nachricht- >Von: r-devel-boun...@r-project.org >[mailto:r-devel-boun...@r-project.org] Im Auftrag von Pfaff, >Bernhard Dr. >Gesendet: Freitag, 30. Januar 2009 12:13 >An: r-devel@r-project.org >Betreff: [Rd] Methods not loaded

[Rd] Methods not loaded in R-Devel vs 2.8.1

2009-01-30 Thread Pfaff, Bernhard Dr.
Dear list-member, I am currently developing a package with S4 classes. The NAMESPACE and DESCRIPTION is printed below. Within this package I have set a method "residuals" for two classes. In version 2.8.1 these two are reported whereas in R-Devel (2009-01-28 r47766). What have I missed? What ha

Re: [Rd] FORTRAN compilation error on Tiger but not for Leopard

2009-01-14 Thread Pfaff, Bernhard Dr.
Just to let the list know; the issue has been resolved by Simon Urbanek, again many thanks Simon. His reply is available at: https://stat.ethz.ch/pipermail/r-sig-mac/2009-January/005759.html Best, Bernhard > >Dear list member, > >the package urca now contains FORTRAN code in ./src. The >compil

[Rd] FORTRAN compilation error on Tiger but not for Leopard

2009-01-14 Thread Pfaff, Bernhard Dr.
Dear list member, the package urca now contains FORTRAN code in ./src. The compilation/build works on R-Forge (see project AICTSI with Leopard), but an error is reported in the build on CRAN (Tiger). My question now is: Is there anything I can do as a package maintainer such that the package can b

Re: [Rd] R 2.8.0 qqnorm produces error with object of class zoo?

2008-10-23 Thread Pfaff, Bernhard Dr.
;Gesendet: Donnerstag, 23. Oktober 2008 02:36 >An: Peter Dalgaard >Cc: Pfaff, Bernhard Dr.; [EMAIL PROTECTED] >Betreff: Re: [Rd] R 2.8.0 qqnorm produces error with object of >class zoo? > >I don't think its hopeless. order works ok provided the >underlying class >define

Re: [Rd] R 2.8.0 qqnorm produces error with object of class zoo?

2008-10-22 Thread Pfaff, Bernhard Dr.
Best, Bernhard > >Pfaff, Bernhard Dr. wrote: >> It seems, that in my previous emails the attached output >files got deleted, hence these are now copied below: >> >> >(If the MIME type is wrong, then that will happen.) > >Anyways, the root cause seems to be th

Re: [Rd] R 2.8.0 qqnorm produces error with object of class zoo?

2008-10-22 Thread Pfaff, Bernhard Dr.
It seems, that in my previous emails the attached output files got deleted, hence these are now copied below: For R version 2.7.2: R version 2.7.2 (2008-08-25) Copyright (C) 2008 The R Foundation for Statistical Computing ISBN 3-900051-07-0 R ist freie Software und kommt OHN

[Rd] R 2.8.0 qqnorm produces error with object of class zoo?

2008-10-22 Thread Pfaff, Bernhard Dr.
Dear list-reader, by running the following script: library(zoo) sessionInfo() search() packageDescription("zoo") data(EuStockMarkets) dax <- as.zoo(EuStockMarkets[1:10, "DAX"]) daxr <- diff(log(dax)) identical(as.vector(qnorm(daxr)), qnorm(coredata(daxr))) qqnorm(coredata(daxr)) qqnorm(daxr) qq

Re: [Rd] Checking package vignettes: WARNING

2008-07-16 Thread Pfaff, Bernhard Dr.
Hello Arne, I do not know if this matters, but have you used 'results = verbatim' in your R code chunk? See page 13 in: http://www.statistik.lmu.de/~leisch/Sweave/Sweave-manual.pdf Best, Bernhard > >Hi, > >I want to have a "vignette" in one of my R packages. Hence, I >added an Sweave >file i

Re: [Rd] Problem with formatted xtable in R 2.5.0

2007-04-27 Thread Pfaff, Bernhard Dr.
>I get the same behaviour in 2.4.1 with xtable 1.4-3. Have you >perhaps updated 'xtable' as well as R and are blaming R for an >'xtable' >change? As ?print.xtable says > > From version 1.4-3, all non-numeric columns are >sanitized, and all > LaTeX special characters are sanitised fo

[Rd] Problem with formatted xtable in R 2.5.0

2007-04-27 Thread Pfaff, Bernhard Dr.
Dear R-Devel subscriber, I encountered the following problem for tex-formatted table with xtable(). Suppose I do want the following matrix as a table in LaTeX: library(xtable) a11 <- "\\color{green}\\textbf{big green}" a21 <- "\\color{red}\\textbf{big red}" a12 <- "\\color{green}green" a22 <- "\

Re: [Rd] Undocumented S4 methods: generic 'show'

2006-11-22 Thread Pfaff, Bernhard Dr.
>On Wed, 22 Nov 2006, Pfaff, Bernhard Dr. wrote: >> >> \alias{show, equation-method} > >There are no spaces in the examples in Writing R Extensions, >so I would >not have assumed they are allowed. Does it work without the >space? (If >it supposed to, we ne

[Rd] Undocumented S4 methods: generic 'show'

2006-11-22 Thread Pfaff, Bernhard Dr.
Dear R-Devel subsriber, during the set-up of a package with a NAMESPACE I stumbled over the following warning during: R CMD check -l c:/R/package smem ## skipped output * checking for missing documentation entries ... WARNING Undocumented S4 methods: generic 'show' and siglist 'equation' All u

Re: [Rd] memory issues with new release (PR#9344)

2006-11-07 Thread Pfaff, Bernhard Dr.
>> spend more time on this. I really don't mind using the >previous version. Hello Derek, or upgrade to R 2.5.0dev; the execution of your code snippet is not hampered by memory issues: > sessionInfo() R version 2.5.0 Under development (unstable) (2006-10-10 r39600) i386-pc-mingw32 locale: L

Re: [Rd] Formal methods are not loaded from NAMESPACE in reloadedworkspace image

2006-11-03 Thread Pfaff, Bernhard Dr.
Dear John, Dear Seth, many (a thousands) thanks for your clarification and highlighting of the problem. >It's not a simple serialization issue, but related to the initial >computations when a saved image is reloaded at the start of a session, >so the implication is less general than you imply.

[Rd] WG: Formal methods are not loaded from NAMESPACE inreloadedworkspace image

2006-11-03 Thread Pfaff, Bernhard Dr.
Sorry, to bother the list one more time: but the following worked at least for 'urca': in NAMESPACE I now included explicitly: import(methods) a fix of the 'urca'-package will be uploaded to CRAN on the weekend. Fritz, will this work for ypur package 'flexclust' too? I have in my DESCRIPTION imp

Re: [Rd] Formal methods are not loaded from NAMESPACE in reloadedworkspace image

2006-11-03 Thread Pfaff, Bernhard Dr.
Dear R-Devel subscriber, as a follow up to my yesterday's email: I tested an analogous example with the S4-package "flexclust" by executing the following code: library(flexclust) example(cclust) cl After saving the work space and starting a new R process with the restored work space, the same be

[Rd] Formal methods are not loaded from NAMESPACE in reloaded workspace image

2006-11-02 Thread Pfaff, Bernhard Dr.
Dear R-Devel subscriber, I was hinted to the following problem with package 'urca': If one starts R and executes for instance: > library(urca) > example(ur.df) ## output as expected, but omitted here > class(lc.df) [1] "ur.df" attr(,"package") [1] "urca" > class(summary(lc.df)) [1] "sumurca" att

[Rd] Typo in help-file for 'regexp'

2006-10-30 Thread Pfaff, Bernhard Dr.
Dear R-maintainer, in the help-file for 'regexp' I detected the following word redundancy: Is: === For basic and extended regular expressions the the collation order is taken from the OS's ... ^^^ Should read: For basic and extended reg

[Rd] all.names() and all.vars(): sorting order of functions' return vector

2006-10-27 Thread Pfaff, Bernhard Dr.
Dear list-subscriber, in the process of writing a general code snippet to extract coefficients in an expression (in the example below: 0.5 and -0.7), I stumbled over the following peculiar (at least peculiar to me:-) ) sorting behaviour of the function all.names(): > expr1 <- expression(x3 = 0.5

Re: [Rd] 'CanMakeUseOf' field [was ".. Add 'fields' argument ..]

2006-08-29 Thread Pfaff, Bernhard Dr.
>> "PaulG" == Paul Gilbert <[EMAIL PROTECTED]> >> on Tue, 29 Aug 2006 09:55:09 -0400 writes: > >PaulG> Martin Maechler wrote: >>> ... >>> >>> The idea was a field related to but weaker than 'Suggests' : >>> Something like >>> 'canMakeUseOf: [, , ... ] >>> w

Re: [Rd] R 2.3.0: Use of NULL as an environment is deprecated

2006-04-26 Thread Pfaff, Bernhard Dr.
>>>>> "BernPf" == Pfaff, Bernhard Dr <[EMAIL PROTECTED]> >>>>> on Wed, 26 Apr 2006 08:28:34 +0100 writes: BernPf> Dear Andy, Uwe and remaining list subscribers, BernPf> now, coming closer to the evil's root. Yesterday, I s

Re: [Rd] R 2.3.0: Use of NULL as an environment is deprecated

2006-04-26 Thread Pfaff, Bernhard Dr.
he environment is handeld/passed differently for standard and additional libraries? Would this odd behaviour qualify as a bug? Best, Bernhard From: Uwe Ligges > > Pfaff, Bernhard Dr. wrote: > > > Pfaff, Bernhard Dr. wrote: > > > > > >>Pfaff, Be

Re: [Rd] R 2.3.0: Use of NULL as an environment is deprecated

2006-04-25 Thread Pfaff, Bernhard Dr.
Pfaff, Bernhard Dr. wrote: > Pfaff, Bernhard Dr. wrote: > > >>Dear R-Devel subscriber, >> >>first, let me express my thank to the R-Core team for the new release! > > I > >>appreciate their efforts and time spent to enhance R. >>In accordan

Re: [Rd] R 2.3.0: Use of NULL as an environment is deprecated

2006-04-25 Thread Pfaff, Bernhard Dr.
Pfaff, Bernhard Dr. wrote: > Dear R-Devel subscriber, > > first, let me express my thank to the R-Core team for the new release! I > appreciate their efforts and time spent to enhance R. > In accordance with the 'NEWS' file (see excerpt of it below), > > [...

[Rd] R 2.3.0: Use of NULL as an environment is deprecated

2006-04-25 Thread Pfaff, Bernhard Dr.
Dear R-Devel subscriber, first, let me express my thank to the R-Core team for the new release! I appreciate their efforts and time spent to enhance R. In accordance with the 'NEWS' file (see excerpt of it below), [... o Changed the environment tree to be rooted in an empty environ

[Rd] Minor typo in optim.Rd (in details section)

2006-02-23 Thread Pfaff, Bernhard Dr.
Dear R-Core member, I spotted the following minor typo in: https://svn.r-project.org/R/trunk/src/library/stats/man/optim.Rd currently: == \details{ [...]Conjugate gradient methods will generally be more fragile that the BFGS method, [...] } Should read: \details{ [...]Con

Re: [Rd] S4 classes in existing packages

2005-11-01 Thread Pfaff, Bernhard Dr.
> Jeff Enos schrieb: > >> R-devel, >> >> I'm interested in looking at some examples of existing R packages that >> rely heavily on S4 classes to get a feel for varying styles and >> package organization techniques. Could you recommend any packages >> that might serve as a good starting point? >> >