external-language-output

Community

Return R/Python/Julia results to Out[]

Authortransreal
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It prevents external-language cells from producing empty or missing Mathematica Out[] results by enforcing consistent value-return patterns across R, Python, and Julia.

Core Features & Use Cases

  • R output control: Ensures R code returns values via the final expression (e.g., using list() instead of relying on print/cat) so results appear in Out[].
  • Multi-value return formatting: Defines how to return compound results in Julia (e.g., tuples) and Python (e.g., dictionaries) so they map cleanly into Mathematica structures.
  • Mathematica ExternalLanguage compatibility: Targets code intended for Mathematica ExternalLanguage cells and aligns the last-expression behavior with what Mathematica expects.

Quick Start

Ask Claude to generate ExternalLanguage code for your target language (R, Python, or Julia) and make sure the final expression returns the values in the pattern that will display in Mathematica's Out[].

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: external-language-output
Download link: https://github.com/transreal/claudecode/archive/main.zip#external-language-output

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.