use makeString
use Rf_lang and remove unused function