update of sos plot demo
improve exception handling of R process
extend logging for input error