DSP Project first push, date: 29/01/2026

This commit is contained in:
Sok Ponlork
2026-01-29 14:31:48 +07:00
parent 951262afb3
commit 644b624d2d
1857 changed files with 163516 additions and 0 deletions

18
r_scripts/data_summary.R Normal file
View File

@@ -0,0 +1,18 @@
# r_scripts/data_summary.R
# This script is a simple version for testing the PHP runner.
args <- commandArgs(trailingOnly = TRUE)
data_file_path <- args[1]
params_json <- args[2]
# Just print the received arguments to confirm they are passed correctly.
cat(jsonlite::toJSON(
list(
message = "R script ran successfully!",
data_file = data_file_path,
params_received = params_json
),
pretty = TRUE,
auto_unbox = TRUE
))