Sorry that was a copy/paste problem (I copied the width and height
assignments out of the opts call and then assumed mistakenly that the =
form of assignment was actually being used in the original code!). Fixed.


On Fri, Apr 4, 2014 at 12:23 PM, Hadley Wickham <notifications@github.com>wrote:

> In R/opts.R:
>
> > @@ -85,10 +85,16 @@ knitr_opts <- function() {
> >    }
> >    get_opt <- knitr::opts_current$get
> >
> > -  opts(
> > -    width = get_opt('fig.width') * get_opt('dpi'),
> > -    height = get_opt('fig.height') * get_opt('dpi')
> > -  )
> > +  width = get_opt('fig.width') * get_opt('dpi')
>
> Could you use <- please? (here and below)
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/rstudio/ggvis/pull/130/files#r11301839>
> .
>