Okay, I made some progress:

I can skip the execution with

Code
if(is(RULCYCLE)) return;


Now I just need to find out how I can trigger the neural.train() in R after each RULCYCLE. This should be easy.