Privacy & security

LLMs for Data Analysis in R

R/Medicine 2026

Privacy & Security

Model providers vs. LLMs

  • Provider: The company that hosts the model (Anthropic, OpenAI, Google, etc.).

  • LLM: The actual model that generates responses to your queries.

  • LLMs are stateless. They have no memory of your prior requests.

  • However, the model provider may log and store your requests.

You* need to trust your model provider

* or more likely, your organization

  • Know what your model provider does with your data
  • ellmer, querychat, shinychat, etc. will never store your data anywhere. They pass the request directly to your specified model provider.
  • Posit Assistant will only store your data if a) you use Posit as your model provider and b) you opt-in.

The good news

Your organization can work out a zero data retention (ZDR), HIPAA-compliant agreement, or other arrangements with model providers. These arrangements are common.

Learn more

Thank you!