# here

> Build file paths relative to your R project's root

Source: https://talira.ai/catalog/here-ycca9mgx
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / filesystem](https://talira.ai/categories/libraries/filesystem), [languages / r](https://talira.ai/categories/languages/r)
- Licence: MIT[^2][^3]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source (MIT).
- Free tier: yes[^1]
- Backed by: [Kirill Müller](https://talira.ai/orgs/kirill-muller.md)

here builds paths to files relative to the top-level directory of an R project, instead of relying on setwd(), which breaks depending on where a script runs. You declare a file's place in the project with i_am() and use here() as a drop-in replacement for file.path(), so scripts and reports in different subdirectories read and write the same files.

## Links

- Website: https://here.r-lib.org/
- GitHub: https://github.com/r-lib/here
- Docs: https://here.r-lib.org/

## Problems it solves

- stop my R scripts breaking when they're run from a different working directory
- refer to data files from R Markdown reports in subfolders of my project
- avoid setwd() calls in shared R analysis projects

## Features

- here() as a drop-in replacement for file.path() relative to the project root
- i_am() to declare a file's relative path in the project
- shows the detected project root on load

## Trust

Overall: 0.46 out of 1.
Signals: maintenance 0.68, adoption 0.53, momentum 0.20, community 0.52, backing 0.30, extensibility 0.00.

- last commit 50 days ago
- 35 commits in the last 90 days
- latest release v1.0.2 14 months ago
- 438 GitHub stars
- 19 contributors
- backed by Kirill Müller

## Sources

[^1]: https://github.com/r-lib/here/blob/main/README.md (checked 29 Nov 2026)
[^2]: https://github.com/r-lib/here/blob/main/DESCRIPTION (checked 29 Nov 2026)
[^3]: https://github.com/r-lib/here/blob/main/LICENSE (checked 29 Nov 2026)
