{"id":32203350,"url":"https://github.com/fdavidcl/yarr","last_synced_at":"2026-02-19T23:01:11.718Z","repository":{"id":56936780,"uuid":"185954064","full_name":"fdavidcl/yarr","owner":"fdavidcl","description":"Yet another ARFF reader","archived":false,"fork":false,"pushed_at":"2022-05-26T18:51:41.000Z","size":58,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-22T04:40:10.454Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://deivi.ch/yarr/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fdavidcl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-10T08:52:36.000Z","updated_at":"2022-05-26T18:51:45.000Z","dependencies_parsed_at":"2022-08-21T05:50:49.939Z","dependency_job_id":null,"html_url":"https://github.com/fdavidcl/yarr","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/fdavidcl/yarr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fdavidcl%2Fyarr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fdavidcl%2Fyarr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fdavidcl%2Fyarr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fdavidcl%2Fyarr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fdavidcl","download_url":"https://codeload.github.com/fdavidcl/yarr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fdavidcl%2Fyarr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29636035,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T22:32:43.237Z","status":"ssl_error","status_checked_at":"2026-02-19T22:32:38.330Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-22T04:38:01.654Z","updated_at":"2026-02-19T23:01:11.673Z","avatar_url":"https://github.com/fdavidcl.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"yarr\n====\n\n*Yet Another ARFF Reader*\n\n[![R language](https://img.shields.io/badge/language-R-lightgrey.svg)](https://www.r-project.org/)\n[![Downloads](https://cranlogs.r-pkg.org/badges/yarr)](https://cranlogs.r-pkg.org/downloads/total/last-month/yarr)\n[![GPL v3 license](https://img.shields.io/github/license/fdavidcl/yarr.svg)](https://www.gnu.org/licenses/gpl.html)\n\n---\n\nSo you need to read an ARFF file. You can use:\n\n- `foreign::read.arff`, but only on dense format.\n- `farff::readARFF`, but only on dense format.\n- `RWeka::read.arff`, but you need to configure Java.\n\n`yarr::read.arff` can read dense **and sparse** ARFF files, and it's implemented in pure R.\n\nThe implementations in R are derivatives of those in [`mldr`](https://github.com/fcharte/mldr) and [`mldr.datasets`](https://github.com/fcharte/mldr.datasets), packages for management of multilabel learning datasets.\n\n\n### Usage\n\n```r\ninstall.packages(\"yarr\")\n# or the most recent version:\n# remotes::install_github(\"fdavidcl/yarr\")\nlibrary(yarr)\ndownload.file(\"https://www.openml.org/data/download/1681111/phpEUwA95\", \"dexter.arff\")\ndexter \u003c- read.arff(\"dexter.arff\")\ndexter\n# An ARFF dataset: dexter\n# 20001 attributes and 600 instances\n#   V0: numeric (min = 0, mean = 0.12, max = 72) 0, 0, 0, 0, 0...\n#   V1: numeric (min = 0, mean = 0, max = 0) 0, 0, 0, 0, 0...\n#   V2: numeric (min = 0, mean = 0, max = 0) 0, 0, 0, 0, 0...\n#   V3: numeric (min = 0, mean = 1.165, max = 427) 0, 0, 0, 0, 0...\n#   V4: numeric (min = 0, mean = 0.57, max = 342) 0, 0, 0, 0, 0...\n#   V5: numeric (min = 0, mean = 0.386666666666667, max = 116) 0, 0, 0, 0, 0...\n#   V6: numeric (min = 0, mean = 0, max = 0) 0, 0, 0, 0, 0...\n#   V7: numeric (min = 0, mean = 0.448333333333333, max = 121) 0, 0, 0, 0, 0...\n#   V8: numeric (min = 0, mean = 0.358333333333333, max = 84) 0, 0, 0, 0, 0...\n#   ...\n#   class: {-1,1} (-1: 300, 1: 300) 1, 1, 1, -1, 1...\nrelation(dexter)\n# [1] \"dexter\"\nwrite.arff(dexter, \"dexter-new.arff\")\n```\n\n### Supported features\n\n- Dense format\n- Sparse format (`{index value}`, e.g. `{0 1, 20 1}`)\n- Missing values with `?`\n- MEKA parameter `c` in `@relation`.\n\n### Unsupported features\n\n- Date attributes are read as mere strings\n- Relational attributes are not supported\n- Instance weights\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffdavidcl%2Fyarr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffdavidcl%2Fyarr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffdavidcl%2Fyarr/lists"}