An R wrapper to the Julia word2vec.jl pacakge.

Word2Vec Clustering

Installation

Being a wrapper to a Julia package, word2vec.r requires the latter to be installed.

# install.packages("remotes")
remotes::install_github("news-r/word2vec.r") # github

Setup

You must run setup_word2vec at the begining of every session, you will otherwise encounter errors and be prompted to do so.

word2vec.r::setup_word2vec() # setup word2vec Julia dependency
#> Julia version 1.1.1 at location /home/jp/Downloads/julia-1.1.1-linux-x86_64/julia-1.1.1/bin will be used.
#> Loading setup script for JuliaCall...
#> Finish loading setup script for JuliaCall.