Install ABSOLUTE Error
2
0
Entering edit mode
5.7 years ago

Hello,

A while ago I ran ABSOLUTE and I have the script I used.

I want to run it again but when I do:

library(ABSOLUTE)


I get:

Error in library(ABSOLUTE) : there is no package called ‘ABSOLUTE’


If I do:

install.packages("ABSOLUTE", lib="/Library/Frameworks/R.framework/Versions/3.3/Resources/library")


I get:

Warning in install.packages :
package ‘ABSOLUTE’ is not available (for R version 3.3.1)


As I said, I ran this code a while ago, and I'm sure I updated R at some point.

I have the files that come with ABSOLUTE, but I don't remember how to install the package.

Any help would be very much appreciated.

ABSOLUTE R Package • 3.5k views
6
Entering edit mode
5.7 years ago

I've found the solution.

I downloaded again the tar.gz file and installed the package from source by doing:

R CMD INSTALL ABSOLUTE_1.0.6.tar.gz


In the directory where the tar.gz file was located.

Then, doing:

library(ABSOLUTE)


Works.

I'll leave this here in case someone needs it in the future, or - perhaps more likely - in case I need it in the future. :)

2
Entering edit mode
5.5 years ago
youcai ▴ 60

for version 1.2, these can work directly

devtools::install_github("6Youcai/ABSOLUTE")