1 package org.rosuda.REngine;
3 /** interface defining delegate methods used by {@link REngine} to forward console history callbacks from R. */
4 public interface REngineConsoleHistoryInterface {
5 /** called when R wants to save the history content.
6 * @param eng calling engine
7 * @param filename name of the file to save command history to
9 public void RSaveHistory (REngine eng, String filename);
11 /** called when R wants to load the history content.
12 * @param eng calling engine
13 * @param filename name of the file to load the command history from
15 public void RLoadHistory (REngine eng, String filename);