Reputation: 355
I am trying to save a xgboost code in Rmarkdown to knit HTML document. I am getting an error. The code is completely executable in "R".
The error is same when I try to run knit Pdf/word.
Someone please help me.
Thank you
Upvotes: 2
Views: 379
Reputation: 466
It seems the temporary directory cannot be created. Trying making your own temporary directory or setting it to the working directory:
Sys.setenv(TMPDIR = ".")
Upvotes: 1