Skip to main content

Hi,

I have one script in R running in RCaller, but the RCaller show some messages like erros but no erros, my script run properly.

 

I would like to ignore these messages and generate one feature for the next transformer. How can I do this?

 

 

Thank´s

Depending on how the RCaller is ‘failing’ I can think of two approaches (FYI i’ve never used R).

  1. If the RCaller is not outputing a feature because it doesn’t return a feature to trigger the rest of the workspace, you could put a NoFeatureTester after it and this will create a feature if none are recieved.
  2. If the RCaller is failing and is therefore causing the workspace to fail, you could look to use the tryCatch() function - https://stackoverflow.com/questions/12193779/how-to-use-the-trycatch-function

Hi @hkingsbury 

 

I tried your options, but unsuccess.

 

No FeatureTester no show features after erro in RCaller.

Try Catch too...no work properly. Shows errors in RCaller.

 

Thank you

 

 


Can you share how you’ve implemented the tryCatch() in you code?

The purpose of try-catch functions are to gracefully catch errors allowing processes to properly manage them with out failing


Reply