XIO

xWire

Posts from every feed QUEST has found across the web — blogs, news, podcasts, channels and more.

Posit Community - Latest topics

Latest topics

Quarto 1.11

Quarto 1.11 is out! We released it early to deliver a Deno security update. You can get it from the download page and see the full list of changes in the release notes. This is a companion discussion topic for the original entry at https://opensource.posit.co/blog/2026-11-02_quarto-1-11/ 1 post - 1 participant Read full topic

RStudio can't find R

Hi! I got a new laptop and installed R and R studio. R can open and work when I use it, but only R studio can't open. I installed both programs in default location. I tried to follow https://forum.posit.co/t/rstudio-cant-find-r/208337 but it didn't work. I also tried to uninstall and reinstall R and RStudio, but it didn't work as well. Please give me some suggestions. Thank you a lot. System Information: RStudio Edition: Desktop RStudio Version: 2026.10.1 OS Version: Window 11 R Version: 4.6.2…

Critical: RStudio deleted my whole project after becoming unresponsive while using PositAI

I was editing a script while Posit Assistant (Claude via API key) worked on it, and the R process became unresponsive. R was becoming unresponsive frequently due to a Shiny app issue I was diagnosing. It's common for R to become unresponsive and RStudio offering to terminate R when running a Shiny app in quick sucession. While I was editing the file, Posit Assistant added changes to the same file, too. I was pressing cmd+Z and shift+Z to undo/redo some changes, until RStudio threw an error…

Support for Python 3.15 in Positron

Hi all, due to the security risks related to TLS certificates, we've been asked to update all Python components to the new stable 3.15, together with the uv, conda, certifi and others (cfr Information for Python users regarding eMudhra / emSign CA certificate security incident - Announcements - Discussions on Python.org ). Turns out that 3.15 continues to show up as unsupported in the latest version of Positron. I've seen quite a few issues in the repo that refer to support, but they're still…

All Together Now: Concurrent Async in Shiny for Python

Shiny for Python 1.9 overhauls how the reactive system runs async code, and now uses a concurrency model similar to Shiny for R. This post explains what changed, and shows how much faster an app gets when it awaits slow work. The key changes: This is a companion discussion topic for the original entry at https://opensource.posit.co/blog/2026-10-29_shiny-python-concurrent-async/ 1 post - 1 participant Read full topic

What's the Best Way to Calculate Percentages in R When Working With Grouped Data?

Hi everyone, I'm interested in learning the best way to calculate percentages when working with grouped datasets in R. For example, suppose I have sales data grouped by product category and want to calculate the percentage contribution of each category to total sales. I know this can be done by dividing each category's total by the overall total and multiplying by 100. I'm curious about the approaches people prefer for this kind of task. Would you recommend using dplyr with group_by() and…

TidyTuesday 2020-02-18: Turning a 130-country carbon footprint table into two simple charts

Hi everyone, This is my first TidyTuesday post. It comes from my course Applied Data Science in Organization and Leadership at Teachers College, Columbia University with Prof. Dr. Bowers. I took the 2020 week 8 dataset (Food Consumption and CO2 Emissions, from the nu3 Food Carbon Footprint Index 2018, cleaned for TidyTuesday by Kasia Kulma) and tried to improve on the original visualization. The original The nu3 index is a large ranking table: 130 countries, each with 11 foods and 2 measures…

Posit AI Pass models not appearing in model list

For some reason, the Posit AI models are no longer available in my model selection. They are no longer listed at the top of the models list, and I can only choose from other providers I've connected via API key. My subscription has balance, it just recharged a couple days ago, and since I've been unable to use it. Is this an outage? This is in latest RStudio, 2026.10.0 Build 233. 2 posts - 1 participant Read full topic

apply ggsignif to facet_wrap with interactions

Hi, I have a problem plotting a facet_wrap with interactions on the x-axis while also showing geom_signif comparisons between groups of categories. Below, a subset of the df I'm using: test_ggsig <- structure(list(sample = structure(c(2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L), levels = c("irradiated", "clone4", "clone5", "clone7"), class = "factor"), experiment = structure(c(5L,…

