However, in the case of rmagic: - It's not much use without options to specify input & output variables - Some uses can't easily be replaced by cell magics, for instance if you want to call it in a (Python) loop.