Hello, I've an error recently. ggplot(data = mtcars, aes(x= wt, y= mpg)) + geom_line() Error: Found object is not a stat.
> sessionInfo() R version 3.4.2 (2017-09-28) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Ubuntu 16.04.3 LTS Matrix products: default BLAS: /usr/lib/openblas-base/libblas.so.3 LAPACK: /usr/lib/libopenblasp-r0.2.18.so locale: [1] LC_CTYPE=tr_TR.UTF-8 LC_NUMERIC=C LC_TIME=tr_TR.UTF-8 [4] LC_COLLATE=tr_TR.UTF-8 LC_MONETARY=tr_TR.UTF-8 LC_MESSAGES=tr_TR.UTF-8 [7] LC_PAPER=tr_TR.UTF-8 LC_NAME=C LC_ADDRESS=C [10] LC_TELEPHONE=C LC_MEASUREMENT=tr_TR.UTF-8 LC_IDENTIFICATION=C attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] dplyr_0.7.4 purrr_0.2.4 readr_1.1.1 tidyr_0.7.2 tibble_1.3.4 tidyverse_1.1.1 [7] ggplot2_2.2.1 loaded via a namespace (and not attached): [1] Rcpp_0.12.13 lubridate_1.7.1 lattice_0.20-35 class_7.3-14 assertthat_0.2.0 [6] ipred_0.9-6 psych_1.7.8 foreach_1.4.3 R6_2.2.2 cellranger_1.1.0 [11] plyr_1.8.4 stats4_3.4.2 httr_1.3.1 rlang_0.1.4 lazyeval_0.2.1 [16] caret_6.0-77 readxl_1.0.0 kernlab_0.9-25 rpart_4.1-11 Matrix_1.2-11 [21] splines_3.4.2 CVST_0.2-1 ddalpha_1.3.1 gower_0.1.2 stringr_1.2.0 [26] foreign_0.8-69 munsell_0.4.3 broom_0.4.2 compiler_3.4.2 modelr_0.1.1 [31] pkgconfig_2.0.1 mnormt_1.5-5 dimRed_0.1.0 nnet_7.3-12 prodlim_1.6.1 [36] DRR_0.0.2 codetools_0.2-15 RcppRoll_0.2.2 withr_2.1.0 MASS_7.3-47 [41] recipes_0.1.0 ModelMetrics_1.1.0 grid_3.4.2 nlme_3.1-131 jsonlite_1.5 [46] gtable_0.2.0 magrittr_1.5 scales_0.5.0 stringi_1.1.5 reshape2_1.4.2 [51] bindrcpp_0.2 timeDate_3012.100 robustbase_0.92-8 xml2_1.1.1 lava_1.5.1 [56] iterators_1.0.8 tools_3.4.2 forcats_0.2.0 glue_1.2.0 DEoptimR_1.0-8 [61] sfsmisc_1.1-1 hms_0.3 parallel_3.4.2 survival_2.41-3 yaml_2.1.14 [66] colorspace_1.3-2 rvest_0.3.2 bindr_0.1 haven_1.1.0 > conflicts(detail = TRUE) $.GlobalEnv [1] "iris" $`package:dplyr` [1] "%>%" "%>%" "add_row" "as_data_frame" "as_tibble" "data_frame" [7] "data_frame_" "frame_data" "glimpse" "lst" "lst_" "tbl_sum" [13] "tibble" "tribble" "trunc_mat" "type_sum" "filter" "lag" [19] "intersect" "setdiff" "setequal" "union" $`package:purrr` [1] "%>%" "%>%" $`package:tidyr` [1] "%>%" "%>%" $`package:tibble` [1] "add_row" "as_data_frame" "as_tibble" "data_frame" "data_frame_" "frame_data" [7] "glimpse" "lst" "lst_" "tbl_sum" "tibble" "tribble" [13] "trunc_mat" "type_sum" $`package:ggplot2` [1] "Position" $`package:stats` [1] "filter" "lag" $`package:datasets` [1] "iris" $`package:methods` [1] "body<-" "kronecker" $`package:base` [1] "body<-" "intersect" "kronecker" "Position" "setdiff" "setequal" "union" How can I solve this problem? Thanks. -- Zeki Çatav zekicatav.com [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.