In order to encourage myself to review vocab words more often, I wrote a function that calls utils::menu() and placed it in my RProfile. That way, I would be asked about vocabulary every time I restart my R session.
I tried a few variations of this to see what happened, and I had a different experience than what you describe here.
Adding the utils::menu() call in my .Rprofile has the effect of completely crashing my Rstudio on restarts, i get compains about missing graphics package etc. I have to clear the .Rprofile to get Rstudio working again. Curiously, Rstudio will restart and behaviour normally if I add the graphics = TRUE flag to the utils::menu() call.
Having succesfully put the 'graphic' style utils::menu in my Rstudio on restart, I hesitantly tried to View(mtcars). It came up no problem...