Hi! Some time ago I answered a similar question on Stackoverflow: http://stackoverflow.com/questions/11181403/importing-a-clone-from-github-into-eclipse-and-build-path-errors/11205332#11205332
If the R class can't be resolved most of the time is some other problem that prevented Eclipse from building the R file. Take a look if the Eclipse console reports any problems. Sometimes just cleaning the workspace helps (or the error shows up in the console after that). Best regards, Sebastian

