Hi, welcome!
I strongly encourage you to read this guidelines for making R related questions in an effective manner.