I had chatGPT write several programs in R programming language. AI was not able to create complex program I wanted. I created statistical program myself. However it was able to create small components and answer questions about particular functions and libraries.