ChatGPT is so good it is scary! The good news is that ChatGPT is just as confident when it gives a wrong answer, so you need to be able to judge the quality of its output. So having learned to code R was not a waste.