Not able to install V8 package on ubuntu?

Viewed 4368

I am trying to install V8 package on ubuntu but i am getting below error:

Warning in install.packages :
  installation of package ‘V8’ had non-zero exit status

Any help would be appreciated! :)

2 Answers

You need some system dependencies. V8 depends on the R package curl. To resolve curl's system dependencies, open a terminal via CTRL-Alt-T and use

sudo apt install libcurl4-openssl-dev

V8 itself also has a system dependency which you can resolve after opening a terminal and using

sudo apt install libv8-dev

Try this

Sys.setenv(DOWNLOAD_STATIC_LIBV8=1)
install.packages("V8")

Source :- here

Related