Jupyter Racket Kernel - iracket

400 views
Skip to first unread message

Graham Dean

unread,
Apr 30, 2018, 3:28:41 PM4/30/18
to Racket Users

I’ve been looking to use Racket in a Jupyter notebook and I came across Ryan Culpepper’s iracket (https://github.com/rmculpepper/iracket).

Unfortunately, it doesn’t work with the latest Jupyter system due to a new client message (comm_info_request) that isn’t handled.

I’ve made some very simply changes that get iracket working again in Jupyter and just in case it’s useful for anyone else it can be found at https://github.com/digsci/iracket.

I should really make a pull request (or at least an issue report to the original I guess.

Graham

Zelphir Kaltstahl

unread,
May 1, 2018, 7:51:41 AM5/1/18
to Racket Users
Ah great to hear that!
At work I deal a lot with the Jupyter ecosystem and I think it has an interesting future. It is good for Racket to be available there. I personally have not used it so much for diagrams and visual things, but maybe some day it will have some similar integration as Jupyter has with the Python ecosystem and its libraries. Or maybe there will be another language build with Racket for that purpose.

John Clements

unread,
May 1, 2018, 12:56:58 PM5/1/18
to Graham Dean, Racket Users
Yes! You should!

Many thanks for your work,

John Clements
> --
> You received this message because you are subscribed to the Google Groups "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to racket-users...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



Graham Dean

unread,
May 1, 2018, 3:33:01 PM5/1/18
to Racket Users
PR submitted :)

Ryan Culpepper

unread,
May 3, 2018, 7:39:23 AM5/3/18
to Graham Dean, Racket Users
On 05/01/2018 09:33 PM, Graham Dean wrote:
> PR submitted :)

PR merged. Thanks!

Ryan

Graham Dean

unread,
May 4, 2018, 2:57:42 AM5/4/18
to Racket Users
Pleasure Ryan. Thanks for developing iracket, it's really useful for me to demonstrate on-going work using Racket.

Graham

Arie Schlesinger

unread,
Jun 23, 2019, 3:10:40 AM6/23/19
to Racket Users
Hi,
I am trying to install racket for jupyter on a mac, and from the github it is not clear for me how to do it.  
I use Dr Racket,  still running "raco pkg install iracket" is not recognized in the mac shell.

Thanks,
Ari

John Clements

unread,
Jun 26, 2019, 4:09:32 AM6/26/19
to Arie Schlesinger, Racket Users
It may be that ‘raco’ is not in your path. An alternative is to use the “Package Manager” that’s built into DrRacket, under “File>Package Manager…” to install libraries such as iracket.
> --
> You received this message because you are subscribed to the Google Groups "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to racket-users...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/e58716f9-f60f-48a7-a2bf-d79d477880a0%40googlegroups.com.

Arie Schlesinger

unread,
Jun 26, 2019, 1:39:10 PM6/26/19
to John Clements, Racket Users
Hi,
I installed iracket on Dr Racket, but still can not run raco pkg install iracket and not racket -l iracket/install to enable racket on jupyter .

thanks

Thomas Dickerson

unread,
Jun 26, 2019, 2:05:20 PM6/26/19
to Racket Users
Let's say you have DrRacket 7.3 installed. Then your raco and racket executables are in "/Applications/Racket 7.3/bin". You can either specify the full path manually, or add that to your PATH by editing your .bashrc.


On Wednesday, June 26, 2019 at 1:39:10 PM UTC-4, Arie Schlesinger wrote:
Hi,
I installed iracket on Dr Racket, but still can not run raco pkg install iracket and not racket -l iracket/install to enable racket on jupyter .

thanks

On Wed, Jun 26, 2019 at 11:09 AM John Clements <clem...@brinckerhoff.org> wrote:
It may be that ‘raco’ is not in your path. An alternative is to use the “Package Manager” that’s built into DrRacket, under “File>Package Manager…” to install libraries such as iracket.

> On Jun 23, 2019, at 09:10, Arie Schlesinger <arie.sc...@gmail.com> wrote:
>
> Hi,
> I am trying to install racket for jupyter on a mac, and from the github it is not clear for me how to do it. 
> I use Dr Racket,  still running "raco pkg install iracket" is not recognized in the mac shell.
>
> Thanks,
> Ari
>
> On Friday, May 4, 2018 at 9:57:42 AM UTC+3, Graham Dean wrote:
> Pleasure Ryan. Thanks for developing iracket, it's really useful for me to demonstrate on-going work using Racket.
> Graham
>
>
> --
> You received this message because you are subscribed to the Google Groups "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to racket...@googlegroups.com.

Thomas Dickerson

unread,
Jun 26, 2019, 2:06:03 PM6/26/19
to Racket Users
Sorry - typo. that should be "Racket v7.3"

Arie Schlesinger

unread,
Jun 26, 2019, 3:00:41 PM6/26/19
to Thomas Dickerson, Racket Users
thanks,
the installation worked ! But there is a kernel error when I open it with racket cells

To unsubscribe from this group and stop receiving emails from it, send an email to racket-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/38defbd0-3107-4a5a-be3f-fc43960494d0%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages