Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High level API? #15

Closed
datnamer opened this issue Jan 13, 2015 · 4 comments
Closed

High level API? #15

datnamer opened this issue Jan 13, 2015 · 4 comments

Comments

@datnamer
Copy link

Looks like it is shaping up to be a great package. Thanks for spearheading this.

Are there plans for a more julian like higher level API maybe using macros?

@dmbates
Copy link
Member

dmbates commented Jan 13, 2015

Can you expand on what you would like such an API to be?

@datnamer
Copy link
Author

Perhaps I'm having trouble parsing the documentation owing to my lack of R experience, but I was thinking of something like this: http://rpy.sourceforge.net/rpy2/doc-2.4/html/robjects_functions.html#robjects-functions

@lgautier
Copy link

Check the importr here:
https://github.com/lgautier/Rif.jl/blob/master/README.md

@palday
Copy link
Collaborator

palday commented Jun 22, 2020

@datnamer See #287 and @rimport:

help?> @rimport
  Import an R Package as a Julia module. For example,

  @rimport ggplot2

  is equivalent to ggplot2 = rimport("ggplot2") with error checking.

  You can also use classic Python syntax to make an alias: @rimport *package-name* as *shorthand*

  @rimport ggplot2 as gg

  which is equivalent to gg = rimport("ggplot2").

@palday palday closed this as completed Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants