There are some reasons which people choose Node.js.
However, there are some inconveniences of the Node.js language which may stay forever:
Finally, we can say that Node.js is good in some cases but it cannot takeover R because,
I. Ruby on Rails is a web framework.
I hope this information will be helpful! Thank you!