mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-28 01:10:05 +08:00
19 lines
188 B
R
19 lines
188 B
R
|
foo <- function(x) {
|
||
|
bar <- function(a, b, c) {
|
||
|
return(a + b + c)
|
||
|
}
|
||
|
return(
|
||
|
bar(
|
||
|
x,
|
||
|
1,
|
||
|
2
|
||
|
)
|
||
|
)
|
||
|
}
|
||
|
|
||
|
baz <- function(l) {
|
||
|
inner(l, function(x) {
|
||
|
|
||
|
})
|
||
|
}
|