[R-SIG-Mac] Error: could not find function "n.bins"

Sean Davis sdavis2 at mail.nih.gov
Sat Oct 22 14:53:36 CEST 2011


This is not a Mac or even R question since it has to do with a
specific package.  That said, I would suggest reading the NEWS file
for the car package:

news(package='car')

If you still have questions after that, consider contacting the package author.

Sean


On Thu, Oct 13, 2011 at 7:39 PM, Raymond Hawkins <rhawkin2 at earthlink.net> wrote:
> I just upgraded R on my MacBook Pro and seem to have lost the "n.bins" function in the car library. Session appended below; suggestions welcome. Thx. -Ray
>
> ----------------------------------------------------------------------------------------
>
> R version 2.13.2 (2011-09-30)
> Copyright (C) 2011 The R Foundation for Statistical Computing
> ISBN 3-900051-07-0
> Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
>
> R is free software and comes with ABSOLUTELY NO WARRANTY.
> You are welcome to redistribute it under certain conditions.
> Type 'license()' or 'licence()' for distribution details.
>
>  Natural language support but running in an English locale
>
> R is a collaborative project with many contributors.
> Type 'contributors()' for more information and
> 'citation()' on how to cite R or R packages in publications.
>
> Type 'demo()' for some demos, 'help()' for on-line help, or
> 'help.start()' for an HTML browser interface to help.
> Type 'q()' to quit R.
>
> [R.app GUI 1.42 (5910) x86_64-apple-darwin9.8.0]
>
>> library(car)
> Loading required package: MASS
> Loading required package: nnet
> Loading required package: survival
> Loading required package: splines
>> data(Prestige)
>> attach(Prestige)
> The following object(s) are masked from 'package:datasets':
>
>    women
>> Prestige[1:5,]
>                    education income women prestige census type
> gov.administrators      13.11  12351 11.16     68.8   1113 prof
> general.managers        12.26  25879  4.02     69.1   1130 prof
> accountants             12.77   9271 15.70     63.4   1171 prof
> purchasing.officers     11.42   8865  9.11     56.8   1175 prof
> chemists                14.62   8403 11.68     73.5   2111 prof
>> n.bins(income)
> Error: could not find function "n.bins"
>>
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>



More information about the R-SIG-Mac mailing list