test command with R file