-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The problem for installing #186
Comments
Please provide |
Thank you for your help! And my R information is:
locale: attached base packages: loaded via a namespace (and not attached): After update the g++ version, text2vec package also can't be installed, the new problems appear.
most of WARNING is 'dynamic exception specifications are deprecated in C++11 [-Wdeprecated]' Hope your help. Thanks |
The problem has been solved! After I installed 'Rcpp11' package in R, the 'text2vec' package can be installed. |
Hi everyone, I am a young ivorian statistician having just discovered your R package. I have a problem to install text2vec. I am using an XPS 15 with ubuntu 16.04 LTS with Microsoft Revolution Open 3.3.3 installed. My problem is that i get an error when I try to install the "text2vec" R package on my machine. The error message i get is below : `* installing source package ‘text2vec’ ...
This one is the result of a sessionInfo() : locale: attached base packages: other attached packages: loaded via a namespace (and not attached): Thanks in advance for your help. |
@noahsark1117 Seems like not |
I try to install text2vec on rstudio-server, but it shows error massage:
Installing package into ‘/home/rstudio/R/x86_64-redhat-linux-gnu-library/3.3’
(as ‘lib’ is unspecified)
URL’https://cran.rstudio.com/src/contrib/text2vec_0.4.0.tar.gz'
Content type 'application/x-gzip' length 3433916 bytes (3.3 MB)
downloaded 3.3 MB
** libs
g++ -m64 -std=c++0x -I/usr/include/R -DNDEBUG -I/usr/local/include -I"/home/rstudio/R/x86_64-redhat-linux-gnu-library/3.3/Rcpp/include" -I"/home/rstudio/R/x86_64-redhat-linux-gnu-library/3.3/RcppParallel/include" -I"/home/rstudio/R/x86_64-redhat-linux-gnu-library/3.3/digest/include" -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c GloveFitter.cpp -o GloveFitter.o
g++ -m64 -std=c++0x -I/usr/include/R -DNDEBUG -I/usr/local/include -I"/home/rstudio/R/x86_64-redhat-linux-gnu-library/3.3/Rcpp/include" -I"/home/rstudio/R/x86_64-redhat-linux-gnu-library/3.3/RcppParallel/include" -I"/home/rstudio/R/x86_64-redhat-linux-gnu-library/3.3/digest/include" -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c HashCorpus.cpp -o HashCorpus.o
In file included from Corpus.h:17,
from HashCorpus.h:17,
from HashCorpus.cpp:17:
SparseTripletMatrix.h: In member function ‘SEXPREC* SparseTripletMatrix::get_sparse_triplet_matrix(Rcpp::CharacterVector&, Rcpp::CharacterVector&)’:
SparseTripletMatrix.h:102: ERROR:expected initializer before ‘:’ token
SparseTripletMatrix.h:111: ERROR:expected ‘)’ before ‘;’ token
In file included from HashCorpus.cpp:17:
HashCorpus.h: In member function ‘void HashCorpus::insert_terms(std::vector<std::basic_string<char, std::char_traits, std::allocator >, std::allocator<std::basic_string<char, std::char_traits, std::allocator > > >&, int)’:
HashCorpus.h:120: ERROR:expected initializer before ‘:’ token
HashCorpus.cpp:33: ERROR:expected primary-expression at end of input
HashCorpus.cpp:33: ERROR:expected ‘;’ at end of input
HashCorpus.cpp:33: ERROR:expected primary-expression at end of input
HashCorpus.cpp:33: ERROR:expected ‘)’ at end of input
HashCorpus.cpp:33: ERROR:expected statement at end of input
HashCorpus.cpp:33: ERROR:expected ‘}’ at end of input
In file included from Corpus.h:17,
from HashCorpus.h:17,
from HashCorpus.cpp:17:
SparseTripletMatrix.h: In member function ‘SEXPREC* SparseTripletMatrix::get_sparse_triplet_matrix(Rcpp::CharacterVector&, Rcpp::CharacterVector&) [with T = float]’:
HashCorpus.h:76: instantiated from here
SparseTripletMatrix.h: In member function ‘SEXPREC* SparseTripletMatrix::get_sparse_triplet_matrix(Rcpp::CharacterVector&, Rcpp::CharacterVector&) [with T = int]’:
HashCorpus.h:81: instantiated from here
make: *** [HashCorpus.o] ERROR 1
ERROR: compilation failed for package ‘text2vec’
Warning in install.packages :
installation of package ‘text2vec’ had non-zero exit status
The text was updated successfully, but these errors were encountered: