#!/usr/bin/env Rscript # 获取命令行参数 args <- commandArgs(trailingOnly = TRUE) # 打印参数 print(args)