How to call a program within a bash chunk in R markdown file? -
in block below, tsf_process available directory (is in path env). however, when run chunk:
{bash process, echo=true} tsf_process ./raw_data/settings.set 1
i error msg:
/tmp/rtmpk4mjsr/chunk-code1c4af3bc4f8b8.: line 2: tsf_process: command not found
however, if copy tsf_process file working directory , chunk:
{bash process, echo=true} ./tsf_process ./raw_data/settings.set 1
...everything works ok.
is there way avoid step of copying binary file working directory?
Comments
Post a Comment