Title: | Gentle Language Installer for R User |
Version: | 0.2.4 |
Description: | Provides install functions of other languages such as 'java', 'python'. |
License: | MIT + file LICENSE |
Encoding: | UTF-8 |
URL: | https://github.com/mrchypark/multilinguer |
BugReports: | https://github.com/mrchypark/multilinguer/issues |
RoxygenNote: | 7.2.1 |
Imports: | sys, rappdirs, usethis, askpass |
Depends: | R (≥ 2.10) |
NeedsCompilation: | no |
Packaged: | 2022-08-12 16:32:22 UTC; mrchypark |
Author: | Chanyub Park |
Maintainer: | Chanyub Park <mrchypark@gmail.com> |
Repository: | CRAN |
Date/Publication: | 2022-08-12 16:40:02 UTC |
multilinguer: Gentle Language Installer for R User
Description
Provides install functions of other languages such as 'java', 'python' for Windows and MacOS. (Trying to Linux or Solaris.)
Author(s)
Maintainer: Chanyub Park mrchypark@gmail.com (ORCID)
See Also
Useful links:
Report bugs at https://github.com/mrchypark/multilinguer/issues
Install jdk
Description
Install openjdk
which is one of openjdk(java) distro.
Case of MacOS
, remove all java and reinstall corretto
version 11.
Usage
install_jdk(
path = jdk_path(),
version = "11",
gui = TRUE,
run = "ask",
force = FALSE
)
install_java(
path = jdk_path(),
version = "11",
gui = TRUE,
run = "ask",
force = FALSE
)
Arguments
path |
String; The location where jdk is (or should be) installed. See
jdk_path for more details on the default path used by |
version |
String; Jdk version. Now only support "11". check inst/jdk.yaml. |
gui |
Boolean; Some jdk supports os native installer. User can use
the gui when in interactive mode and use |
run |
c("ask","yes","no");If set "yes", installation proccess start. Default is "ask" to user. |
force |
Boolean; force install when is TRUE. Default is FALSE. |
See Also
Other jdk-installer:
jdk_path()
,
remove_jdk()
Other jdk-installer:
jdk_path()
,
remove_jdk()
Examples
## Not run:
install_java()
install_jdk()
## End(Not run)
java available check
Description
java available check
Usage
java_available()
jdk_available()
Examples
java_available()
jdk path
Description
The path to the Jdk installation to use. By default, an OS-specific
path is used. If you'd like to instead set your own path, you can set the
MULTILINGUER_JDK_PATH
environment variable.
Usage
jdk_path()
Details
You need to make sure you have permission when setting the path with MULTILINGUER_JDK_PATH
.
See Also
Other jdk-installer:
install_jdk()
,
remove_jdk()
Examples
jdk_path()
Remove Jdk
Description
Uninstall jdk from this package.
Usage
remove_jdk(path = jdk_path())
uninstall_jdk(path = jdk_path())
Arguments
path |
The path in which jdk is installed. |
See Also
Other jdk-installer:
install_jdk()
,
jdk_path()
Other jdk-installer:
install_jdk()
,
jdk_path()
Examples
## Not run:
remove_jdk()
uninstall_jdk()
## End(Not run)