For anybody to help you, we need way more information than you have provided. Unless we know what type of array you are trying to use, and how you generated the cy2 object, all we know is you tried to run rma on something and it didn't work.
Ideally you would provide a self-contained example (say, using arrays from GEO) that shows the problem so we can reproduce and track it down. Otherwise it's unlikely that anybody can help you.
In the future, please format the code in your post.