Hi, I am running R/RStudio(Version 1.1.423) on a Linux (Ubuntu 18.10) machine. The system is an intel core i5 based one. I am trying to install the package “V8” but keep running into an error. I am not sure if this package has a version for Ubuntu. Please let me know if anyone can help. Please let me know if any further information would be needed and I will gladly provide the same. The error message is detailed below:
installing source package ‘V8’ …
** package ‘V8’ successfully unpacked and MD5 sums checked
Using PKG_CFLAGS=-I/usr/include/v8-3.14
Using PKG_LIBS=-lv8
------------------------- ANTICONF ERROR ---------------------------
Configuration failed because was not found. Try installing:
brew: v8@3.15 (OSX) – NOT regular v8! Tap from homebrew/versions
csw: libv8_dev (Solaris)
To use a custom libv8, set INCLUDE_DIR and LIB_DIR manually via:
R CMD INSTALL --configure-vars=‘INCLUDE_DIR=… LIB_DIR=…’
ERROR: configuration failed for package ‘V8’
removing ‘/home/raoul/.conda/envs/rstudio/lib/R/library/V8’
Warning in install.packages :
installation of package ‘V8’ had non-zero exit status
The downloaded source packages are in
‘/tmp/RtmpTNZya2/downloaded_packages’
Updating HTML index of packages in ‘.Library’
Making ‘packages.html’ … done
Thanks so much. I did try that and unfortunately, it didnt make a difference. I guess I am doing something wrong somewhere! This is the message on installing using apt-get:
" libv8-3.14-dev is already the newest version (3.14.5.8-11ubuntu1)."
Hi, Thanks so much for your reply. I have Eclipse, but have never used it. I have R installed through Anaconda/RStudio and the session Info is here.
R version 3.5.1 (2018-07-02)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 18.10