Boxplot calculating endlessly

I’m working on a homework assignment involving R. Everything seems to be working fine in terms of my code, but for some reason the chunk with my boxplot seems to evaluate with no end. There’s the icon indicating to me that it’s calculating, but it does not seem to end.

#MY CODE
# make side-by-side boxplots to make comparisons easier
boxplot(homes$PercentOwned ~ homes$Year, names=c("year1985","year1996","year2002"),ylab="Percent Owned",main="Percent of Houses Owned by Year")

Overall, the assignment is Knitting properly, so it’s not a huge deal, but I am curious on how to fix this in case I run into it in the future.

It might just be that I need to clean the workspace and reload RStudio or something.