GAP on Jupyter Notebook

596 Views Asked by At

I wanted to learn GAP as it is certain that it will be helpful in the future for my research.

I wanted to try GAP in Jupyter notebook in GitHub. I have tried following the step i.e. launch binder and I have reached the example page. When I write GAP trial it gives me an error. So it looks like I am missing some step. Can someone please help me with what I need to do.

I have very little knowledge on coding and new on GitHub. So I would deeply appreciate any insights and tips.

1

There are 1 best solutions below

0
On

As everyone suggested in the comments, gap> is a GAP prompt, it should not be part of the input.

Note that using this example of GAP Jupyter notebook you do not actually run GAP Jupyter notebook on GitHub - instead, it will be executed on the service called Binder. GitHub only stores the content of repositories, so saying "try GAP in Jupyter notebook in GitHub" is imprecise.

This question is not really on-topic here, but the GAP tag on Stackoverflow gets low attention, so for technical questions on GAP, I suggest to use GAP support channels mentioned in the gap tag description here. For the GAP Jupyter notebooks, you can submit issues to the GitHub repository of the JupyterKernel package. I will likely see such questions in any of these places.

On the other hand, I could imagine this question evolving into a more on-topic discussion about sharing reproducible computational experiments in GAP in a form of Jupyter notebooks runnable on Binder - you may find a template repository and links to several examples using it here.

Glad to see an interest in GAP - I am also one of the authors of the Carpentries-style lesson "Programming with GAP. It is intended for beginners, and hopefully you may find it useful.

Finally, after trying GAP Jupyter notebooks online to see if this is something you may find useful, you may decide to proceed with downloading and installing GAP locally from https://www.gap-system.org/Releases/, and using it via its default command line interface (or, in addition, install Jupyter and run GAP Jupyter notebooks locally too - may be easier to keep your work in permanent place and not in a transient instance on Binder, where it will disappear after it's closed).