Could be a few things, the engine check light comes on in the R34s for more reasons over previous models.
If you're mechanically minded, get yourself one of these, they can help no end with diagnosis of problems plus it's got lots of great features!
http://www.plmsdevelopments.com/consult_if.htm
If you've got an R34 tiptronic, the shift solenoids can let go at a very short lifespan..may be this. More than likely you've got an ignition problem, when the coils play up it will labour the engine and make "deep" noises.