RPR is not a spectral renderer - few renderers do this. However I briefly tried this trick similar to cycles and it seemed like it worked. Would need some tweaking to do correctly.
Although very useful replies/answers have been given by some users. But I would like to suggest visiting a blog where you can find all your related answers Click here!