posit-dev / ark

Ark, an R kernel
MIT License
176 stars 14 forks source link

Ark, an R Kernel

Ark is an R kernel for Jupyter applications. It was created to serve as the interface between R and the Positron IDE and is compatible with all frontends implementing the Jupyter protocol.

Ark aims to provide a complete set of reusable and interoperable tools for implementing IDEs for R:

The LSP and DAP features are currently only available in Positron but will be made available to other frontends in the future.

Usage

In Positron

The easiest way to try Ark without any installation or configuration is by running it in Positron. This is currently the only practical way to use the more advanced features of Ark that are provided by our LSP and DAP; this will change in the future as we continue to invest in Ark.

In Jupyter applications

Download a release of Ark to a location of your choice, such as /usr/local/bin/ark on macOS or Linux. Then install the Jupyter kernel specification file with:

$ ark --install

[!NOTE] Ark is currently not signed and notarized, so on macOS you will likely need to go to System Settings -> Privacy and Security -> Click Allow Anyways for ark, otherwise macOS will prevent you from running it. We are working on improving this. This does not apply when using the version of ark bundled within Positron.

Ark should now be available in jupyter applications, e.g. in Jupyter Lab:

Or at the command line (if Jupyter Console is installed):

$ jupyter console --kernel=ark

Reporting issues

We currently use the issue tracker of Positron. Please report bugs and feature requests at https://github.com/posit-dev/positron/issues.

Related Projects

Code of Conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

License

Copyright (C) Posit Software, PBC. All rights reserved.

Ark is licensed under the MIT License.