which R4i are you using? I have an R4i Gold and through YSmenu i got this error also. After about 3 hours of messing with files I couldnt get it to work and am returning the R4i and ordered an Acekard2i. I dont think you can successfully get an R4i to run YSmenu.
I got a working one from consolesource about 2 weeks ago. Its a clone and i highly suggest not getting one. they are not compatible with a ysmenu and lot of other homebrew stuff. Go with an acekard or the m3 zero that just came out.