how to run r code in terminal. There are any references about how to run r code in terminal in here. you can look below.