https://github.com/dbosak01/logr
An R package to write logs.
https://github.com/dbosak01/logr
log logging logr r tidylog
Last synced: 26 days ago
JSON representation
An R package to write logs.
- Host: GitHub
- URL: https://github.com/dbosak01/logr
- Owner: dbosak01
- Created: 2020-06-28T17:44:55.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-03-26T11:32:03.000Z (8 months ago)
- Last Synced: 2025-03-26T12:31:58.762Z (8 months ago)
- Topics: log, logging, logr, r, tidylog
- Language: HTML
- Homepage:
- Size: 1.42 MB
- Stars: 13
- Watchers: 1
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: NEWS.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
- jimsghstars - dbosak01/logr - An R package to write logs. (HTML)
README
[](https://cran.r-project.org/package=logr)
[](https://cran.r-project.org/package=logr)
[](https://cran.r-project.org/package=logr)
[](https://cran.r-project.org/package=logr)
[](https://github.com/dbosak01/logr/actions)
[](https://app.codecov.io/gh/dbosak01/logr?branch=master)
# Introduction to **logr**

There are already several logging packages for R. Why create another one?
Because the other logging packages all have something in common: they were built
for *R package developers*.
What is different about the **logr** package is
that it is built for *normal R users*: statisticians, analysts, researchers,
students, teachers, business people, etc.
The **logr** package is for those people who just need a written record of their
program execution. It is designed to be as simple as possible, yet still
produce a useful and complete log.
There are only three steps to creating a **logr** log:
1. Open the log
2. Print to the log
3. Close the log
Now this a logging system that anyone can use!
### Installation
The easiest way to install the **logr** package is to run the following
command from your R console:
install.packages("logr")
Then put the following line at the top of your script:
library(logr)
For examples and usage
information, please visit the **logr** documentation site
[here](https://logr.r-sassy.org/articles/logr.html)
### Getting Help
If you need help, the first place
to turn to is the [logr](https://logr.r-sassy.org) web site.
If you want to look at the code for the **logr** package, visit the
github page [here](https://github.com/dbosak01/logr).
If you encounter a bug or have a feature request, please submit an issue
[here](https://github.com/dbosak01/logr/issues).
### See Also
The **logr** package is part of the **sassy** meta-package.
The **sassy** meta-package includes several packages that help make R
easier for SAS® programmers. You can read more about the **sassy** package
[here](https://sassy.r-sassy.org).