Type: | Package |
Title: | Useful Libraries for Building a Java Based GUI under R |
Version: | 1.1-0 |
Author: | Kornelius Rohmeyer (R package), see COPYRIGHTS file for the authors of the java libraries |
Maintainer: | Kornelius Rohmeyer <rohmeyer@small-projects.de> |
Description: | Useful libraries for building a Java based GUI under R are provided. |
Depends: | R (≥ 2.8.0) |
Suggests: | rJava, knitr |
VignetteBuilder: | knitr |
SystemRequirements: | Java (>= 8.0) |
License: | GPL-2 |
Copyright: | See COPYRIGHTS file |
URL: | http://gsrmtp.r-forge.r-project.org/ |
RoxygenNote: | 7.2.3 |
NeedsCompilation: | no |
Packaged: | 2024-03-22 23:02:50 UTC; kornel |
Repository: | CRAN |
Date/Publication: | 2024-03-23 22:12:37 UTC |
Useful libraries for building a Java based GUI under R
Description
Useful libraries for building a Java based GUI under R
Details
Package: | CommonJavaJars |
Type: | Package |
License: | GPL-2 |
Since the CommonJavaJars package has relatively big library files (~ 7MByte) and should rarely be updated to save space in the CRAN archive.
Note
We provide the following Java libraries:
Apache Commons Logging under the Apache License, Version 2.0, January 2004, https://commons.apache.org/logging/, Copyright 2001-2007 The Apache Software Foundation
Apache jog4j 2 under Apache License 2.0, https://logging.apache.org/log4j/2.x/, Copyright 1999-2005 The Apache Software Foundation
Apache Commons Lang under Apache License 2.0, https://commons.apache.org/lang/, Copyright 2001-2011 The Apache Software Foundation
Apache Commons Collections under the Apache License, Version 2.0, January 2004, https://commons.apache.org/collections/, Copyright 2001-2008 The Apache Software Foundation
Apache Commons Validator under the Apache License, Version 2.0, January 2004, https://commons.apache.org/validator/, Copyright 2001-2010 The Apache Software Foundation
Apache Commons IO under the Apache License, Version 2.2 (last compatible with JDK 1.5), 2004, https://commons.apache.org/io/, Copyright 2002-2012 The Apache Software Foundation
JLaTeXMath under GPL >= 2.0, https://forge.scilab.org/index.php/p/jlatexmath/, Copyright 2004-2007, 2009 Calixte, Coolsaet, Cleemput, Vermeulen and Universiteit Gent
iText 2.1.4 under LGPL, https://itextpdf.com/, Copyright by Bruno Lowagie
SwingWorker under LGPL, formerly
https://java.net/projects/swingworker/
, Copyright (c) 2005 Sun MicrosystemsJXLayer under BSD License, formerly
https://java.net/projects/jxlayer/
, Copyright 2006-2009, Alexander PotochkinJGoodies Forms and Commons under BSD License, http://www.jgoodies.com/freeware/libraries/forms/, Copyright JGoodies Karsten Lentzsch
JSON Processing dual licensed under CDDL 1.1 and GPL 2 with Classpath Exception, https://javaee.github.io/jsonp/, Copyright (c) 2011-2013 Oracle
AFCommons under the LGPL >= 2.1, https://github.com/kornl/afcommons/, Copyright (c) 2007-2014 by Kornelius Rohmeyer, Bernd Bischl, Santhosh Kumar T (ComponentTitledBorder class), Jerry Huxtable (filter code), Sebastian Haufe (JListDnD class), Romain Guy (Star class), Oracle (CloseTabPanel)
JHLIR under BSD License, https://jhlir.r-forge.r-project.org/, Copyright (c) 2008-2010 by Bernd Bischl and Kornelius Rohmeyer
JRIEngine and REngine under LGPL-2.1, https://www.rforge.net/rJava/, Copyright 2010 by Simon Urbanek. Please use these two jar files only if package rJava does not provide them.
Author(s)
Kornelius Rohmeyer (author only of two libraries and of the R code for loading them), see the copyright note for the authors of the other java libraries.
Maintainer: Kornelius Rohmeyer rohmeyer@small-projects.de
Examples
## Not run:
showGuideForJavaGUIs()
## End(Not run)
Registers all Java classes from the specified jar files from this package.
Description
Registers all Java classes from the specified jar files from this package.
Usage
loadJars(jars, java="J5")
Arguments
jars |
A character vector containing the names of the jar files to load. Since the version numbers of the jar files in CommonJavaJars can change, best practice is to specify only an unambiguous part of the name, if there are no reasons not to use the latest version. See the example section. |
java |
This character string specifies the Java version all jar files should be compatible with.
For example JGoodies Forms requires Java 6 in version 1.6.0.
The default |
Details
Registers all Java classes from the specified jar files from this package. An error is thrown if no matching jar file could be found for some of the specified jars.
Value
The function returns the full names (sometimes including the version number) of the loaded jar files. (Invisible character vector.)
Author(s)
Kornelius Rohmeyer rohmeyer@small-projects.de
Examples
## Not run:
jars <- c("commons-collections", "commons-lang", "commons-logging",
"commons-validator", "forms", "iText", "jhlir.jar",
"jlatexmath", "jxlayer", "log4j", "swing-worker")
fullNames <- loadJars(jars)
fullNames
## End(Not run)