Re: [Rd] [R] length 1 offset in glm ( lm)

2009-02-25 Thread Heather Turner
This post about length 1 offsets on R help seems to have been ignored (sorry deleted original email - is there a way to continue thread in this case?) https://stat.ethz.ch/pipermail/r-help/2009-February/189352.html It does seem to be a bug, in that glm does not behave as documented. In fact the

Re: [Rd] [R] length 1 offset in glm ( lm)

2009-02-25 Thread Heather Turner
Prof Brian Ripley wrote: On Wed, 25 Feb 2009, Kenneth Knoblauch wrote: Hi Quoting Prof Brian Ripley rip...@stats.ox.ac.uk: On Wed, 25 Feb 2009, Heather Turner wrote: This post about length 1 offsets on R help seems to have been ignored (sorry deleted original email - is there a way

Re: [Rd] using predict method with an offset

2009-02-27 Thread Heather Turner
Hi Ken, First of all, whether you specify the offset by the argument or in the formula, your code requires that q25 is the same length as the variable Contr. You can set this up by defining your new data as follows: nd - data.frame( Contr = cc , q25 = qlogis(0.25)) This sorts out the problem of

Re: [Rd] installing spam package is failing (spam_0.29-1)

2012-07-17 Thread Heather Turner
I expect what's happened is that you have installed R at some point, then later updated Ubuntu, which caused the R repository you had stored to be disabled. Try running sudo gedit /etc/apt/sources.list If my guess is right, you will probably have something like # deb

[Rd] Incorrect fix for PR#9316: Cook's Distance plot.lm

2008-05-09 Thread Heather . Turner
This is a multi-part message in MIME format. --030304040002000407020206 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Bug PR#9316 noted an inconsistency between the Cook's distance contours on plot.lm(x, which = 5) and the values given by

Re: [Rd] proposed simulate.glm method

2009-02-13 Thread Heather Turner
Dear Martin, I think a simulate.glm method ought to be able to work for gnm objects too. David Firth and I started to work on this a long time ago, but stopped part-way through when simulate.lm was introduced, thinking that simulate.glm was probably in the pipeline and we were duplicating effort.

Re: [Rd] proposed simulate.glm method

2009-02-13 Thread Heather Turner
, Heather, HT == Heather Turner heather.tur...@warwick.ac.uk on Fri, 13 Feb 2009 11:49:06 + writes: HT Dear Martin, HT I think a simulate.glm method ought to be able to work for gnm objects HT too. David Firth and I started to work on this a long time ago, but HT stopped

[Rd] as.data.frame.table responseName argument (PR#8006)

2005-07-13 Thread Heather . Turner
Full_Name: Heather Turner Version: 2.1.1 OS: Windows XP Submission from: (NULL) (137.205.240.44) I get an error when trying to use the responseName argument of as.data.frame.table, e.g. ## Create table f - gl(3, 3) tab - table(f) tab f 1 2 3 3 3 3 ## Convert to data.frame - works fine

[Rd] Using matprod from array.c

2005-10-12 Thread Heather Turner
Hi, I was wondering if I could use the matprod function from array.c in my own C routine. I tried the following as a test /* my_matprod.c */ # include Rinternals.h /* for REAL, SEXP etc */ # include R_ext/Applic.h /* array.c says need for dgemm */ /* following copied from array.c */ static

Re: [Rd] standardized residuals (rstandard plot.lm) (PR#8468)

2006-01-10 Thread Heather . Turner
2005 [EMAIL PROTECTED] wrote: Full_Name: Heather Turner Version: 2.2.0 OS: Windows XP Submission from: (NULL) (137.205.240.44) Standardized residuals as calculated by rstandard.lm, rstandard.glm and = plot.lm are Inf/NaN rather than zero when the un-standardized residuals are = zero

[Rd] Loading of namespace on load of .Rdata (was strange behaviour of load)

2006-01-18 Thread Heather Turner
Last week Giovanni Parrinello posted a message asking why various packages were loaded when he loaded an .Rdata file. Brian Ripley replied saying he thought it was because the saved workspace contained a reference to the namespace of ipred. (Correspondence copied below). This begs the

[Rd] Documentation issues [Was: Function hints]

2006-06-20 Thread Heather Turner
I would like to follow up on another one of the documentation issues raised in the discussion on function hints. Duncan mentioned that the R core were working on preprocessing directives for .Rd files, which could possibly include some sort of include directive. I was wondering if a

Re: [Rd] Formula evaluation, environments and attached packages

2015-04-29 Thread Heather Turner
Hi Milan, I expect I may be able to do something about the way the terms are evaluated, to ensure the evaluation is done in the gnm namespace (while still ensuring the variables can be found!). In the meantime, I think the following will work: Mult - gnm::Mult f - Freq ~ Eye + Hair + Mult(Eye,

[Rd] R Contribution Working Group

2021-10-20 Thread Heather Turner
Dear All, The R Contribution Working Group was set up last year with the purpose of encouraging new contributors to R core, especially from currently under-represented groups. More detail here: https://forwards.github.io/rcontribution/working-group. The group has been meeting approximately

[Rd] R Project Sprint 2023: deadline 10 March (midnight UTC)

2023-03-09 Thread Heather Turner
Dear All, This is a reminder that the deadline to apply to participate in the R Project Sprint 2023 is tomorrow, Friday 10 March. The form will close at midnight UTC. Details: https://contributor.r-project.org/r-project-sprint-2023/. Best wishes, Heather

[Rd] R Project Sprint 2023, Aug 30 - Sep 1, Coventry, UK

2023-02-21 Thread Heather Turner
would like to explore this option! Best wishes, Heather Turner on behalf of the local organizing team [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] R Dev Day @ Imperial, London, Fri Apr 26

2024-03-13 Thread Heather Turner
Dear All, R Dev Day @ Imperial will take place on Friday 26 April at Imperial College London: https://pretix.eu/r-contributors/r-dev-day-imperial-2024/ This event is aimed at current or aspiring R contributors based in the UK. Unlike other contributor events, we may not have representation

Re: [Rd] R Dev Day @ PLUS, Salzburg, Austria on Fri 12 July

2024-03-22 Thread Heather Turner
Reminder that the deadline for applications to this event is end of day Sunday March 24 (anywhere on earth). On Wed, Feb 28, 2024, at 2:43 PM, Heather Turner wrote: > Dear All, > > Information is now up for the R Dev Day that will take place as a > satellite event to useR! 2024

Re: [Rd] R Dev Day @ Imperial, London, Fri Apr 26

2024-04-09 Thread Heather Turner
Reminder that the registration deadline for this event is this Sunday. On Wed, Mar 13, 2024, at 9:16 AM, Heather Turner wrote: > Dear All, > > R Dev Day @ Imperial will take place on Friday 26 April at Imperial > College London: > https://pretix.eu/r-contributors/r-dev-da

[Rd] R Dev Day @ PLUS, Salzburg, Austria on Fri 12 July

2024-02-28 Thread Heather Turner
Dear All, Information is now up for the R Dev Day that will take place as a satellite event to useR! 2024 on Friday 12 July: https://contributor.r-project.org/r-dev-day-plus-2024 This will be an opportunity for contributors to work alongside members of the R Core Team on contributions to base

Re: [R-pkg-devel] Can roxygen2 export export() and S3method() to namespace?

2017-09-22 Thread Heather Turner
Hi Jens, If you also have the line #' @export all.bit you will get export(all.bit) in the NAMESPACE file. You still need to keep #' @export to get S3method(all,bit) Best wishes, Heather On Fri, Sep 22, 2017, at 10:23 AM, Jens Oehlschlägel wrote: > Hi, > > is there a way to have

Re: [R-pkg-devel] compilation flags WARNING

2018-07-05 Thread Heather Turner
On Thu, Jul 5, 2018, at 3:39 PM, Iñaki Úcar wrote: > El jue., 5 jul. 2018 a las 16:11, Göran Broström > () escribió: > > > > I am preparing a CRAN release of eha (a trivial change due to a change > > in the survival package), but when checking the build I get: > > > > goran@M6800:~/R$ R CMD

Re: [R-pkg-devel] compilation flags WARNING

2018-07-05 Thread Heather Turner
ntains > > # PKG_CFLAGS = -Wall > # PKG_FFLAGS = -Wall -fbounds-check > PKG_LIBS = $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS) > > Göran > > On 2018-07-05 17:43, Heather Turner wrote: > > > > > > On Thu, Jul 5, 2018, at 3:39 PM, Iñaki Úcar wrote: > >>

Re: [R-pkg-devel] Determine subset from glm object

2018-07-09 Thread Heather Turner
based on the first glm as follows: subset[subset] <- linearity On Mon, Jul 9, 2018, at 10:14 PM, Heather Turner wrote: > Good point. In that case a solution might be to create a model frame > based on the named variables, e.g. > > # general formula > f <- ~ log(x) + ns(v, df = 2

Re: [R-pkg-devel] Determine subset from glm object

2018-07-09 Thread Heather Turner
an the original variables, so when model.frame() is called > again within glm(), it won't find the original variables > - variables with data-dependent bases (poly(), ns(), etc.) get > computed and stuck in the model frame - again, the original variables > are inaccessible > > >

Re: [R-pkg-devel] Determine subset from glm object

2018-07-09 Thread Heather Turner
On Sun, Jul 8, 2018, at 8:25 PM, Charles Geyer wrote: > I spoke too soon. The problem isn't that I don't know how to get the > subset argument. I am just calling glm (via eval) with (mostly) the > same arguments as the call to my function, so subset is (if not > missing) an argument to my

[R-pkg-devel] Handling packages required to build vignettes

2018-01-17 Thread Heather Turner
Dear All, Since the Fedora checks on R-devel are not currently using packages from Bioconductor, one of my packages is giving new warnings. In my case (and it appears for a number of others) this is due to using BiocStyle::html_document format in the package vignette. Since BiocStyle is only

Re: [R-pkg-devel] shadowing a method from the stats package

2019-01-16 Thread Heather Turner
Hi Oscar, I don't think this is such a good idea, for a few reasons. First, `setMethod` defines an S4 method, so both an S3 method (from stats) and an S4 method (from your package) will be defined. This seems to work, but could give unexpected results and is confusing for anyone trying to

Re: [R-pkg-devel] LaTeX warnings on debian builds only

2019-01-19 Thread Heather Turner
Hi Adam, I suspect these two lines in your YAML header are causing trouble > %\usepackage[utf8]{inputenc} > %\usepackage[table]{xcolor} - this is LaTeX code, which you shouldn't need if you're producing an HTML vignette. Also, with more recent versions of R markdown you should use

Re: [R-pkg-devel] new maintainer for CRAN package XML

2024-01-25 Thread Heather Turner
Re: guidance on how to migrate from XML to xml2, these notes from Daniel Nüst may be helpful: https://gist.github.com/nuest/3ed3b0057713eb4f4d75d11bb62f2d66. Best wishes, Heather On Wed, Jan 24, 2024, at 3:38 PM, Emmanuel Blondel wrote: > if XML is deprecated, then what would be the choice for

[Rd] str and class

2008-05-09 Thread Dr Heather Turner
In previous versions of the gnm package, the terms component of gnm objects had a classID attribute. This caused problems when used with str as the following simple example illustrates: x - 1 attr(x, classID) - type1 str(x) Class 'type1' Class 'type1' Class 'type1' Class 'type1' Class

Re: [Rd] Posting Guide - help.request() function?

2008-06-09 Thread Dr Heather Turner
Whilst it is a good idea to improve the posting guide, it seems to me that it would be useful to have a function along the lines of bug.report(), to help a potential questioner make sure they have done their homework and have the relevant information to put into a post to R-help. Even those

Re: [Rd] Posting Guide - help.request() function?

2008-06-09 Thread Dr Heather Turner
AM, Dr Heather Turner [EMAIL PROTECTED] wrote: Whilst it is a good idea to improve the posting guide, it seems to me that it would be useful to have a function along the lines of bug.report(), to help a potential questioner make sure they have done their homework and have the relevant information

Re: [Rd] Posting Guide - help.request() function?

2008-06-11 Thread Dr Heather Turner
was kept. Best wishes, Heather Martin Maechler wrote: HT == Heather Turner [EMAIL PROTECTED] on Mon, 09 Jun 2008 17:21:17 +0100 writes: HT Thanks for the helpful tips and suggestions, I'll work HT them in. You get local versions of the documents on Unix HT too - RShowDoc