Production of 18F, a positron emitter, with fast protons from D-3He fusion reactions and oxygen (18O) impurities in a large tokamak is studied numerically. A high-energy deuterium beam is used for proton production enhancement. The yield of 18F is found to be optimized in a somewhat dirty plasma with an effective ionic charge number of Zeff ∼ 5 and doubled by the inclusion of the possible resonance in the 18O(p,n)18F reaction. The yield in the deuterium beam-injected 3He plasma is 1000 times larger than by standard methods using a cyclotron. A comparison is also made with the yield in an advanced plasma regime.