A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/Lisp-Stat/IPS below:

Lisp-Stat/IPS9: Examples from the book Introduction to the Practice of Statistics

IPS9 - Introduction to the Practice of Statistics

From the book Introduction to the Practice of Statistics
Explore the docs »

Report Bug · Request Feature · View Outputs

  1. About the Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Resources
  6. Contributing
  7. License
  8. Contact

This repository contains:

You only need the tools if you are developing documention for Lisp-Stat, otherwise you will be using the generated image.

Click on the link above to launch the notebook on mybinder.org. This is probably the option you want.

Codespaces is a recent offering that allows you to run devcontainer online (they offer 60 free hours per month) Use this option if you want to run from VS Code, though you can also use the JupyterLab interface on Codespaces. If it's not obvious how to access Jupyter Lab, see the step-by-step instructions in the cl-jupyter-image (the base image for this repo).

This image is based on Jupyter Docker Stacks and using the image is well documented there, but with an important difference: that is a base image. Here you need to build/run from the Dockerfile, but since we only layer on the statistical computing machinery, the stopping/starting/user/etc. is all the same.

For a quickstart:

# From the directory where Dockerfile is...
docker build -t ips9 .

Now you've built the image locally with the name (tag) 'ips9' and it will behave just like any other Jupyter Docker Stacks image. You can start by following the instructions for running the containers. For example:

docker run -it --rm -p 10000:8888 -v "${PWD}":/home/jovyan/work ips9

This command starts your container running a Jupyter Server and exposes the server on host port 10000. The server logs appear in the terminal and include a URL to the Server but with the internal container port (8888) instead of the correct host port (10000). It will mount the current directory into work/ of the image.

See the open issues for a list of proposed features (and known issues). We will include additional examples in the chapter order of the book

This system is part of the Lisp-Stat project; that should be your first stop for information. Also see the

community page for more information.

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated. Please see CONTRIBUTING for details on the code of conduct, and the process for submitting pull requests.

Distributed under the MS-PL License. See LICENSE for more information.

Project Link: https://github.com/lisp-stat/IPS

VS Code vs. Jupyter Notebooks

Unless you are working on Lisp Stat or common-lisp-jupyter, you can ignore this section.

common-lisp-jupyter (JupyterLab) and VS Code take different approaches to cell execution, and there isn't (yet) a good VS Code extension for Common Lisp. If you run a notebook in VS Code you should set the cell language to 'clojure', which is the closest language for which VS Code does have support. You'll lose some of the Common Lisp syntax highlighting, but the cells will run. Here's a detailed explanation of the differences:

VS Code's approach allows for:

JupyterLab's simpler approach:

VS Code's approach:

In JupyterLab with a Common Lisp kernel:

In VS Code:


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4