Skip to content

[R-pkg-devel] Making possible the use of external java codes by downloading it

1 message · Rainer M Krug

#
Pleas keep the list in CC so that they know tat you have a solution. Thanks.

There is the function ?Sys.which()? which returns the full path to an executable. Although in many cases correct, it can be that Java is installed but not in the path. So I have a variable called ?java.path? which is used when java is called - the default is set to `java.path <- Sys.which("java?)`

Plesase see https://github.com/rkrug/plantuml/blob/dev/R/aaa.R <https://github.com/rkrug/plantuml/blob/dev/R/aaa.R> and https://github.com/rkrug/plantuml/blob/dev/R/options.R <https://github.com/rkrug/plantuml/blob/dev/R/options.R> how I implemented it.
--
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)

Orcid ID: 0000-0002-7490-0066

Department of Evolutionary Biology and Environmental Studies
University of Z?rich
Office Y34-J-74
Winterthurerstrasse 190
8075 Z?rich
Switzerland

Office:	+41 (0)44 635 47 64
Cell:       	+41 (0)78 630 66 57
email:      Rainer.Krug at uzh.ch
		Rainer at krugs.de
Skype:     RMkrug

PGP: 0x0F52F982