Yield, Performance, Profitability
11 / PDF Solutions Inc.
Obtaining Source Code For R 
!
www.r-project.org """" CRAN """" (select a 
repository) 
!
For R:  
Conversion of pdf to ppt online - control Library platform:C# Create PDF from PowerPoint Library to convert pptx, ppt to PDF in C#.net, ASP.NET MVC, WinForms, WPF
Online C# Tutorial for Creating PDF from Microsoft PowerPoint Presentation
www.rasteredge.com
Conversion of pdf to ppt online - control Library platform:VB.NET Create PDF from PowerPoint Library to convert pptx, ppt to PDF in vb.net, ASP.NET MVC, WinForms, WPF
VB.NET Tutorial for Export PDF file from Microsoft Office PowerPoint
www.rasteredge.com
Yield, Performance, Profitability
Obtaining Source Code For A Package
!
Load CRAN in 
browser
• Click “Packages” 
link
• 1700 objects 
including 
packages (as of 
2009-03-11)
Find the 
package of 
interest by first 
letter 
• click name 
12 / PDF Solutions Inc.
control Library platform:Online Convert PowerPoint to PDF file. Best free online export
by clicking on the blue button or drag-and-drop your pptx or ppt file into Then just wait until the conversion from Powerpoint to PDF is complete
www.rasteredge.com
control Library platform:How to C#: Convert PDF, Excel, PPT to Word
How to C#: Convert PDF, Excel, PPT to Word. Online C# Tutorial for Converting PDF, MS-Excel, MS-PPT to Word. PDF, MS-Excel, MS-PPT to Word Conversion Overview.
www.rasteredge.com
Yield, Performance, Profitability
“lme4” Package  
!
Package pages contain 
links to:
Package dependencies
• Package source
• Package binaries
• Reference manual
Archives for old source 
tarballs
• Maintainer contact info
• And, if applicable,
•Project URL
•Task Views
Vignettes
13 / PDF Solutions Inc.
control Library platform:C# PDF Convert: How to Convert MS PPT to Adobe PDF Document
merge PDF files, VB.NET view PDF online, VB.NET PDF Convert: How to Convert MS PPT to Adobe Provide Free Demo Code for PDF Conversion from Microsoft PowerPoint
www.rasteredge.com
control Library platform:C# Tiff Convert: How to Convert PDF, Word, Excel, PowerPoint, Jpeg
can perform rapid and high quality file conversion between PPT and PDF PDF to Tiff Conversion. transform and convert Tiff image file to Adobe PDF document, then
www.rasteredge.com
Yield, Performance, Profitability
14 / PDF Solutions Inc.
Using An Installed Package 
!
help(package = fortunes) or library(help = 
fortunes)
to get an overview of package capabilities 
!
library(fortunes) 
• to attach it as the second in the search path 
!
?fortune 
• to get ‘help’ on the function ‘fortune’
> fortune('RTFM')
This is all documented in TFM. Those who WTFM don't want 
to have to WTFM again on the mailing list. RTFM.
-- Barry Rowlingson
R-help (October 2003)
control Library platform:How to C#: Convert Word, Excel and PPT to PDF
to C#: Convert Word, Excel and PPT to PDF. Online C# Tutorial for Converting MS Office Word, Excel and PowerPoint to PDF. MS Office to PDF Conversion Overview.
www.rasteredge.com
control Library platform:C# TIFF: Learn to Convert MS Word, Excel, and PPT to TIFF Image
C# TIFF - Conversion from Word, Excel, PPT to TIFF. Learn How to Change MS Word, Excel, and PowerPoint to TIFF Image File in C#. Overview
www.rasteredge.com
Yield, Performance, Profitability
15 / PDF Solutions Inc.
“DierckxSpline” Package 
!
Click
• Download to your hard 
drive 
• Unzip
control Library platform:VB.NET PowerPoint: Convert & Render PPT into PDF Document
This VB.NET PowerPoint to PDF conversion tutorial will illustrate our effective PPT to PDF converting control SDK from following aspects.
www.rasteredge.com
control Library platform:VB.NET PowerPoint: Complete PowerPoint Document Conversion in VB.
to use our VB.NET PowerPoint Conversion Control to image or document formats, such as PDF, BMP, TIFF documents that can be converted from PPT document, please
www.rasteredge.com
Yield, Performance, Profitability
16 / PDF Solutions Inc.
“DierckxSpline” Package Contents 
!
data sets 
!
files not checked by ‘R CMD check’
!
Help files 
!
R function definition files 
!
source code in Fortran, C, C++, ... 
!
Package description 
!
Names to be exported 
!
Not all packages have all of these 
!
Some packages have others  
!
Ultimate documentation = source code 
!
debug” function:  walk through R code line by line until 
we understand what it does;  “browser” for check points 
control Library platform:VB.NET PowerPoint: PPTX to SVG Conversion; Render PPT to Vector
add-on allows developers to perform high-quality PPT (.pptx) to svg conversion in both to provide powerful & profession imaging controls, PDF document, tiff
www.rasteredge.com
Yield, Performance, Profitability
17 / PDF Solutions Inc.
Outline 
!
Installing R and R Packages 
!
Obtaining source code 
!
Creating R packages 
• Why? 
• How to create?  
How to check?  
• How to share?  
!
Establishing and Maintaining Local R Archive 
Networks 
!
Using Subversion (SVN) 
Yield, Performance, Profitability
18 / PDF Solutions Inc.
Why Create R Packages
!
Productivity 
• Tripled my software development productivity overnight 
• Help file with examples first;  code to these examples 
“R CMD check” finds when new changes break previous 
tests 
• Version control 
!
Quality:  
• Examples = unit testing 
http://en.wikipedia.org/wiki/Unit_test
•Chambers’ “Prime Directive”:  Trustworthy software 
(2008) Software for Data Analysis (Springer) 
as well as documentation 
!
Easy to share results 
!
Easy to understand what I did a couple of years ago 
Yield, Performance, Profitability
How to Create an R Package 
!
Copy existing package(s) 
!
“package.skeleton” function 
!
“Writing R Extensions” manual 
• http://cran.r-project.org/doc/manuals/R-exts.pdf
!
Other references:
• Rossi, Peter (2006) Making R Packages under Windows
http://faculty.chicagogsb.edu/peter.rossi/research/bayes%20book/bayesm/Making%20R%20Packages%20Under%20W
, accessed 2008.11.02
Leisch, Friedrich (2008) Creating R Packages: A Tutorial
http://epub.ub.uni-muenchen.de/6175/
!
R-devel listserve (r-devel@stat.math.ethz.ch )
19 / PDF Solutions Inc.
Rolf Turner: In the middle of a Saturday morning (in my Time Zone!) I send out a plea for help, 
and in just over 20 minutes my problem is solved! I don't think you get service like that 
anywhere else. This R-help list is BLOODY AMAZING!
Spencer Graves: 'The sun never sets on the (former) British Empire.' Today, it never sets on 
R-Help.
-- Rolf Turner and Spencer Graves
R-help (May 2005)
Yield, Performance, Profitability
Package Directory Structure
!
packageName
• DESCRIPTION – describes the package contents
man – Rd help files
• R – R code files
• NAMESPACE – defines the package name space
• data – contains files with data (txt, csv, rda)
• inst – contents are copied to installed package
• src – C, Fortran code to compile with the package
• tests – R code for testing package functions
20 / PDF Solutions Inc.
See section 1.1 in “Writing R 
Extensions”
Required
Optional
Documents you may be interested
Documents you may be interested