Update slr.R

Added comment on how to execute it in bash