Skip to content
Prev 5267 / 12125 Next

[R-pkg-devel] [FWD] [CRAN-pretest-archived] CRAN submission JuliaConnectoR 0.5.0

My case is a little bit different from the use of global variables for data described in the Stackoverflow post.
I import a data base which contains function names of Julia functions from a Julia package.
This is analogous to loading a package in R.
The goal is to make it possible to call Julia functions like R functions.
If you call library(...) in R then the functions contained in the package are also available in the global search path.
In this case it doesn't make sense to use "with".
I am open to suggestions how I can change it to make it better, but the goal is really to be able to write

    juliaUsing("SomeJuliaPackage") # exports myJuliaFunction
    myJuliaFunction()

same as you would write

    library("MyRPackage") # exports myRFunction
    myRFunction()

Best wishes

Stefan
 
----------------urspr?ngliche Nachricht-----------------
Von: Dirk Eddelbuettel [edd at debian.org]
An: Ben Bolker [bbolker at gmail.com]
Kopie: Stefan Lenz IMBI [lenz at imbi.uni-freiburg.de], List r-package-devel [r-package-devel at r-project.org]
Datum: Mon, 6 Apr 2020 09:49:49 -0500
-------------------------------------------------