Hacker News 中文摘要

RSS订阅

Positron:全新数据科学集成开发环境 -- Positron, a New Data Science IDE

文章摘要

Posit公司宣布推出新的数据科学集成开发环境Positron,旨在提升数据科学家的开发体验。Positron将提供更高效的工具和功能,帮助用户更好地管理和分析数据。同时,Posit强调了其网站对用户隐私的重视,详细说明了不同类型Cookie的功能,包括功能性、偏好、统计和营销Cookie,确保用户可以根据需求自定义Cookie设置。

文章总结

Positron:新一代数据科学IDE的发布

2025年8月14日,Posit公司正式发布了Positron,这是一款专为数据科学设计的免费集成开发环境(IDE)。Positron旨在将Python和R语言的数据分析工作流程整合到一个统一的平台中,帮助用户从构思到洞察再到应用的无缝切换。Positron的发布标志着Posit公司在数据科学工具领域的进一步创新。

Positron的背景与目标

Positron的推出源于Posit公司对多语言、开源数据科学的长期承诺。自2022年从RStudio更名为Posit以来,公司逐步扩展了对Python的支持,并推出了Quarto和Shiny for Python等工具。如今,数据科学团队往往同时使用R和Python,甚至在同一项目中混合使用这两种语言。Positron正是为这种多语言环境而设计,目标是创建一个支持现代科学和数据驱动工作的IDE,涵盖多种语言、工具和工作流程。

Positron的核心功能

Positron提供了多项关键功能,旨在提升数据科学家的工作效率: - 变量与数据框探索器:支持交互式过滤、排序和汇总统计,方便用户快速查看数据。 - 多会话控制台:允许用户在不修改源文件的情况下,逐行或逐块运行Python或R代码。 - 笔记本支持:支持R和Python笔记本,用户可以在同一工作区中处理函数、模块和脚本。 - Positron助手:内置的生成式AI助手,能够根据会话上下文提供代码补全、错误调试等帮助。 - 绘图面板:方便用户查看、调整和导出可视化结果。 - 集成数据应用工作流:支持直接启动和调试Shiny、Streamlit、Dash等数据应用。 - 数据库连接面板:允许用户在IDE中浏览和查询本地或远程SQL数据源。 - 一键部署:支持将脚本、报告、数据应用或API一键部署到Posit Connect。 - 解释器管理:轻松切换R和Python环境。 - 扩展支持:兼容数千个VS Code扩展,用户可以根据需求自定义工作流。 - 项目模板:提供预制的Python和R项目模板,帮助用户快速启动新项目。

Positron的发布与未来

Positron桌面版现已免费提供,支持Windows、macOS和Linux系统,采用Elastic License 2.0开源许可证。Posit公司承诺将继续维护和更新RStudio,同时推动Positron的发展。Positron的推出是Posit公司致力于提升数据科学工具易用性和开放性的重要一步。

如何开始使用Positron

  1. 下载Positron桌面版并尝试快速入门指南。
  2. 观看Positron的快速导览视频,了解核心功能。
  3. 参考从VS Code或RStudio迁移的指南。
  4. 加入GitHub社区,分享反馈和想法。
  5. 参加posit::conf(2025)会议,了解更多关于Positron的信息。

Positron的发布标志着数据科学工具的新篇章,Posit公司希望通过这一工具帮助用户更高效地处理数据,推动科学计算的发展。

评论总结

评论总结:

  1. 对Positron的定位与功能的质疑

    • 一些评论认为Positron只是VSCode的重新包装,称其为IDE有些夸大。
      引用
      • "Meh. Another vscode reskin. And calling it IDE is a bit presumptuous." (piskov)
      • "Behold, a free-as-in-beer, source-available program that brands itself as 'free and open source'." (panbd)
    • 部分用户认为其功能与现有工具(如Spyder、RStudio)重叠,缺乏独特优势。
      引用
      • "Not exactly new, but I do think it has promise as a MATLAB replacement for Python. Spyder already does quite a good job at that though." (actinium226)
      • "I'll stick with spyder" (fluorinerocket)
  2. 对Positron的潜力与优势的认可

    • 一些用户认为Positron结合了数据工具、IDE和AI助手,具有潜力。
      引用
      • "Potentially very exciting... a tight integration of good data tools, a good IDE, and modern AI coding assistants is going to be very powerful if posit nails this." (datadrivenangel)
      • "Being able to install Gemini Code Assist is a big plus over RStudio." (xnx)
    • 部分用户已经切换到Positron,并认为其与VSCode的扩展兼容性和AI集成是优势。
      引用
      • "I've been using for over 4 months and I think it's great - both Python and R. Plenty of DS features that make VS Code feel more competent as data exploration tool." (LMKIIW)
      • "The better file explorer, integration with Claude Code, and access to most of my VSCode extensions make it worth it for me." (elsherbini)
  3. 对RStudio用户的吸引力不足

    • 许多R用户对RStudio有强烈的依赖,Positron在R社区中的采用率较低。
      引用
      • "R users mostly seem to hold onto RStudio with a religious conviction so I haven’t really seen much adoption among the target demographic in my circles." (tjburch)
      • "The only thing from keeping me from transitioning from RStudio to Positron is the lack of inline plots in Quarto files." (j_bum)
  4. 对Positron的改进建议与批评

    • 用户希望Positron提供更详细的功能列表,以便更好地评估其价值。
      引用
      • "I wish they had a more exhaustive list of all the features they offer beyond vscode or cursor, otherwise it's hard to evaluate what exactly it brings to the table." (a-dub)
    • 一些用户提到Positron存在bug,如内嵌绘图功能缺失和代码发送到控制台的问题。
      引用
      • "My main gripes with Positron are no inline plots underneath code chunks, and some bugs where sending code to the console from code chunks occasionally stops working until restarting the program." (elsherbini)
  5. 对Positron的商业模式与开源性存疑

    • 有用户质疑Positron选择分叉VSCode而非开发扩展的原因,认为可能是为了更容易商业化。
      引用
      • "Is it easier to monetize when it is a fork?" (ayhanfuat)
    • 也有用户对Positron的开源性表示怀疑,认为其宣传过于夸张。
      引用
      • "These guys' PR is trying too hard." (panbd)

总结:

Positron在数据科学工具领域具有一定的潜力,尤其是在结合AI助手和VSCode扩展方面。然而,其定位和功能与现有工具(如RStudio、Spyder)的重叠,以及一些技术问题(如内嵌绘图缺失和bug),限制了其在R用户中的吸引力。同时,用户对其商业模式和开源性提出了质疑。总体而言,Positron需要进一步明确其独特价值,并解决现有问题,才能赢得更广泛的用户群体。