首页    期刊浏览 2024年09月15日 星期日
登录注册

文章基本信息

  • 标题:Passing in Command Line Arguments and Parallel Cluster/Multicore Batching in R with batch
  • 本地全文:下载
  • 作者:Thomas J. Hoffmann
  • 期刊名称:Journal of Statistical Software
  • 印刷版ISSN:1548-7660
  • 电子版ISSN:1548-7660
  • 出版年度:2011
  • 卷号:39
  • 期号:1
  • 页码:1-11
  • 语种:English
  • 出版社:University of California, Los Angeles
  • 摘要:It is often useful to rerun a command line R script with some slight change in the parameters used to run it - a new set of parameters for a simulation, a different dataset to process, etc. The R package batch provides a means to pass in multiple command line options, including vectors of values in the usual R format, easily into R. The same script can be setup to run things in parallel via different command line arguments. The R package batch also provides a means to simplify this parallel batching by allowing one to use R and an R-like syntax for arguments to spread a script across a cluster or local multicore/multiprocessor computer, with automated syntax for several popular cluster types. Finally it provides a means to aggregate the results together of multiple processes run on a cluster.
国家哲学社会科学文献中心版权所有