6
$ R
R version 2.12.2 (2011-02-25)
Platform: i486-pc-linux-gnu (32-bit)
> install.packages("ggplot")
Warning message:
In getDependencies(pkgs, dependencies, available, lib) :
package ‘ggplot’ is not available
> install.packages("ggplot", dep="T")
Error in apply(available[p1, dependencies, drop = FALSE], 1L, function(x) paste(x[!is.na(x)], :
subscript out of bounds
In addition: Warning message:
In getDependencies(pkgs, dependencies, available, lib) :
package ‘ggplot’ is not available
> install.packages("ggplot", dep="T", type="source")
Error in apply(available[p1, dependencies, drop = FALSE], 1L, function(x) paste(x[!is.na(x)], :
subscript out of bounds
In addition: Warning message:
In getDependencies(pkgs, dependencies, available, lib) :
package ‘ggplot’ is not available
如何安装ggplot
?安装ggplot“包”ggplot'不可用“和”下标越界“错误
如果您还没有安装,那么你会看到很多比我上面显示的依赖关系。 – 2011-04-02 11:34:59
谢谢!请参阅我的后续问题:http://stackoverflow.com/questions/5522924/installing-ggplot-subscript-out-of-bounds-error。 – GaBorgulya 2011-04-02 11:42:14
@GaBorgulya你真的应该编辑现有的Q来发布类似的后续Q,而不是启动一个新的。如果你运行的代码我显示它会工作。如果你想改变工作代码,那么当它破裂时不要感到惊讶。 – 2011-04-02 11:50:33