简体   繁体   中英

Can't load dplyr package

I am very new to R programming and When I have tried to run "require(dplyr)", I get this error. I can't figure out why

Loading required package: dplyr
Error: package or namespace load failed for ‘dplyr’ in library.dynam(lib, package, package.lib):
 shared object ‘tibble.so’ not found
Warning message:
S3 methods ‘$.tbl_df’, ‘[.tbl_df’, ‘[[.tbl_df’, ‘row.names<-.tbl_df’, ‘as.data.frame.tbl_df’, ‘as_data_frame.NULL’, ‘as_data_frame.data.frame’, ‘as_data_frame.default’, ‘as_data_frame.list’, ‘as_data_frame.matrix’, ‘as_data_frame.table’, ‘as_data_frame.tbl_df’, ‘as_tibble.NULL’, ‘as_tibble.data.frame’, ‘as_tibble.default’, ‘as_tibble.list’, ‘as_tibble.matrix’, ‘as_tibble.poly’, ‘as_tibble.table’, ‘as_tibble.tbl_df’, ‘as_tibble.ts’, ‘check_names_before_after.character’, ‘check_names_before_after.default’, ‘check_names_df.character’, ‘check_names_df.default’, ‘check_names_df.logical’, ‘check_names_df.numeric’, ‘format.tbl’, ‘format.tbl_df’, ‘format.trunc_mat’, ‘format_v.character’, ‘format_v.default’, ‘format_v.list’, ‘glimpse.data.frame’, ‘glimpse.default’, ‘glimpse.tbl’, ‘print.tbl’, ‘print.tbl_df’, ‘print.trunc_mat’, ‘quote_n.cha [... truncated] 

这不是一个优雅的解决方案,但您是否尝试过

install.packages('tidyverse')

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM