Building an R Package with LLMs: Insights and Observations
I just watched a YouTube video by Jared P. Lander, focusing on building an R package with the help of a Language Model (LLM). The video speaks to several intriguing aspects of using LLMs for programming tasks, particularly in R. Basic Function Creation The initial task involved creating a function that counts different file types in a specified folder. When the model was instructed with the prompt, “write a function whose input is a path to a folder and the output is a count of each of the different file types in the folder,” it produced a function using base R.