At least the mating surface/bolt pattern for the manifold is the same for both engines.
The EZ30D and EZ30R have different oil- and coolant passages on the heads so you can't swap heads. Almost nothing is interchangeable within the block, only the rods are the same.
My EZ30D engines (and wiring diagrams) show two knock sensors...