How to export terminal to F9 using r-tools?