Send R code/R scripts/shell commands to LSF cluster
There are the following vignettes:
Send R code/R scripts/shell commands to LSF cluster
Configure bsub package
What if you need to establish two ssh connections to reach the submission node