Show method fix

I got this when creating a chart outside knit. But, I guess it's just to add `!is.null(...)`.

```
Error in if (getOption("knitr.in.progress")) { : 
  argument is of length zero
```

Otherwise, I really like this feature. I will let you know if I find some other issues.

@ramnathv minor fix to #143