ellmer AI技能包 是 AI Skill Hub 本期精选AI工具之一。综合评分 7.5 分,整体质量较高。我们推荐使用将其纳入你的 AI 工具库,帮助提升工作效率。
ellmer AI技能包 是一款基于 R 开发的开源工具,专注于 R语言、LLM、API 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
ellmer AI技能包 是一款基于 R 开发的开源工具,专注于 R语言、LLM、API 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
# 克隆仓库 git clone https://github.com/tidyverse/ellmer cd ellmer # 查看安装说明 cat README.md # 按 README 完成环境依赖安装后即可使用
# 查看帮助 ellmer --help # 基本运行 ellmer [options] <input> # 详细使用说明请查阅文档 # https://github.com/tidyverse/ellmer
# ellmer 配置说明 # 查看配置选项 ellmer --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export ELLMER_CONFIG="/path/to/config.yml"
ellmer makes it easy to use large language models (LLM) from R. It supports a wide variety of LLM providers and implements a rich set of features including streaming outputs, tool/function calling, structured data extraction, and more.
ellmer is one of a number of LLM-related packages created by Posit:
- Looking for something similar in python? Check out chatlas! - Want to evaluate your LLMs? Try vitals. - Need RAG? Take a look at ragnar. - Want to make a beautiful LLM powered chatbot? Consider shinychat. - Working with MCP? Check out mcptools.
You can install ellmer from CRAN with:
r
install.packages("ellmer")
In most circumstances, ellmer will stream the output to the console. You can take control of this by setting the echo argument either when creating the chat object or when calling $chat(). Set echo = "none" to return a string instead:
r
my_function <- function() {
chat <- chat_openai("Be terse", model = "gpt-4o-mini", echo = "none")
chat$chat("What is 6 times 7?")
}
str(my_function())
#> 'ellmer_output' chr "6 times 7 is 42."
If needed, you can manually control this behaviour with the echo argument. This is useful for programming with ellmer when the result is either not intended for human consumption or when you want to process the response before displaying it.
方便调用LLM API的R语言工具
该工具使用 NOASSERTION 协议,商用场景请仔细阅读协议条款,必要时咨询法律意见。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
📄 NOASSERTION — 请查阅原始协议条款了解具体使用限制。
经综合评估,ellmer AI技能包 在AI工具赛道中表现稳健,质量良好。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | ellmer |
| 原始描述 | 开源AI工具:Call LLM APIs from R。⭐602 · R |
| Topics | R语言LLMAPI |
| GitHub | https://github.com/tidyverse/ellmer |
| License | NOASSERTION |
| 语言 | R |
收录时间:2026-05-30 · 更新时间:2026-05-30 · License:NOASSERTION · AI Skill Hub 不对第三方内容的准确性作法律背书。