Skip to content
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

Trouble installing package "tokenizers" on R v3.2.3 #41

Closed
sanjesk1 opened this issue Apr 5, 2017 · 7 comments
Closed

Trouble installing package "tokenizers" on R v3.2.3 #41

sanjesk1 opened this issue Apr 5, 2017 · 7 comments

Comments

@sanjesk1
Copy link

sanjesk1 commented Apr 5, 2017

I downloaded tokenizers_0.1.4.zip and tried installing from the local zip file. I get the following error message during installation.

"> local({pkg <- select.list(sort(.packages(all.available = TRUE)),graphics=TRUE)

  • if(nchar(pkg)) library(pkg, character.only=TRUE)})
    Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
    namespace ‘Rcpp’ 0.12.2 is already loaded, but >= 0.12.3 is required
    In addition: Warning message:
    package ‘tokenizers’ was built under R version 3.4.0
    Error: package or namespace load failed for ‘tokenizers’ "

I am running Rv3.2.3 w Rcpp v12.2

@lmullen
Copy link
Member

lmullen commented Apr 5, 2017 via email

@sanjesk1
Copy link
Author

sanjesk1 commented Apr 5, 2017

I cannot see the package in the install menu. Hence, downloaded and installed from local directory. Trying to redo. Thanks

@lmullen
Copy link
Member

lmullen commented Apr 5, 2017 via email

@sanjesk1
Copy link
Author

sanjesk1 commented Apr 5, 2017

downloaded an older release and installed using local zip file. Result of 'library(tokenizers)'

library(tokenizers)
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
namespace ‘Rcpp’ 0.12.2 is being loaded, but >= 0.12.3 is required
In addition: Warning message:
package ‘tokenizers’ was built under R version 3.2.5
Error: package or namespace load failed for ‘tokenizers’

@sanjesk1
Copy link
Author

sanjesk1 commented Apr 5, 2017

yes, that was the first thing I had done. Results below.

install.packages("tokenizers")
Installing package into ‘C:/Users/IBM_ADMIN/Documents/R/win-library/3.2’
(as ‘lib’ is unspecified)
Warning message:
package ‘tokenizers’ is not available (for R version 3.2.3)

@sanjesk1
Copy link
Author

sanjesk1 commented Apr 5, 2017

upgraded R to 3.2.5. Installed "tokenizers" successfully. Thanks for your help.

sanjeev

@lmullen
Copy link
Member

lmullen commented Apr 5, 2017

Glad it works.

@lmullen lmullen closed this as completed Apr 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants