install.phantom: Saves Absolute Path to PhantomJS

View source: R/install.phantom.R

install.phantomR Documentation

Saves Absolute Path to PhantomJS

Description

takes the path to executable 'phantomJS' binary and memorizes its absolute path for future calls. PhantomJS binary can be downloaded from http://phantomjs.org/download.html

Usage

install.phantom(path)

Arguments

path

Path to executable 'phantomJS' binary, downloadble from http://phantomjs.org/download.html

Value

The function does not return anything

Author(s)

E. F. Haghish
Medical Informatics and Biostatistics (IMBI)
University of Freiburg, Germany
haghish@imbi.uni-freiburg.de

Department of Mathematics and Computer Science
University of Southern Denmark
haghish@imada.sdu.dk

Examples

## Not run: 
#save the absolute path to phantomJS by giving relative path
install.phantom("./bin/phantomjs")

#save the absolute path to phantomJS
install.phantom("c:\phantomjs\bin\phantomjs")

#convert JPEG to PDF
convertGraph("./example.jpeg", "./example.pdf", path = "path to executable phantomJS" )

## End(Not run)


haghish/convertGraph documentation built on Aug. 30, 2022, 6:47 p.m.