R Snippet output error

@navywings you might want to check what is going on with your list variable if you can convert that to a string.

The code is not really good to read. Maybe you can provide an example that demonstrates the problem in a workflow.