Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Fix code snippets

Vasek Mlejnsky357be70ab4c2
diff --git a/apps/web/src/app/(docs)/docs/code-interpreting/supported-languages/r/page.mdx b/apps/web/src/app/(docs)/docs/code-interpreting/supported-languages/r/page.mdx
index 209f7efcd..7f48c3b33 100644
--- a/apps/web/src/app/(docs)/docs/code-interpreting/supported-languages/r/page.mdx
+++ b/apps/web/src/app/(docs)/docs/code-interpreting/supported-languages/r/page.mdx
@@ -6,7 +6,7 @@ You'll need to pass the `language` parameter with value `r`.
import { Sandbox } from '@e2b/code-interpreter'
const sbx = await Sandbox.create()
-const execution = await sbx.runCode('console.log("Hello, world!")', { language: 'r' })
+const execution = await sbx.runCode('print("Hello, world!")', { language: 'r' })
console.log(execution)
```
```python