fabian-s / RLRsim

R package for fast & exact (restricted) likelihood ratio tests for mixed and additive models
12 stars 4 forks source link

installation from source file failed #3

Closed zhaoni153 closed 10 years ago

zhaoni153 commented 10 years ago

Dear Fabian,

When I tried to install from source file in my linux machine using install.packages("PATH/RLRsim_3.0.tar.gz", repos = NULL, type="source") Error message reported as

*\ arch - i386 ERROR: compilation failed for package 'RLRsim'

However, intallation using the windows binary works for my windows machine. What might be the reason?

Thanks a lot. Ni

fabian-s commented 10 years ago

weird...

can you send the sessionInfo() before this happens and the complete output of

install.packages("PATH/RLRsim_3.0.tar.gz", repos = NULL, type="source")

zhaoni153 commented 10 years ago

Sure.

sessionInfo() R version 2.14.0 (2011-10-31) Platform: x86_64-unknown-linux-gnu (64-bit)

locale: [1] LC_CTYPE=en_US.iso885915 LC_NUMERIC=C [3] LC_TIME=en_US.iso885915 LC_COLLATE=en_US.iso885915 [5] LC_MONETARY=en_US.iso885915 LC_MESSAGES=en_US.iso885915 [7] LC_PAPER=C LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C [11] LC_MEASUREMENT=en_US.iso885915 LC_IDENTIFICATION=C

attached base packages: [1] stats graphics grDevices utils datasets methods base

And the complete output:

inferring 'repos = NULL' from the file name

Weirdly I successfully installed the package using my husband's laptop, which is also a linux machine. Here I attached the sessionInfor for that machine (which successfully installed the package):

R version 3.1.1 (2014-07-10) Platform: x86_64-unknown-linux-gnu (64-bit)

locale: [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C [3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 [5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 [7] LC_PAPER=en_US.UTF-8 LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C

attached base packages: [1] stats graphics grDevices utils datasets methods base

other attached packages: [1] RLRsim_3.0

loaded via a namespace (and not attached): [1] Rcpp_0.11.2

Thanks a lot for your quick response.

Ni

On Fri, Aug 15, 2014 at 9:27 AM, Fabian Scheipl notifications@github.com wrote:

weird...

can you send the sessionInfo() before this happens and the complete output of

install.packages("PATH/RLRsim_3.0.tar.gz", repos = NULL, type="source")

— Reply to this email directly or view it on GitHub https://github.com/fabian-s/RLRsim/issues/3#issuecomment-52327424.

fabian-s commented 10 years ago

Seems like RLRSim needs a more recent Rcpp than the one you have, and that, in turn, means you'll need to install a more recent R with version > 3.0.0, I'm afraid. You're on 2.14.1, CRAN is at 3.1.1