Make showcase mode work with .r files