{"id":26898388,"url":"https://github.com/thoughtscript/statistics_fun_2025","last_synced_at":"2025-10-08T06:53:49.782Z","repository":{"id":283121990,"uuid":"950324880","full_name":"Thoughtscript/statistics_fun_2025","owner":"Thoughtscript","description":"Statistics","archived":false,"fork":false,"pushed_at":"2025-03-18T16:46:01.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-20T10:36:56.660Z","etag":null,"topics":["docker","r","rstudio","statistics"],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Thoughtscript.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-18T01:37:46.000Z","updated_at":"2025-05-13T00:36:21.000Z","dependencies_parsed_at":"2025-03-18T17:47:24.484Z","dependency_job_id":"05355f7f-d529-4187-8580-d4c1315b09b2","html_url":"https://github.com/Thoughtscript/statistics_fun_2025","commit_stats":null,"previous_names":["thoughtscript/statistics_fun_2025"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Thoughtscript/statistics_fun_2025","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thoughtscript%2Fstatistics_fun_2025","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thoughtscript%2Fstatistics_fun_2025/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thoughtscript%2Fstatistics_fun_2025/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thoughtscript%2Fstatistics_fun_2025/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Thoughtscript","download_url":"https://codeload.github.com/Thoughtscript/statistics_fun_2025/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thoughtscript%2Fstatistics_fun_2025/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278903034,"owners_count":26065786,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["docker","r","rstudio","statistics"],"created_at":"2025-04-01T05:46:52.033Z","updated_at":"2025-10-08T06:53:49.767Z","avatar_url":"https://github.com/Thoughtscript.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"# statistics_fun_2025\r\n\r\n[![](https://img.shields.io/badge/r-4.4.3-red.svg)](https://intro2r.com/)\r\n[![](https://img.shields.io/badge/rocker-rstudio-teal.svg)](https://rocker-project.org/images/versioned/rstudio.html)\r\n[![](https://img.shields.io/badge/Docker-blue.svg)](https://www.docker.com/) \r\n[![](https://img.shields.io/badge/ASU%20MAT-142-crimson.svg)](https://math.asu.edu/mat142)\r\n\r\n*Fun with Statistics* - Docker Container for running *R* scripts. \r\n\r\n\u003e Taking [ASU's MAT 142](https://math.asu.edu/mat142) as a prereq (since I tested out of all Math requirements last time around).\r\n\r\n## Set Up and Installation\r\n\r\n1. First launch the **Container**:\r\n    ```bash\r\n    docker-compose up\r\n\r\n    # If using Docker Compose Engine V2:\r\n    docker compose up\r\n    ```\r\n1. Then open: http://localhost:8787/ with **Username**: `rstudio` and **Password**: `password`.\r\n1. Run the `init.r` script first (to download all needed dependencies).\r\n1. The code samples will appear within the `home/rstudio` default workspace (under `examples`). (Highlight the entire file to run an example. Will work with **R Visualizations**.)\r\n    * `R` apparently uses different relative file paths depending on which tool you run `.r` scripts with.\r\n    * As such, you may need to prepend `examples/` when [importing](./r/examples/example_imports.r) data files, modules, or scripts.\r\n2. The samples can also be run using `run.sh` from `home/rstudio` within the **Container** (**Exec**, although this method will not render **R Visualization** in **Terminal**).\r\n\r\n\r\n\u003e Uses `Rscript` to print to Docker System Out and [Rocker](https://github.com/rocker-org/rocker) for Dockerization.\r\n\r\n## Resources and Links\r\n\r\n1. https://intro2r.com/data-types.html\r\n2. https://www.w3schools.com/r\r\n3. https://stackoverflow.com/questions/18306362/run-r-script-from-command-line\r\n4. https://cran.r-project.org/doc/contrib/Short-refcard.pdf\r\n5. https://stackoverflow.com/questions/6558921/difference-between-boolean-operators-and-and-between-and-in-r\r\n6. https://www.geeksforgeeks.org/how-to-import-data-from-a-file-in-r-programming/\r\n7. https://cran.r-project.org/web/packages/modules/vignettes/modulesInR.html","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthoughtscript%2Fstatistics_fun_2025","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthoughtscript%2Fstatistics_fun_2025","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthoughtscript%2Fstatistics_fun_2025/lists"}