Public bug reported:

The ggplot2 package seems to be broken in saucy.  Even a simple use of
qplot produces errors:

> library(ggplot2)
Loading required package: reshape
Loading required package: plyr

Attaching package: ‘reshape’

The following object is masked from ‘package:plyr’:

    rename, round_any

Loading required package: grid
Loading required package: proto
> tmp <- data.frame(aa=1:10, bb=1:10, cc=1:10>1)
> tmp
   aa bb    cc
1   1  1 FALSE
2   2  2  TRUE
3   3  3  TRUE
4   4  4  TRUE
5   5  5  TRUE
6   6  6  TRUE
7   7  7  TRUE
8   8  8  TRUE
9   9  9  TRUE
10 10 10  TRUE
> qplot(aa, bb, data=tmp)
The following `from` values were not present in `x`: col, color, pch, cex, lty, 
lwd, srt, adj, bg, fg, min, max
The following `from` values were not present in `x`: col, color, pch, cex, lty, 
lwd, srt, adj, bg, fg, min, max
The following `from` values were not present in `x`: col, color, pch, cex, lty, 
lwd, srt, adj, bg, fg, min, max
The following `from` values were not present in `x`: col, color, pch, cex, lty, 
lwd, srt, adj, bg, fg, min, max
The following `from` values were not present in `x`: col, color, pch, cex, lty, 
lwd, srt, adj, bg, fg, min, max
Error: Results must have one or more dimensions.

I had the following packages installed before installing ggplot2.

$ dpkg -l r-\* | grep ^ii
ii  r-base                                    3.0.1-3ubuntu1                    
             all          GNU R statistical computation and graphics system
ii  r-base-core                               3.0.1-3ubuntu1                    
             amd64        GNU R core of statistical computation and graphics 
system
ii  r-base-dev                                3.0.1-3ubuntu1                    
             all          GNU R installation of auxiliary GNU R packages
ii  r-base-html                               3.0.1-3ubuntu1                    
             all          GNU R html docs for statistical computing system 
functions
ii  r-cran-boot                               1.3-9-1                           
             all          GNU R package for bootstrapping functions from 
Davison and Hinkley
ii  r-cran-class                              7.3-8-1                           
             amd64        GNU R package for classification
ii  r-cran-cluster                            1.14.4-1                          
             amd64        GNU R package for cluster analysis by Rousseeuw et al
ii  r-cran-codetools                          0.2-8-2                           
             all          GNU R package providing code analysis tools
ii  r-cran-foreign                            0.8.54-1                          
             amd64        GNU R package to read/write data from other stat. 
systems
ii  r-cran-kernsmooth                         2.23-10-2                         
             amd64        GNU R package for kernel smoothing and density 
estimation
ii  r-cran-lattice                            0.20-15-1build1                   
             amd64        GNU R package for 'Trellis' graphics
ii  r-cran-mass                               7.3-27-1                          
             amd64        GNU R package of Venables and Ripley's MASS
ii  r-cran-matrix                             1.0-12-1                          
             amd64        GNU R package of classes for dense and sparse matrices
ii  r-cran-mgcv                               1.7-24-1                          
             amd64        GNU R package for multiple parameter smoothing 
estimation
ii  r-cran-nlme                               3.1.110-1                         
             amd64        GNU R package for (non-)linear mixed effects models
ii  r-cran-nnet                               7.3-7-1                           
             amd64        GNU R package for feed-forward neural networks
ii  r-cran-rpart                              4.1-1-2                           
             amd64        GNU R package for recursive partitioning and 
regression trees
ii  r-cran-spatial                            7.3-7-1                           
             amd64        GNU R package for spatial statistics
ii  r-cran-survival                           2.37-4-2                          
             amd64        GNU R package for survival analysis
ii  r-doc-html                                3.0.1-3ubuntu1                    
             all          GNU R html manuals for statistical computing system
ii  r-recommended                             3.0.1-3ubuntu1                    
             all          GNU R collection of recommended packages [metapackage]

Removing the package again and installing it via R's
install.packages(c("ggplot2","plyr"),dependencies=TRUE) fixed the
problem.

This seems to be an issue in combination with plyr 1.8

* https://github.com/hadley/ggplot2/issues/737
* https://github.com/hadley/plyr/issues/122

** Affects: r-cran-ggplot2 (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: r-cran-ggplot2 (Debian)
     Importance: Unknown
         Status: Unknown

** Bug watch added: Debian Bug tracker #710925
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=710925

** Also affects: r-cran-ggplot2 (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=710925
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1245298

Title:
  Error: "The following `from` values were not present in `x`: col,
  color, pch, cex, lty, lwd, srt, adj, bg, fg, min, max"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/r-cran-ggplot2/+bug/1245298/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to