144145146147148149150151152153154
return null; } if(!(hookExp instanceof Closure)) { throw new EvalException("Illegal type for refhook"); } return new PersistenceHook() { @Override public Vector apply(SEXP exp) { // make sure exp doesn't get evaled