[R] New Installs, Same Trouble Loading doBy and coin Packages

Peter Ehlers ehlers at ucalgary.ca
Fri Dec 10 13:13:17 CET 2010


On 2010-12-10 03:43, Adam Carr wrote:
> I tried Tal's suggestion of deleting the doBy and coin packages and then
> reinstalling them from a different mirror. The first install was from the
> Harvard mirror and the second was from the Case Western Univ. mirror. The new
> packages generate the same errors when I call them using the library() command.
>
> Also, I tried to load these packages using R and its script editor thinking that
> the problem may have something to do with Tinn-R, but the same errors are
> generated on the R terminal when I use the library() function.
>
> Any help would be appreciated.
>
> Again, the errors for these two packages:
>
> Error in length(label) : could not find function ".extendsForS3"
> Error: package/namespace load failed for 'doBy'
>
>
>> library(coin)
> Loading required package: mvtnorm
> Loading required package: modeltools
> Loading required package: stats4  #This is odd. I cannot find any reference for
> this package. AC
> Error in length(sig) : could not find function ".extendsForS3"
> Error: package 'stats4' could not be loaded
>

I would remove and re-install R. 'stats4' is a base package
and if that can't be loaded, your installation may be broken.
Try
  require(stats4)
or
  help(package=stats4)

Peter Ehlers

>
>
>
>
> ----- Forwarded Message ----
> From: Adam Carr<adamlcarr at yahoo.com>
> To: Tal Galili<tal.galili at gmail.com>
> Cc: r-help at r-project.org
> Sent: Thu, December 9, 2010 1:12:21 PM
> Subject: Re: [R] Trouble Loading doBy and coin Packages
>
> Hi Tal:
>
> No I have not tried this. I will do it this evening and we'll see what happens.
> Thanks for the suggestion.
>
> Adam
>
>
>
>
> ________________________________
> From: Tal Galili<tal.galili at gmail.com>
>
> Cc: r-help at r-project.org
> Sent: Thu, December 9, 2010 12:29:20 PM
> Subject: Re: [R] Trouble Loading doBy and coin Packages
>
>
> I Adam,
> Have you tried deleting the package files and then reinstalling them from a
> different CRAN mirror?
>
>
> Tal
>
> ----------------Contact
> Details:-------------------------------------------------------
> Contact me: Tal.Galili at gmail.com |  972-52-7275845
> Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) |
> www.r-statistics.com (English)
> ----------------------------------------------------------------------------------------------
>
>
>
>
>
>
>
>
>
> Good Evening R-Help Community:
>>
>> I have attached a file that contains the output from sessionInfo() and a
> summary
>> of my Win XP system. I am running R 2.12.0 and using Tinn-R 2.3.6.2 as my
>> interface. When I attempt to call either the doBy or coin packages R generates
>> an error that I do not understand and have so far not been able to resolve by
>> searching R resources.
>>
>> I exchanged a couple of emails with Soren Hojsgaard who does not think the doBy
>> error is directly related to the package itself, and he suggested that I post
>> this problem for input from others.
>>
>> When the doBy package is loaded, the following error appears in the Tinn-R log:
>>
>> Error in length(label) : could not find function ".extendsForS3"
>> Error: package/namespace load failed for 'doBy'
>>
>> When the coin package is called, this error appears in the Tinn-R log:
>>
>> Error in length(sig) : could not find function ".extendsForS3"
>> Error: package 'stats4' could not be loaded
>>
>> No functions in either package work, and when I attempt to call them the same
>> errors are generated in the log.
>>
>> Any help or direction would be appreciated.
>>
>> Thanks very much,
>>
>> Adam
>>
>>
>>
>> ______________________________________________
>> R-help at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>>
>>
>
>
>
>
>      [[alternative HTML version deleted]]
>
>
>



More information about the R-help mailing list