installationpluginspackagelispracket

Installing packages in Racket


I installed DrRacket, the full version not the minimal but I don't have the packages.

When I run this code:

#lang racket

(provide (all-defined-out))

(require rsound)

(play ding)

It gives me this error:

standard-module-name-resolver: collection not found
  for module path: rsound
  collection: "rsound"
  in collection directories:
   C:\Users\Theodor\AppData\Roaming\Racket\6.3\collects
   C:\Program Files\Racket\collects
   ... [161 additional linked and package directories] in: rsound
  no packages suggestions are available .

In "collects" I have only "catalog.sqlite".

How do I install packages for DrRacket? "Update catalog" didn't work. The other similar questions didn't help.


Solution

  • Author of rsound here. Yes, liweijian got it right, you need to install the package. There are two ways to do this:

    Let me know if you have any problems with this!