Importation process via R and shell commands