takluyver/IRkernel — pull request #43 by takluyver (2014-10-23 01:13:20+00:00)
Title: Set topLevelEnvironment option when running user code

Function copied from testthat

Fixes gh-33 (hopefully)