Extra date formats

I'm working on analysis for a very non-technical audience across continents used to different date formats, and I keep wishing lubridate had an option to present dates in a unambiguous format such as DDMMMYYYY (eg. 01JAN2026) or ddmmmyyyy (01Jan2026). It's mostly so we're not constantly guessing what date we're talking about. I'm also working with some old SAS programmers who are like "Oh SAS can just present it this way, how do I do this in R?" I don't know if it's the right use of lubridate?…

Packages have stopped installing successfully

Hello! Over the past few days I have been having issues with my desktop R studio in that several packages I am trying to install are failing and showing me this error: Error in unpackPkgZip(foundpkgs[okp, 2L], foundpkgs[okp, 1L], lib, libs_only, : ERROR: failed to lock directory ‘H:\R-Library\4.6.1’ for modifying Try removing ‘H:\R-Library\4.6.1/00LOCK’ I reinstalled and updated R Studio to the most recent version but seem to still be having the issue. The above error message is relating to the…

A beginner guide to checking AI answers before using them in analysis

A generated explanation can sound reasonable even when the code is wrong. For someone learning R or Python, I would start with a small dataset where the expected result can be checked by hand. Run the suggested code, inspect the rows it keeps, and compare the result with that expectation. A script that runs without errors can still answer the wrong question. Evgenii Arsentev has a plain-language guide on why AI hallucinates. I am sharing it as background reading for people beginning to use…

Changing billing for shinyapps.io from monthly to annual

Hi everyone, My organization would prefer a single billing per year, whereas we are currently only able to pay every month. We subscribed to the standard plan. Last year it was possible to do so, but this year it seems that it is no longer allowed. Is it something that is no longer allowed unless we subscibe to the professional plan ? Thanks in advance for your help 3 posts - 3 participants Read full topic

Unfortunately, you need to care about token caching

How about a little riddle?You’re using your favorite AI agent. The agent responds to you. If you respond right now, your next request will cost a fraction of a cent. If you go and make a coffee before responding, the same request will cost about a cent, roughly 16 times as much. How could that be? This is a companion discussion topic for the original entry at https://opensource.posit.co/blog/2026-10-23_ai-newsletter/ 1 post - 1 participant Read full topic

Recent PHP exploits

Hey folks -- doing some due diligence for my employer. I'm pretty sure most Posit services (shinyapps, Connect Cloud in my case), wouldn't be affected by the PHP exploit. But if they were, just curious if they've been patched already. 3 posts - 3 participants Read full topic

Code working on one table but not on other, wich is identical structure of first one

Hello, In dataset df_2008, all columns with country in are converted to a number, when i change name in code to df_2000, this 3 columns are not encoded in numbers "initiator_country" ,"attributing_country" , "political_response_country" i use the following code df_2000$receiver_country <- lookupcountalliance$index[match(df_2000$receiver_country, lookupcountalliance$countryname)] df_2000$initiator_country <- lookupcountalliance$index[match(df_2000$initiator_country,…

How to create a vector class on top of a matrix which lies in a single data.frame column

Hi, I wanted to ask if it is possible to have a vctrs vector with a matrix or array as its underlying data, but that sits as a single column in a data.frame. Just for context (may be skipped): I am developing a package for Functional Data Analysis, in which the observational unit is a function X_i(t). Most commonly, these functions come discretized over a common grid of values t_1,...,t_J and are thus represented by a data matrix X[i,j]=X_i(t_j) (with observations as rows). This matrix is the…

RE: the eMudhra certificate compromise--understanding response

Folks have likely seen the news about the eMudhra intermediate certificate compromise. Was wondering: Will posit patch the images that shinyapps.io sites run on to update relevant certificate packages and non-R dependencies? what do app owners need to do: restart the container, or more? any other status page or official word i should look for in the future? For context, we have a apps that make calls through httr/curl (email, census, etc.), and as far as i can tell, they're simply using…

A deeper Positron integration for Posit Assistant

In earlier releases of Positron, Posit Assistant’s ability to interact with Positron was mostly limited to the Console and Editor panes. It could run code in Positron, see what that code did, and make changes to your scripts and documents. This alone makes it a powerful data science agent … but we can do better! This is a companion discussion topic for the original entry at https://opensource.posit.co/blog/2026-10-21_assistant-drives-positron/ 1 post - 1 participant Read full topic

Windows binary `PACKAGES` index lists base-recommended packages with `Path:` entries whose directories don't exist (breaks pak/pkgcache installs)

https://packagemanager.posit.co/cran/latest/bin/windows/contrib/4.6/PACKAGES has duplicate records for the 15 base-recommended packages (KernSmooth, MASS, Matrix, boot, class, cluster, codetools, foreign, lattice, mgcv, nlme, nnet, rpart, spatial, survival). Two of the duplicates carry Path: 4.6.2/Recommended and Path: 4.7.0/Recommended. Those directories and their PACKAGES files return 404, and the website shows no such binaries. On R 4.6.x, pak/pkgcache build the download URL from Path: and…

canvasxpress-dashboards — linked, interactive dashboards that deploy behind Posit Connect

Hi all — sharing a tool some of you may find useful alongside your existing Posit stack. Many of you already know CanvasXpress from CRAN (the canvasXpress htmlwidget). I've just released canvasxpress-dashboards, a layer on top of it that composes multiple linked CanvasXpress charts into a single dashboard from one declarative JSON spec — grid layout, data binding, persistence, and a no-code builder. CanvasXpress already handles the hard part (a selection or filter in one chart broadcasts to the…

Positron struggles

Long time Rstudio/R user, new Python/Positron user and having some struggles with Positron (and python). Most my colleagues who use python don't use Postitron, so their help is limited, and my campus IT department doesn't support this program, so they can't help either. So i turn to this community! both my macbook and windows machine have 16G ram. Positron, my .py and .qmd scripts all run just fine. No lag. On my windows machine, I simply open positron and my memory usage goes up by 30%ish. I…

The download link on Posit website for RStudio doesn't work.

My students and I are trying to update to the latest version of RStudio, but we get the following XML page when clicking on the download for the Windows installer: This XML file does not appear to have any style information associated with it. The document tree is shown below. <Error> <Code>NoSuchKey</Code> <Message>The specified key does not exist.</Message> <Key>electron/windows/RStudio-2026.10.0-dev.exe</Key> <RequestId>TXMKZQ0NP2VTZT5T</RequestId> <Hos…

Is Posit Assistant in GA for RStudio and Positron

Hi all, I'm trying to determine if Posit Assistant is Generally Available (GA) or still in Preview for both RStudio and Positron. The Posit Assistant homepage states: "Posit Assistant is an AI coding assistant for data science in Positron. It first became available as a preview feature in Positron 2026.04.0, and as of Positron 2026.07 it ships with Positron as the default AI experience, replacing Positron Assistant and Databot." It's not clear if it is still in preview. Joe Cheng's History of…

Help needed getting posit assistant working again

Hi Everyone, I was wondering if there is someone in the community that could help me get posit assistant working again on my Mac. I have been experimenting with custom models at different levels on my Mac and at some point posit assistant stopped working. It is showing an empty window, or a chat with no models. I tried reinstalling positron and also manually deleting .positassistant folders, but nothing seems to work. I also have an enthropic key that cannot be deleted. I'm affraid I messed…

Great Tables `v1.0.0` and `v1.1.0`: new formatters, conditional styling, multi-column stubs, and richer color scales

Great Tables reached v1.0.0 at the end of September, and v1.1.0 followed only three weeks later. Crossing into 1.x territory means that the library’s core API is settled and that the work ahead consists of extending it rather than reshaping it. The two releases, taken as a whole, move the library forward along three lines: This is a companion discussion topic for the original entry at https://opensource.posit.co/blog/2026-10-19_great-tables-1-1/ 1 post - 1 participant Read full topic