ggplot2不会安装Ubuntu 14.04和R 3.0.2

时间:2014-09-12 20:06:34

标签: r ggplot2 namespaces ubuntu-14.04

我无法弄清楚如何在我的系统上安装ggp​​lot2:带有R 3.0.2的Ubuntu 14.04。通过包管理器或手动安装ggp​​lot2时,我收到以下错误:

* installing *source* package ‘ggplot2’ ...
** package ‘ggplot2’ successfully unpacked and MD5 sums checked
** R
** data
*** moving datasets to lazyload DB
** inst
** preparing package for lazy loading
Warning: S3 methods ‘[.gtable’, ‘dimnames<-.gtable’, ‘cbind.gtable’, ‘dim.gtable’, ‘dimnames.gtable’, ‘grid.draw.gTableChild’, ‘grid.draw.gtable’, ‘heightDetails.gtable’, ‘length.gtable’, ‘plot.gtable’, ‘postDrawDetails.gTableParent’, ‘preDrawDetails.gTableParent’, ‘print.gtable’, ‘rbind.gtable’, ‘t.gtable’, ‘widthDetails.gtable’ were declared in NAMESPACE but not found
Error in namespaceExport(ns, exports) : 
  undefined exports: gtable, gtable_add_col_space, gtable_add_cols, gtable_add_grob, gtable_add_padding, gtable_add_row_space, gtable_add_rows, gtable_col, gtable_col_spacer, gtable_filter, gtable_height, gtable_matrix, gtable_row, gtable_row_spacer, gtable_show_layout, gtable_trim, gtable_width, is.gtable
ERROR: lazy loading failed for package ‘ggplot2’
* removing ‘/home/datadelvers/R/x86_64-pc-linux-gnu-library/3.0/ggplot2’
* restoring previous ‘/home/datadelvers/R/x86_64-pc-linux-gnu-library/3.0/ggplot2’
Warning in install.packages :
  installation of package ‘ggplot2’ had non-zero exit status

以下是有关我的R版本的更多信息:

platform       x86_64-pc-linux-gnu         
arch           x86_64                      
os             linux-gnu                   
system         x86_64, linux-gnu           
status                                     
major          3                           
minor          0.2                         
year           2013                        
month          09                          
day            25                          
svn rev        63987                       
language       R                           
version.string R version 3.0.2 (2013-09-25)
nickname       Frisbee Sailing   

你们中的一个人能帮助我吗?

0 个答案:

没有答案