This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Execute R command on specific termimal

Hi all,

I am running R vscode on linux HPC node. I ran command in a R script (using ctrl + enter), but it was executed on a login node. I would like to execute the command in a specific terminal, where I have connected to a exe-node, when using ctrl + enter automatically.

Do you know how can I can setting this up?

r

1 answer

This is not how HPCs work. Things do not happen automatically and independent of the job scheduler.

If you want to work interactively on a node then you have to start a session first and log into the node. That depends on your scheduler, for example SLURM would work for example via srun, but this is not really on-topic here and depends on local configurations. Therefore, please consult the HPC documentation (if exists) and/or talk to the HPC administration to get help and get your interactive session going.

Log in to answer this question.