Hello Pierre,
I think the error is caused because your vector does not have a name.
Try following:
result0 <- data.frame(result0=c("R"));
result0 is either the name of your procedure output parameter, but also the name of the column within that output parameter has to be addressed.
Best Regards,
Florian