The diode in the circuit is ideal. The current source $\mathrm{i}_{\mathrm{s}}(t)=\pi \sin (3000 \pi \mathrm{t}) \mathrm{~mA}.$ The magnitude of the average current flowing through the resistor $\mathrm{R}$ is______________$\mathrm{mA}$ (rounded off to two decimal places).