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

Raymond Hawkins rhawkin2 at earthlink.net
Fri Oct 14 01:39:03 CEST 2011

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':

> 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"

More information about the R-SIG-Mac mailing list