我刚刚更新到R版本3.6.1,现在无法安装软件包ggplot2。当我尝试在库中调用时,出现以下错误(如下)。我尝试安装“ tidyverse”,“ rlang”和“ rcpp”软件包,但这些修复程序也没有帮助。任何建议。
Error: package or namespace load failed for ‘ggplot2’:
.onAttach failed in attachNamespace() for 'ggplot2', details:
call: namespaceExport(ns, exports)
error: undefined exports: defer, defer_parent, local_, local_bmp, local_cairo_pdf, local_cairo_ps, local_collate, local_connection, local_db_connection, local_dir, local_environment, local_envvar, local_file, local_jpeg, local_libpaths, local_locale, local_message_sink, local_namespace, local_options, local_output_sink, local_package, local_par, local_path, local_pdf, local_png, local_postscript, local_svg, local_temp_libpaths, local_tempfile, local_tiff, local_xfig, set_makevars, with_, with_bmp, with_cairo_pdf, with_cairo_ps, with_collate, with_connection, with_db_connection, with_dir, with_environment, with_envvar, with_file, with_jpeg, with_libpaths, with_locale, with_makevars, with_message_sink, with_namespace, with_options, with_output_sink, with_package, with_par, with_path, with_pdf, with_png, with_postscript, with_preserv