Open Hz-EMW opened 7 years ago
The best way is to use devtools package:
install.packages("devtools")
After that you can use install form cran or github:
install_cran('text2vec')
install_github('dselivanov/text2vec')
@jeroenooms actually seems the problem is in non standard Rtools installation.
On the one hand, I only change the install directoty from "c:\Rtools" to "D:\Rtools", and no other change(to reduce the space ocupation in system drive). On the other hand, I have only PCs with Windows7 and Windows8.1 OS, devtools couldn't run on it(devtools will prompt to use Rtools). Now I'm using Rtools3.4, would it be better if I change into Rtools3.3?
Is gcc
in your path?
I'm using the default setting in the path, they are "D:\Rtools\bin" and "D:\Rtools\mingw_64\bin". The latter one has changed into "mingw_64" to fit my 64bit OS, otherwise, it may not work after compile. And gcc is in the latter route "D:\Rtools\mingw_64\bin".
@Hz-EMW I will release 0.4 on CRAN soon (first week of October).
Dear Maintainers: I am a new user of Rtools, I’m sorry to bothering you for the odds I encountered during package compiling. However, I still can’t find way out after learned every materials I could get about this and asked online. So you are my last hope. I tried to compile new version of text2vec. I install Rtools3.4 on my system in D:\Rtools directory, and let it write system path. but I still couldn’t compile the text2vec-0.4 package. When I run Rcmd, it find g++ in “c:/Rtools/”. But all my set in system path is right, this is the message of compiling:
I asked this question on stackoverflow, but didn’t get the solution. So I build the mirror directory of Rtools in drive C and copy the g++ into it. However, it doesn’t work and “rcmd” call another tool----“gcc” in "d:/Compiler/gcc-4.9.3/local330/include" at this time. In fact, gcc is in the same directory with g++, in the “D:/Rtools/mingw_64/bin/”. Rcmd call the tools of Rtools in different directories, what should I do for this? (following message gathered after I copy g++ into c:/Rtools/mingw_64/bin/)
I wonder if you could give me some advice on package compiling with Rtools. I would be most grateful if you could reply at your earliest convenience. Looking forward to hearing from you. Thank you very much. Sincerely yours Humphrey Zhao