First time this happened to me-car would not go into R or F. Brake was not on but brake light was on. Red led in the center of the power switch. Finally put emergency brake on, then off. That cured it. Brake light switch malfunction?
What is "F". Do you mean "D" Most of the time this is not having your foot on the brake. If you had your foot on the brake, it sounds like a malfunction.