Thank you so much for your reply! I am in the process_data.R - install.packages(‘mirt’)
Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
Warning in install.packages("mirt") :
lib = "/usr/local/lib/R/site-library"' is not writable
Error in install.packages("mirt") : unable to install packages
You have to install to a writable location, probably somewhere in your home directory. I think you do that using the lib paramater to install.packages. I don’t speak much R myself.