Embedded JavaScript Engine for R

An R interface to Google's open source JavaScript engine. V8 is written in C++ and implements ECMAScript as specified in ECMA-262, 5th edition. In addition, this package implements typed arrays as specified in ECMA 6 used for high-performance computing and libraries compiled with 'emscripten'.


News

1.2

  • Improve configure script to check for the correct version of libv8
  • Fedora 25+ requires v8-314-devel instead of v8-devel

1.1

  • Use C++ 'new' and 'delete' instead of nodelist to keep contexts in scope

1.0.3

  • Update homebrew URL in configure script

1.0.2

  • Update URL of browserify logo

1.0.1

  • Fix internal stop() function for new testthat
  • ctx$eval(character(0)) does not raise error anymore
  • Remove references to new_context() in favor of v8()
  • Use the new 'COMPILED_BY' variable on windows
  • Updated the URL to the V8 homepage in DESCRIPTION

1.0

  • Remove UTF-8 workarounds now that Rcpp has proper UTF-8 support

0.10

  • Add the console.r callback JavaScript api

0.9

  • Fix for OSX cran builder
  • Add 'v8' as a more descriptive alias for 'new_context'
  • Update libv8 on Windows to 3.15
  • Add support for the new windows tool chain

0.8

  • Fix configure script for OSX
  • Add 'v8' as a more descriptive alias for 'new_context'
  • Update libv8 on Windows to 3.15
  • Add support for the new windows tool chain

0.7

  • Deprecated support for I() removed. Use JS() instead
  • Refactored configure script to use pkg-config if available.
  • Updated libv8 brew script on OSX to v8-3.15
  • Update libv8 static builds on windows to v3.14.5.10
  • Ship separate libraries for win32 for more recent compilers

0.6

  • Breaking change: use JS() instead of I() to mark strings as literal JavaScript.
  • ct$source() now always assumes UTF-8 data, even on Windows.
  • Use the new V8_types.h feature from Rcpp 0.11.5
  • Start with custom code completion within ct$console() for R 3.2.0

0.5

  • Add support for Typed Arrays

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("V8")

1.5 by Jeroen Ooms, 7 months ago


https://github.com/jeroen/v8, https://developers.google.com/v8/intro


Report a bug at https://github.com/jeroen/v8/issues


Browse source code at https://github.com/cran/V8


Authors: Jeroen Ooms


Documentation:   PDF Manual  


Task views: Web Technologies and Services


MIT + file LICENSE license


Imports Rcpp, jsonlite, curl, utils

Suggests testthat, knitr, rmarkdown

Linking to Rcpp

System requirements: V8 <= 3.15: libv8-3.14-dev (deb), v8-314-devel (rpm), v8-3.14 (arch), v8@3.15 (homebrew)


Imported by DOT, DiagrammeRsvg, ajv, colormap, concaveman, daff, dagitty, geojsonio, geojsonlint, gfer, js, jsonld, jsonvalidate, lawn, minimist, randomcoloR, rchess, rjade, rmapshaper, suncalc, uaparserjs.

Suggested by RDML, leaflet.esri, leaflet.extras, reactR, shinyjs.

Enhanced by d3r.


See at CRAN