do not put the setup code in the layout file; let the author decide whether he/she needs it
a LyX template for the R Journal