Many thanks to Matthew, Hadley and Charlotte for pointing me to the
obvious. Sorry, I was to concentrated in learning the possibilities
of ggplot2 with the book and forgot the web site!
This notwithstanding, I get the same error using scale_x_date() as
scale_x_continuous, namely:
Error in if (check.width && length(widths) > 1 && sd(widths) > 1e-06)
{ :
missing value where TRUE/FALSE needed
Again, it works fine without using limits, so I am not sure this is
not a bug.
Kind regards,
Ivan