Closed moko-moko closed 6 years ago
Hmm; strange. I've never seen this, and I unfortunately have no idea why it would occur. The sp package is for spatial data, and has no relation to R/qtl. I don't understand why R would be trying to load the sp package.
What other packages do you have loaded? Type sessionInfo()
to see.
Hello, I have the same problem.
library("sp", lib.loc="/usr/local/lib/R/site-library") Error in library("sp", lib.loc = "/usr/local/lib/R/site-library") : there is no package called ‘sp’ library("sp", lib.loc="/usr/local/lib/R/site-library") Error in library("sp", lib.loc = "/usr/local/lib/R/site-library") : there is no package called ‘sp’
Try install.packages("sp")
.
But the sp package shouldn't be needed for R/qtl. Can you show me the output of sessionInfo()
?
Hi @kbroman
I installed the "sp" package and it worked. Thanks
Thanks kbroman for this platform. I am getting the error: Error in inla.call.builtin() : INLA installation error; no such file Also I am getting at the start of R the error: Loading required package: sp Please help me to fix them.
@mohammed-abdulrahmen Could you use copy-paste to show exactly what you’re typing, and the exact error messages?
@mohammed-abdulrahman Your code has no relationship to the present repository, and so this isn't an appropriate place to seek help. I would contact the authors of the code you're trying to get working.
Also when starting R I am getting the message: Loading required package: sp
Error: package ‘sp’ required by ‘INLA’ could not be found
@mohammed-abdulrahman As mentioned above, try install.packages("sp")
But neither the sp package nor INLA are required by R/qtl, and so it's not clear what relationship that has to this R/qtl workshop repository.
Thanks all... The problem is which should be installed first? INLA or sp>>> Now it is working...
I try your tutorial of "A shorter tour of R/qtl (rqtltour2.pdf)".
What happened? It would be greatly appreciated if you could explain the details.