fix ternary operator in :Rscript
Merge pull request #345 from fishbullet/fix_console_ternary

Fix ternary operator in :Rscript