Giter Site home page Giter Site logo

Comments (3)

fabian-s avatar fabian-s commented on July 21, 2024

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")

from rlrsim.

zhaoni153 avatar zhaoni153 commented on July 21, 2024

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

  • installing source package 'RLRsim' ...
    ** package 'RLRsim' successfully unpacked and MD5 sums checked
    ** libs
    g++ -I/nas02/apps/r-2.14.0/lib64/R/include -I/usr/local/include
    -I"/nas02/apps/r-2.14.0/lib64/R/library/Rcpp/include" -fpic -g -O2 -c
    RLRsim.cpp -o RLRsim.o
    g++ -I/nas02/apps/r-2.14.0/lib64/R/include -I/usr/local/include
    -I"/nas02/apps/r-2.14.0/lib64/R/library/Rcpp/include" -fpic -g -O2 -c
    RcppExports.cpp -o RcppExports.o
    RcppExports.cpp: In function 'SEXPREC* RLRsim_RLRsimCpp(SEXPREC_, SEXPREC_,
    SEXPREC_, SEXPREC_, SEXPREC_, SEXPREC_, SEXPREC_, SEXPREC_, SEXPREC_,
    SEXPREC_, SEXPREC_)':
    RcppExports.cpp:15: error: 'input_parameter' is not a member of
    'Rcpp::traits'
    RcppExports.cpp:15: error: expected primary-expression before 'int'
    RcppExports.cpp:15: error: expected ;' before 'int' RcppExports.cpp:16: error: 'input_parameter' is not a member of 'Rcpp::traits' RcppExports.cpp:16: error: expected primary-expression before 'int' RcppExports.cpp:16: error: expected;' before 'int'
    RcppExports.cpp:17: error: 'input_parameter' is not a member of
    'Rcpp::traits'
    RcppExports.cpp:17: error: expected primary-expression before 'int'
    RcppExports.cpp:17: error: expected ;' before 'int' RcppExports.cpp:18: error: 'input_parameter' is not a member of 'Rcpp::traits' RcppExports.cpp:18: error: expected primary-expression before 'int' RcppExports.cpp:18: error: expected;' before 'int'
    RcppExports.cpp:19: error: 'input_parameter' is not a member of
    'Rcpp::traits'
    RcppExports.cpp:19: error: expected primary-expression before 'int'
    RcppExports.cpp:19: error: expected ;' before 'int' RcppExports.cpp:20: error: 'input_parameter' is not a member of 'Rcpp::traits' RcppExports.cpp:20: error: expected primary-expression before 'int' RcppExports.cpp:20: error: expected;' before 'int'
    RcppExports.cpp:21: error: 'input_parameter' is not a member of
    'Rcpp::traits'
    RcppExports.cpp:21: error: expected primary-expression before '>' token
    RcppExports.cpp:21: error: '::type' has not been declared
    RcppExports.cpp:21: error: expected ;' before 'mu' RcppExports.cpp:22: error: 'input_parameter' is not a member of 'Rcpp::traits' RcppExports.cpp:22: error: expected primary-expression before '>' token RcppExports.cpp:22: error: '::type' has not been declared RcppExports.cpp:22: error: expected;' before 'lambda'
    RcppExports.cpp:23: error: 'input_parameter' is not a member of
    'Rcpp::traits'
    RcppExports.cpp:23: error: expected primary-expression before 'double'
    RcppExports.cpp:23: error: expected ;' before 'double' RcppExports.cpp:24: error: 'input_parameter' is not a member of 'Rcpp::traits' RcppExports.cpp:24: error: expected primary-expression before '>' token RcppExports.cpp:24: error: '::type' has not been declared RcppExports.cpp:24: error: expected;' before 'xi'
    RcppExports.cpp:25: error: 'input_parameter' is not a member of
    'Rcpp::traits'
    RcppExports.cpp:25: error: expected primary-expression before 'bool'
    RcppExports.cpp:25: error: expected `;' before 'bool'
    RcppExports.cpp:26: error: 'p' was not declared in this scope
    RcppExports.cpp:26: error: 'k' was not declared in this scope
    RcppExports.cpp:26: error: 'n' was not declared in this scope
    RcppExports.cpp:26: error: 'nsim' was not declared in this scope
    RcppExports.cpp:26: error: 'g' was not declared in this scope
    RcppExports.cpp:26: error: 'q' was not declared in this scope
    RcppExports.cpp:26: error: 'mu' was not declared in this scope
    RcppExports.cpp:26: error: 'lambda' was not declared in this scope
    RcppExports.cpp:26: error: 'lambda0' was not declared in this scope
    RcppExports.cpp:26: error: 'xi' was not declared in this scope
    RcppExports.cpp:26: error: 'REML' was not declared in this scope
    make: *_* [RcppExports.o] Error 1
    ERROR: compilation failed for package 'RLRsim'
  • removing '/netscr/nzhao/Dissertation/Rlib/RLRsim'
    Warning message:
    In
    install.packages("/netscr/nzhao/Dissertation/software/RLRsim_3.0.tar.gz", :
    installation of package
    '/netscr/nzhao/Dissertation/software/RLRsim_3.0.tar.gz' had non-zero exit
    status

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 [email protected]
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
#3 (comment).

from rlrsim.

fabian-s avatar fabian-s commented on July 21, 2024

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

from rlrsim.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.