ropensci / tokenizers

Fast, Consistent Tokenization of Natural Language Text
https://docs.ropensci.org/tokenizers
Other
184 stars 25 forks source link

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

Closed sanjesk1 closed 7 years ago

sanjesk1 commented 7 years ago

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)

I am running Rv3.2.3 w Rcpp v12.2

lmullen commented 7 years ago

I don't understand why you are using that system for loading packages. Could you please post the output from running library(tokenizers) in a new R session?

On Wed, Apr 5, 2017 at 11:05 AM sanjesk1 notifications@github.com wrote:

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

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ropensci/tokenizers/issues/41, or mute the thread https://github.com/notifications/unsubscribe-auth/AALNeCWeIlKvdls3OE6Zm1sqTxFTKEGyks5rs62mgaJpZM4M0Ybb .

-- Lincoln Mullen Assistant Professor, Department of History & Art History George Mason University

sanjesk1 commented 7 years ago

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

lmullen commented 7 years ago

Have you run install.packages("tokenizers")?

CRAN should provide a Windows binary.

On Wed, Apr 5, 2017 at 11:41 AM sanjesk1 notifications@github.com wrote:

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

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/ropensci/tokenizers/issues/41#issuecomment-291902929, or mute the thread https://github.com/notifications/unsubscribe-auth/AALNeCkBElbQ9-unU6vpaI8T4eq_kiWFks5rs7Y8gaJpZM4M0Ybb .

-- Lincoln Mullen Assistant Professor, Department of History & Art History George Mason University

sanjesk1 commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

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

sanjeev

lmullen commented 7 years ago

Glad it works.