Re: [R] Incompatibility with VGAM

From: Gabor Grothendieck <ggrothendieck_at_gmail.com>
Date: Sun 29 May 2005 - 23:23:55 EST

As a workaround you could try detaching and re-attaching vgam before and after running glm.

detach("package:vgam")
glm(...whatever...)
library(vgam)

On 5/28/05, Kjetil Brinchmann Halvorsen <kjetil@acelerate.com> wrote:
> I just discovered that when the VGAM package (not on CRAN) is loaded,
> glm() doesn't work. This is because VGAM defines a family function()
> which gets found
> by glm() in place of the family function from stats.
> Then VGAM:::family returns an object which doesn't have a $family
> component, (it has a component
> $vfamily).
>
> I thought namespaces should protect us from this happening?
>
> Kjetil
>
> --
>
> Kjetil Halvorsen.
>
> Peace is the most effective weapon of mass construction.
> -- Mahdi Elmandjra
>
>
>
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sun May 29 23:34:43 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:15 EST