Happy to help you if you ask specific R questions in a form that they might possibly answered.
That's said, I'd also be fascinated to know why you can't communicate with your teacher about the homework they are assigning you?
It would seem that that would be their job, whereas this is merely our hobby....