philchalmers / mirtCAT

Computerized Adaptive Testing with Multidimensional Item Response Theory
http://philchalmers.github.io/mirtCAT/
91 stars 28 forks source link

Tempfile won't get deleted #6

Closed whiteplastic closed 8 years ago

whiteplastic commented 8 years ago

When I set a temp_file and resume_file, this file doesn't get deleted after the CAT session is finished.

philchalmers commented 8 years ago

This should be fixed now. Also note that I removed the resume_file argument in favour of just using the temp_file input. If the file name is detected from a previous session then it is simply resumed at that location. If this works on your end please close the issue.

whiteplastic commented 8 years ago

Actually I have no idea how to install an R packet manually. I will get back to you as soon as I managed…

philchalmers commented 8 years ago

You can use the devtools package to do this, though you may need to obtain the right compilers for your system first. Instructions are here: https://github.com/philchalmers/mirt, and afterwords just use

library(devtools)
install_github('philchalmers/mirtCAT')
whiteplastic commented 8 years ago

Thanks. Installing works but I get the following error when I try to load:

> library(mirtCAT)
Error in get(method, envir = home) : 
  lazy-load database '/usr/local/lib/R/3.2/site-library/mirtCAT/R/mirtCAT.rdb' is corrupt
philchalmers commented 8 years ago

Strange. Try restarting R?

Phil

On Fri, Jan 15, 2016 at 12:00 PM, w:p notifications@github.com wrote:

Thanks. Installing works but I get the following error when I try to load:

library(mirtCAT) Error in get(method, envir = home) : lazy-load database '/usr/local/lib/R/3.2/site-library/mirtCAT/R/mirtCAT.rdb' is corrupt

— Reply to this email directly or view it on GitHub https://github.com/philchalmers/mirtCAT/issues/6#issuecomment-172016018.

whiteplastic commented 8 years ago

Right. Issue closed.