Q:

link Rscript to non-existant directory

I am using program which automatically assumes that Rscript is installed in my home directory. Not even it is not, but the directory /home/username/bin does not even exist - so calling /home/username/bin/Rscript results in an error.
However typing "Rscript" works from everywhere. Is there any way how to run Rscript whenever this program calls this non-existent directory? I would rather not change code of the program I am using.
Thanks a lot. 

A:

You can create a symlink to the real file, using the ln command:
ln -s /real/path/to/rscript /home/username/bin/rscript

