Closed zhaoni153 closed 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")
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
;' 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: 'inputparameter' 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'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.
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
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