Erlang C functions in R, for use in contact centers