small changes to show the python style use of R function and objects