Hi easybuild list,

I'm installing a program that includes a .R script. The files that I want
in my path

executables = ['run_dREG.bsh', 'writeBed.bsh', 'run_dREG.R', 'bed_merge.pl
','writeBed.bsh']

files_to_copy = [(executables, 'bin')]

The .bsh files I can run after module load dREG with bash run_dREG.bsh.
However, I when I try Rscript run_dREG.bsh I get Fatal error: cannot open
file 'run_dREG.R': No such file or directory.

When I do Rscript /path/to/install_folder/dREG/bin/run_dREG.R it does work.
So how can I get the R script to be added to the path?

Thanks,
Niek

Reply via email to