Recommender System Error



Hi i am trying to run a code in R for Recommender System:I have converted the data into matrix format and even then facing this:While running the Recommender Engine code in R i am getting this error: Error in as(R, “realRatingMatrix”) :
no method or default for coercing “matrix” to “realRatingMatrix”.Kindly advice



I think the library you are using requires data in a matrix format defined withing the library itself. You might want to use some documentation to figure this error out.