Ejemplo n.º 1
0
 def open_workspace(self,event):
     opendialog = OpenFile(self,filetypes=['rdata'],include_wildcard=True)
     uri,extension = opendialog.get_filename()
     path = get_path_from_url(uri)
     if not os.path.isfile(path):
         return
     rsession.r['load'](path)
     self.sync_with_r()
Ejemplo n.º 2
0
 def import_data(self,event):
     opendialog = OpenFile(self,filetypes=['csv','xls'],include_wildcard=True)
     uri,extension = opendialog.get_filename()
     self.import_datafile(uri)