$ R
R version 2.12.2 (2011-02-25)
Platform: i486-pc-linux-gnu (32-bit)
> install.packages("ggplot2", dep="T")
Error in apply(available[p1, dependencies, drop = FALSE], 1L, function(x) paste(x[!is.na(x)], :
subscript out of bounds
What can I do to install ggplot2?
Do read the help for functions! From
?install.packages
we have:So this clearly states that you need to supply a logical value, a
TRUE
or aFALSE
."T"
is not a logicalTRUE
and neither isT
really. Always spell outTRUE
andFALSE
otherwise you could get into lots of trouble. It isn't worth the hassle to save on a few keystrokes.As I showed in the answer to the previous Q:
works. So why did you alter what I showed you did work?