Skip to content
Back to formatted view

Raw Message

Message-ID: <CB9E3E13-C558-4813-965F-59ACB9535040@krugs.de>
Date: 2020-07-03T08:33:15Z
From: Rainer M Krug
Subject: [R-pkg-devel] Making possible the use of external java codes by downloading it
In-Reply-To: <45330124.94581060.1593764129400.JavaMail.zimbra@univ-fcomte.fr>

Please check out the recent thread "Proper CRAN way - How to handle dependency of java jar file?? About a week ago - I asked essentially the same questions.

Cheers,

Rainer



> On 3 Jul 2020, at 10:15, Paul SAVARY <paul.savary at univ-fcomte.fr> wrote:
> 
> Hello everyone,
> 
> I would like to include external java codes (.jar files) to a package in order to speed up some computations.
> However, this would increase the package size above 5 Mb and this code would not be working for users without java installation. 
> 
> Instead, I could include a default parameter in the function calling another R package making the same computation but more slowly. It would be best for users without java on their computer.
> Besides, I could allow users to download the external java code from a stable url, and include in the R function all the arguments to launch this java code (wrapper for the java code). When downloaded, the jar file should be copied directly into the extdata directory in the user computer if possible.
> 
> Does it seem feasible to you? 
> 
> Many thanks 
> Regards
> Paul
> 
> ______________________________________________
> R-package-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel

--
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




	[[alternative HTML version deleted]]