}
private SEXP compileAndEval(String code)
throws InstantiationException, IllegalAccessException {
ExpressionVector exp = RParser.parseSource(code);
ThunkMap thunkMap = new ThunkMap("r/anon/Thunk");
Class<CompiledBody> compiled = ExpressionCompiler.compile(thunkMap, exp);
return compiled.newInstance().eval(topLevelContext, topLevelContext.getEnvironment());
}