name = readline(prompt="Enter your name: ")
age =  readline(prompt="Enter your age: ")
print(paste("My name is",name, "and I am",age ,"years old."))
print(R.version.string)

     
           
Note: Need to be arranged in compiler after copied
   

 OutPut:

Enter your name: Python
Enter your age: 19
[1] "My name is and I am years old."
[1] "R version 3.4.4 (2018-03-15)"