python for fitting data, and R usage with Rmagic function