Way to register functions without GUI?

Is there a way to register functions without doing all the clicking through GUI?

I have over 20 tables,  I need to use all of them for some task which I coded in R. However, when I register the function I have to click at each table variable and define it as input variable and the other one as output variable, then when I click 'run' I need to select the table and bring in all the columns for each table manually . 

Is there an easier way of registering the R function? is this type of task easier using ipython?