Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword or section
Like this
2Activity

Table Of Contents

0 of .
Results for:
No results containing your search query
P. 1
R-exts

R-exts

Ratings:

4.5

(2)
|Views: 104 |Likes:
Published by arahul1k1

More info:

Published by: arahul1k1 on Jul 07, 2009
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

05/11/2014

pdf

text

original

 
Writing R Extensions
Version 2.9.1 (2009-06-26)
R Development Core Team
 
Permission is granted to make and distribute verbatim copies o this manual provided the copy-right notice and this permission notice are preserved on all copies.Permission is granted to copy and distribute modied versions o this manual under the condi-tions or verbatim copying, provided that the entire resulting derived work is distributed underthe terms o a permission notice identical to this one.Permission is granted to copy and distribute translations o this manual into another language,under the above conditions or modied versions, except that this permission notice may bestated in a translation approved by the R Development Core Team.Copyrightc
1999–2009 R Development Core TeamISBN 3-900051-11-9
 
i
Table o Contents
Acknowledgements
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11 Creating R packages
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2
1.1 Package structure
.................................................................
21.1.1 The
DESCRIPTION
’ le
........................................................
31.1.2 The
INDEX
’ le
...............................................................
61.1.3 Package subdirectories
........................................................
61.1.4 Package bundles
..............................................................
91.2 Congure and cleanup
............................................................
101.2.1 Using
Makevars
............................................................
121.2.1.1 Back-compatibility
......................................................
131.2.2 Congure example
...........................................................
141.2.3 Using F95 code
..............................................................
161.3 Checking and building packages
..................................................
161.3.1 Checking packages
...........................................................
161.3.2 Building packages
...........................................................
181.3.3 Customizing checking and building
...........................................
191.4 Writing package vignettes
........................................................
201.5 Submitting a package to
CRAN
...................................................
211.6 Package name spaces
.............................................................
211.6.1 Speciying imports and exports
..............................................
221.6.2 Registering S3 methods
......................................................
231.6.3 Load hooks
..................................................................
231.6.4 An example
.................................................................
251.6.5 Summary – converting an existing package
...................................
261.6.6 Name spaces with ormal classes and methods
................................
261.7 Writing portable packages
........................................................
271.7.1 Encoding issues
.............................................................
281.8 Diagnostic messages
..............................................................
291.9 Internationalization
..............................................................
301.9.1 C-level messages
.............................................................
301.9.2 R messages
..................................................................
311.10 CITATION les
.................................................................
311.11 Package types
...................................................................
321.11.1 Frontend
...................................................................
321.11.2 Translation
.................................................................
321.12 Services
.........................................................................
2 Writing R documentation les
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.1 Rd ormat
........................................................................
342.1.1 Documenting unctions
......................................................
352.1.2 Documenting data sets
......................................................
382.1.3 Documenting S4 classes and methods
........................................
392.1.4 Documenting packages
.......................................................
402.2 Sectioning
........................................................................
402.3 Marking text
.....................................................................
402.4 Lists and tables
..................................................................

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->