[R] Error from Rcmdr when trying to make a density plot

Ashim Kapoor ashimkapoor at gmail.com
Sat Jun 4 09:09:12 CEST 2016


Dear all,

I am new to using Rcmdr. From the menu I chose the following : -

data(Anscombe, package="car")

densityPlot( ~ income, data=Anscombe, bw="SJ", adjust=1, kernel="gaussian")


This gave me the following error:-

[1] NOTE: R Commander Version 2.2-0: Sat Jun 4 12:32:09 2016
[2] NOTE:
Rcmdr Version 2.2-0
[3] NOTE: The dataset Anscombe has 51 rows and 4 columns.
[4] ERROR:
could not find function "model.frame"


My session details are :-

> sessionInfo()
R version 3.3.0 (2016-05-03)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 15.10

locale:
 [1] LC_CTYPE=en_IN       LC_NUMERIC=C         LC_TIME=en_IN
 [4] LC_COLLATE=en_IN     LC_MONETARY=en_IN    LC_MESSAGES=en_IN
 [7] LC_PAPER=en_IN       LC_NAME=C            LC_ADDRESS=C
[10] LC_TELEPHONE=C       LC_MEASUREMENT=en_IN LC_IDENTIFICATION=C

attached base packages:
[1] splines   utils     grDevices base

other attached packages:
[1] Rcmdr_2.2-0     RcmdrMisc_1.0-3 sandwich_2.3-3  car_2.0-26

loaded via a namespace (and not attached):
 [1] Rcpp_0.12.0         tcltk2_1.2-11       nloptr_1.0.4
 [4] RColorBrewer_1.1-2  plyr_1.8.3          tools_3.3.0
 [7] methods_3.3.0       class_7.3-13        rpart_4.1-10
[10] digest_0.6.8        lme4_1.1-8          gtable_0.1.2
[13] nlme_3.1-122        lattice_0.20-33     mgcv_1.8-7
[16] Matrix_1.2-2        parallel_3.3.0      SparseM_1.7
[19] proto_0.3-10        gridExtra_2.0.0     e1071_1.6-7
[22] stringr_0.6.2       cluster_2.0.3       graphics_3.3.0
[25] stats_3.3.0         grid_3.3.0          nnet_7.3-10
[28] tcltk_3.3.0         readxl_0.1.0        survival_2.38-3
[31] foreign_0.8-66      latticeExtra_0.6-26 minqa_1.2.4
[34] Formula_1.2-1       ggplot2_1.0.1       reshape2_1.4
[37] Hmisc_3.16-0        scales_0.2.5        MASS_7.3-43
[40] abind_1.4-3         pbkrtest_0.4-2      colorspace_1.2-4
[43] quantreg_5.11       acepack_1.3-3.3     munsell_0.4.2
[46] zoo_1.7-12
>
Many thanks,
Ashim

	[[alternative HTML version deleted]]



More information about the R-help mailing list