Use file=NULL to avoid writing files for graphics
Add test that Rplots.pdf is not created

This test fails if I revert the previous commit.
Clean up test
Only pass file=NULL if default device is pdf
Merge pull request #44 from takluyver/dev-file-null

Avoid creating Rplots files