One - One Code All

Blog Content

R语言使用命令行参数运行R脚本程序

R语言   2010-04-11 23:19:32

终端上:

Rscript args_test.R  AAA BBB


R软件工作区:

setwd(“D:/workspace/R”) #括号中是脚本文件的路径 

source(“test.R”) 



上一篇:python日志系统用logging 代替print
下一篇:Python通过requests模块发送POST请求

The minute you think of giving up, think of the reason why you held on so long.