SCM

SCM Repository

[inlinedocs] Annotation of /pkg/inlinedocs/inst/testfiles/returnlist.R
ViewVC logotype

Annotation of /pkg/inlinedocs/inst/testfiles/returnlist.R

Parent Directory Parent Directory | Revision Log Revision Log


Revision 154 - (view) (download)

1 : tdhock 154 f <- function # title
2 :     ### description
3 :     (x, ##<< arg x
4 :     y
5 :     ### arg y
6 :     ){
7 :     ##value<< a list with elements
8 :     list(x=x, ##<< original x value
9 :     y=y, ##<< original y value
10 :     sum=x+y) ##<< their sum
11 :     ##end<<
12 :     }
13 :    
14 :     .result <-
15 :     list(f = list(definition = "f <- function # title\n### description\n(x, ##<< arg x\n y\n### arg y\n ){\n ##value<< a list with elements\n list(x=x, ##<< original x value\n y=y, ##<< original y value\n sum=x+y) ##<< their sum\n ##end<<\n}",
16 :     description = "description", `item{y}` = "arg y", `item{x}` = "arg x",
17 :     value = "a list with elements\n\\item{x}{original x value}\n\\item{y}{original y value}\n\\item{sum}{their sum}",
18 :     title = "title", format = ""))

R-Forge@R-project.org
ViewVC Help
Powered by ViewVC 1.0.0  
Thanks to:
Vienna University of Economics and Business University of Wisconsin - Madison Powered By FusionForge