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

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -