I've no experience with HDF4 but, may you work with the MODIS R Package and follow the Modis R: Package tutorial. Or use a conversation tool like h4toh5 or NCL. The last link gives you also some advises to deal with the difficulties of conversation. Bye