I suspect you won’t get much help with a general question like that in this forum. I suggest that you ask instead either on Stack Overflow (and clearly state that you’re using R.NET) or by creating an issue on the R.NET project on GitHub.

When you do, make sure to include the stack trace of your exception; ArgumentNullException is very general and it’s hard to diagnose it without knowing which method threw it.