requireR: Loads given files and modularizes the given function

Description Usage Arguments Examples

Description

Loads given files and modularizes the given function

Usage

1

Arguments

...

A set of filenames, and/or ending with the modularizable function.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
## Not run: 
#hello.R
requireR(function() {
  "hello"
})

#world.R
requireR(function() {
  "world"
})

requireR(
  "hello.R",
   "world.R",
   function(hello, world) {
     paste(hello, world)
   })

## End(Not run)

requireR documentation built on May 2, 2019, 3:36 p.m.