RStudio addins for using OpenAI models as a writing assistant

I'm sharing how I wrote addins for the RStudio editor that send and receive text from openAI language models. Addins like this could be useful aids for writing. I have a blog post here with some breadcrumbs on how I did this, which could be modified for others to write their own writing assistant addins. https://crumplab.com/blog/770_rstudio... Repo: https://github.com/CrumpLab/gptaddin