title: Installing ggplot “package ‘ggplot’ is not available” and “subscript out of bounds” errors
body: <pre><code>$ R
  R version 2.12.2 (2011-02-25)
  Platform: i486-pc-linux-gnu (32-bit)
  
  &gt; install.packages("ggplot")
  Warning message:
  In getDependencies(pkgs, dependencies, available, lib) :
    package ‘ggplot’ is not available
  
  &gt; 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
  
  &gt; 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
  </code></pre>
  
  <p>How can I install <code>ggplot</code>?</p>