Catalyzes the oxidation of (R)-2-hydroxyglutarate to 2-oxoglutarate. May be involved in the catabolism of propionyl-CoA derived from beta-oxidation. Involved in degradation of lysine for the supply of carbon and electrons to the ETF/ETFQO complex during dark-induced sugar starvation