public void open(String fileName) { if (this.r2 == null) { this.r2 = new R2Pipe(fileName, rconfig.r2path); } else { this.r2.RunCommand("o " + fileName); } this.fileName = fileName; this.r2html = new r2html(this); if (!fileName.Equals("-")) { rconfig.save("gui.lastfile", fileName); } }
public void open(String fileName) { this.r2 = new R2Pipe(fileName, rconfig.r2path); this.fileName = fileName; this.r2html = new r2html(this); }