On the webpage from which you grab the table, is there a CSS selector? If you can find one that covers only the table, it can just capture the table, not a snapshot of the entire page. See this example:
webshot("http://www.nfl.com/superbowl/results/superbowl/", "nfl.png", selector = "div.columnStats")
To find the CSS selector, I went to the webpage (in this case http://www.nfl.com/superbowl/results/superbowl/ ) in the browser, and then press Ctrl + u to view the source. I scrolled until I found a table and on line 1374 found
<div class="columnStats">
I translated the div class="columnStats" into the div.columnStats option that I specified for the selector.
Windows
I was able to reproduce your error. Does your real application have a CSS selector that you can specify? (see NFL example above).
MAC
No problem with spaces. Here is what I did:
I have never used DT , webshot or PhantomJS. So after:
install.packages("DT") install.packages("webshot") webshot::install_phantomjs()
I put in a test. Let's say you posted on my mac and got:

source share