Thanks for the prompt reply Steve. I am using RStudio Cloud on a chromebook, so I'm not sure the patch you are describing will work. I'm still having the same error in any event.
Here is what RStudio Cloud says about the version of R. Seems like it's running an older version of R(?). I don't see an option for updating the version.
