Better to just act on sp, instead of on node, in the strlen() and RlistAppendScalar(); there's no benefit to copying via node !