How to use Matlab built-in color schemes with R??

I am working on image processing in R. At present I am working with the default color schemes (topo, terrain, rainb...