Ok, so most of this is in knowing the various base units for a few variables. I've separated each unit with a dot for clarity.
Power is measured in watts (W), which is another name for joules per second J.s^(-1).
A joule is a unit of energy or work, and is a function of force by distance, i.e. N.m. Substituting this into power you now have newton metres per second, N.m.s^(-1).
A newton is the unit of force, and from F=ma you can work out that the base units of force are kilogram metres per second per second, kg (from mass) and metres per second per second, m.s^(-2) (for acceleration), so kg.m.s^(-2).
So putting this into your power changes it from:
N.m.s^(-1)
to
kg.m(^2).s^(-3)
So you can now go back to your original equation using kg.m(^2).s^(-3) as your units for power, and the only variable with units on the denominator is the radius squared, so m^2.
Divide kg.m^2.s^(-3) by m^2 and it just removes the m^2 component, leaving you with kg.s^(-3) for I.
Hope that's clear, not that easy to follow!