I found 2 packages written in base C++ specially for R.
Rvision
ROpenCVLite
I think he was trying to take R into Artificiall inteligence.
But Anyways I found the packages they aren't well maintained but I will find rest from here thanks for help.
more people should look into this thing as well.