Re: [R] distinguishing input objects for a function

2012-10-03 Thread Duncan Murdoch
On 12-10-03 1:59 AM, ishi soichi wrote: platform x86_64-apple-darwin9.8.0 arch x86_64 os darwin9.8.0 system x86_64, darwin9.8.0 version.string R version 2.13.1 (2011-07-08) I am trying to write a function that takes a few objects as input. test <- function(di

[R] distinguishing input objects for a function

2012-10-02 Thread ishi soichi
platform x86_64-apple-darwin9.8.0 arch x86_64 os darwin9.8.0 system x86_64, darwin9.8.0 version.string R version 2.13.1 (2011-07-08) I am trying to write a function that takes a few objects as input. test <- function(directory, num = 1:100) { > } the argument