File: REngineConsoleHistoryInterface.java

package info (click to toggle)
rjava 1.0-14-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,188 kB
  • sloc: java: 13,223; ansic: 5,503; sh: 3,776; xml: 325; makefile: 250; perl: 33
file content (16 lines) | stat: -rw-r--r-- 634 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package org.rosuda.REngine;

/** interface defining delegate methods used by {@link REngine} to forward console history callbacks from R. */
public interface REngineConsoleHistoryInterface {
	/** called when R wants to save the history content.
	 *  @param eng calling engine
	 *  @param filename name of the file to save command history to
	 */
	public void   RSaveHistory  (REngine eng, String filename);	
	
	/** called when R wants to load the history content.
	 *  @param eng calling engine
	 *  @param filename name of the file to load the command history from
	 */
	public void   RLoadHistory  (REngine eng, String filename);
}