c# free pdf viewer : Add page number to pdf file control application system azure html wpf console R-admin0-part780

RInstallationandAdministration
Version3.2.5(2016-04-14)
RCoreTeam
Add page number to pdf file - insert pages into PDF file in C#.net, ASP.NET, MVC, Ajax, WinForms, WPF
Guide C# Users to Insert (Empty) PDF Page or Pages from a Supported File Format
adding page to pdf; add page numbers to a pdf document
Add page number to pdf file - VB.NET PDF Page Insert Library: insert pages into PDF file in vb.net, ASP.NET, MVC, Ajax, WinForms, WPF
Easy to Use VB.NET APIs to Add a New Blank Page to PDF Document
add pages to pdf reader; adding page numbers to a pdf document
ThismanualisforR,version3.2.5(2016-04-14).
Copyright c 2001–2016RCoreTeam
Permissionisgrantedtomakeanddistributeverbatimcopiesofthismanualprovided
thecopyrightnoticeandthispermissionnoticearepreservedonallcopies.
Permissionisgrantedtocopyanddistributemodifiedversionsofthismanualunder
theconditionsforverbatimcopying,providedthattheentireresultingderivedwork
isdistributedunderthetermsofapermissionnoticeidenticaltothisone.
Permissionis grantedtocopyanddistributetranslations of thismanualinto an-
otherlanguage,undertheaboveconditions formodifiedversions,exceptthatthis
permissionnoticemaybestatedinatranslationapprovedbytheRCoreTeam.
C# PDF File Split Library: Split, seperate PDF into multiple files
If your page number is set as 1, then the two output PDF files will contains the first page and the later three pages Add necessary references:
add page to existing pdf file; adding page numbers to pdf in preview
VB.NET PDF File Split Library: Split, seperate PDF into multiple
can split target multi-page PDF document file to one-page PDF files or PDF file to smaller PDF documents by every given number of pages Add necessary references
add page numbers to a pdf; add page numbers to pdf files
i
TableofContents
1 ObtainingR::::::::::::::::::::::::::::::::::::::::::::::::::::1
1.1 Gettingandunpackingthesources:::::::::::::::::::::::::::::::::::::::::::::::::1
1.2 Gettingpatchedanddevelopmentversions::::::::::::::::::::::::::::::::::::::::: : 1
1.2.1 UsingSubversionandrsync:::::::::::::::::::::::::::::::::::::::::::::::::::1
2 InstallingRunderUnix-alikes::::::::::::::::::::::::::::::::3
2.1 Simplecompilation:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: : 3
2.2 Helpoptions:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::4
2.3 Makingthemanuals:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::4
2.4 Installation::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::6
2.5 Uninstallation::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: : 8
2.6 Sub-architectures::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::8
2.6.1 Multilib:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::9
2.7 OtherOptions:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::9
2.7.1 OpenMPSupport::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::10
2.8 TestinganInstallation::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::10
3 InstallingRunderWindows:::::::::::::::::::::::::::::::::12
3.1 Buildingfromsource::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::12
3.1.1 Gettingthetools:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::12
3.1.2 Gettingthesourcefiles:::::::::::::::::::::::::::::::::::::::::::::::::::::::12
3.1.3 Buildingthecorefiles::::::::::::::::::::::::::::::::::::::::::::::::::::::::13
3.1.4 Buildingthecairodevices::::::::::::::::::::::::::::::::::::::::::::::::::::14
3.1.5 UsingICUforcollation:::::::::::::::::::::::::::::::::::::::::::::::::::::: : 14
3.1.6 Supportforlibcurl:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::14
3.1.7 Checkingthebuild:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::14
3.1.8 Buildingthemanuals:::::::::::::::::::::::::::::::::::::::::::::::::::::::: : 15
3.1.9 BuildingtheInnoSetupinstaller:::::::::::::::::::::::::::::::::::::::::::::15
3.1.10 BuildingtheMSIinstaller:::::::::::::::::::::::::::::::::::::::::::::::::::16
3.1.11 64-bitWindowsbuilds::::::::::::::::::::::::::::::::::::::::::::::::::::::17
3.2 TestinganInstallation::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::17
4 InstallingRunderOSX:::::::::::::::::::::::::::::::::::::18
4.1 RunningRunderOSX:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::18
4.2 UninstallingunderOSX::::::::::::::::::::::::::::::::::::::::::::::::::::::::::19
4.3 Multipleversions::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: : 19
5 RunningR:::::::::::::::::::::::::::::::::::::::::::::::::::::21
6 Add-onpackages::::::::::::::::::::::::::::::::::::::::::::::22
6.1 Defaultpackages::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::22
6.2 Managinglibraries::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::22
6.3 Installingpackages::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::22
6.3.1 Windows:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: : 23
6.3.2 OSX::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::24
6.3.3 Customizingpackagecompilation:::::::::::::::::::::::::::::::::::::::::::::25
C# PDF insert text Library: insert text into PDF content in C#.net
pageIndex, The page index of the PDF page that will be 0
add multi page pdf to word document; add and remove pages from a pdf
C# PDF File & Page Process Library SDK for C#.net, ASP.NET, MVC
Highlight Text. Add Text. Add Text Box. Drawing Markups. PDF users to do multiple manipulations on PDF file and page Please note that, PDF page number starts from
add page number to pdf; add a page to a pdf file
ii
6.3.4 Multiplesub-architectures::::::::::::::::::::::::::::::::::::::::::::::::::::26
6.3.5 Byte-compilation:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::26
6.3.6 Externalsoftware::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::27
6.4 Updatingpackages::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::27
6.5 Removingpackages:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::28
6.6 Settingupapackagerepository:::::::::::::::::::::::::::::::::::::::::::::::::::28
6.7 Checkinginstalledsourcepackages::::::::::::::::::::::::::::::::::::::::::::::::29
7 InternationalizationandLocalization::::::::::::::::::::::::30
7.1 Locales:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::30
7.1.1 LocalesunderUnix-alikes::::::::::::::::::::::::::::::::::::::::::::::::::::30
7.1.2 LocalesunderWindows::::::::::::::::::::::::::::::::::::::::::::::::::::::30
7.1.3 LocalesunderOSX::::::::::::::::::::::::::::::::::::::::::::::::::::::::::31
7.2 Localizationofmessages::::::::::::::::::::::::::::::::::::::::::::::::::::::::::31
8 Choosingbetween32-and64-bitbuilds::::::::::::::::::::33
9 ThestandaloneRmathlibrary:::::::::::::::::::::::::::::::34
9.1 Unix-alikes::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: : 34
9.2 Windows:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::35
AppendixA
Essentialandusefulother
programsunderaUnix-alike::::::::::::::::::::::::::::::::::37
A.1 Essentialprogramsandlibraries::::::::::::::::::::::::::::::::::::::::::::::::::37
A.2 Usefullibrariesandprograms:::::::::::::::::::::::::::::::::::::::::::::::::::::38
A.2.1 Tcl/Tk::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::40
A.2.2 Javasupport::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::40
A.2.3 Othercompiledlanguages::::::::::::::::::::::::::::::::::::::::::::::::::: : 41
A.3 Linearalgebra::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::41
A.3.1 BLAS:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::41
A.3.1.1 ATLAS:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::42
A.3.1.2 ACML::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: : 42
A.3.1.3 GotoandOpenBLAS:::::::::::::::::::::::::::::::::::::::::::::::::::43
A.3.1.4 IntelMKL::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::43
A.3.1.5 SharedBLAS:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::44
A.3.2 LAPACK::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: : 44
A.3.3 Caveats:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::45
AppendixB
ConfigurationonaUnix-alike:::::::::::::::::::46
B.1 Configurationoptions:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: : 46
B.2 Internationalizationsupport::::::::::::::::::::::::::::::::::::::::::::::::::::::47
B.3 Configurationvariables:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::47
B.3.1 Settingpapersize::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: : 47
B.3.2 Settingthebrowsers:::::::::::::::::::::::::::::::::::::::::::::::::::::::::47
B.3.3 Compilationflags::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::48
B.3.4 Makingmanuals:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::48
B.4 Settingtheshell::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::48
B.5 Usingmake:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: : 48
B.6 UsingFORTRAN::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::48
B.7 Compileandloadflags:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::49
B.8 Maintainermode:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::50
C# PDF Text Search Library: search text inside PDF file in C#.net
Add necessary references: Description: Search specified string from all the PDF pages. eg: The first page is 0. 0
add page to pdf preview; add contents page to pdf
C# PDF delete text Library: delete, remove text from PDF file in
Add necessary references: RasterEdge.Imaging.Basic.dll. matchString, The string wil be deleted from PDF file, -. 0
add pdf pages to word; adding page numbers to pdf in
iii
AppendixC
Platformnotes::::::::::::::::::::::::::::::::::::52
C.1 X11issues::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::52
C.2 Linux::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::53
C.2.1 Clang:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::54
C.2.2 Intelcompilers:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: : 55
C.2.3 OracleSolarisStudiocompilers::::::::::::::::::::::::::::::::::::::::::::::55
C.3 OSX:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: : 56
C.3.1 ElCapitan::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::57
C.3.2 Tcl/Tkheadersandlibraries:::::::::::::::::::::::::::::::::::::::::::::::::58
C.3.3 Java:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::58
C.3.4 Frameworks:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::59
C.3.5 BuildingR.app::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::59
C.4 Solaris:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::60
C.4.1 Usinggcc::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: : 62
C.5 AIX::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::63
C.6 FreeBSD:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::64
C.7 OpenBSD::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::65
C.8 Cygwin:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: : 65
C.9 Newplatforms::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: : 65
AppendixD
TheWindowstoolset:::::::::::::::::::::::::::::67
D.1 LAT
E
X::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::68
D.2 TheInnoSetupinstaller::::::::::::::::::::::::::::::::::::::::::::::::::::::::::68
D.3 Thecommandlinetools::::::::::::::::::::::::::::::::::::::::::::::::::::::::::68
D.4 TheMinGW-w64toolchain:::::::::::::::::::::::::::::::::::::::::::::::::::::::68
D.5 Usefuladditionalprograms:::::::::::::::::::::::::::::::::::::::::::::::::::::::69
Functionandvariableindex::::::::::::::::::::::::::::::::::::::70
Conceptindex:::::::::::::::::::::::::::::::::::::::::::::::::::::71
Environmentvariableindex::::::::::::::::::::::::::::::::::::::72
C# PDF Text Highlight Library: add, delete, update PDF text
200F); annot.EndPoint = new PointF(300F, 400F); // add annotation to The string wil be highlighted from PDF file, 0
add page to pdf online; add a page to a pdf document
C# Word - Split Word Document in C#.NET
your page number is set as 1, then the two output Word files will contains the first page and the later three pages respectively. C# DLLs: Split Word File. Add
add pages to an existing pdf; add a page to a pdf
1
1 ObtainingR
Sources, binaries and documentation for R R canbe obtainedvia
CRAN
, the “Comprehensive
R Archive Network”whose current members s are e listed at t https://CRAN.R-project.org/
mirrors.html.
1.1 Gettingandunpackingthesources
ThesimplestwayistodownloadthemostrecentR-x.y.z.tar.gzfile,andunpackitwith
tar -xf R-x.y.z.tar.gz
onsystems thathaveasuitable
1
tar installed. . Onother r systemsyouneedtohavethegzip
programinstalled,whenyoucanuse
gzip -dc c R-x.y.z.tar.gz z | | tar -xf -
Thepathnameofthedirectoryintowhichthesourcesareunpackedshouldnotcontainspaces,
asmostmakeprograms(andspecifically
GNU
make)donotexpectspaces.
Ifyouwantthebuildtobeusablebyagroupofusers,setumaskbeforeunpackingsothat
thefileswillbereadablebythetargetgroup(e.g.,umask022tobeusablebyallusers). Keep
thissettingofumaskwhilstbuildingandinstalling.
Ifyouuse arecent
GNU
versionof taranddothis as aroot account(whichonWindows
includes accounts withadministrator privileges) you u maysee many y warnings about changing
ownership. Inwhichcaseyoucanuse
tar --no-same-owner -xf f R-x.y.z.tar.gz
andperhapsalsoincludetheoption--no-same-permissions. (Theseoptionscanalsobeset
intheTAR_OPTIONSenvironmentvariable: ifmorethanoneoptionisincludedtheyshouldbe
separatedbyspaces.)
1.2 Gettingpatchedanddevelopmentversions
Apatchedversionof the current release, ‘r-patched’, andthe current development version,
‘r-devel’,areavailable as daily tarballsandviaaccesstotheR Subversionrepository. . (For
thetwoweekspriortothereleaseofaminor(3.x.0)version,‘r-patched’tarballsmayreferto
beta/releasecandidatesoftheupcomingrelease,thepatchedversionofthecurrentreleasebeing
availableviaSubversion.)
The tarballs s are e available from https://stat.ethz.ch/R/daily.
Download
R-patched.tar.gzorR-devel.tar.gz(orthe.tar.bz2versions)andunpackasdescribedin
theprevioussection.TheyarebuiltinexactlythesamewayasdistributionsofRreleases.
1.2.1 UsingSubversionandrsync
Sourcesarealsoavailableviahttps://svn.R-project.org/R/,theRSubversionrepository. If
youhaveaSubversionclient(seehttps://subversion.apache.org/),youcancheckoutand
updatethe current‘r-devel’fromhttps://svn.r-project.org/R/trunk/ andthecurrent
‘r-patched’from‘https://svn.r-project.org/R/branches/R-x-y-branch/’(wherexandy
arethemajorandminornumberofthecurrentreleasedversionofR).E.g.,use
svn checkout t https://svn.r-project.org/R/trunk/ / path
to check k out ‘r-devel’ into o directory y path h (which h will be created d if f necessary).
The alpha, , beta a and d RC C versions s of f an upcoming x.y.0 0 release are available e from
‘https://svn.r-project.org/R/branches/R-x-y-branch/’inthe four-week period prior to
therelease.
1
e.g.
GNU
tarversion1.15orlater,orthatfromthe‘libarchive’(asusedonOSXversions10.6andlater)
or‘HeirloomToolchest’distributions.
2
Notethat‘https:’isrequired
2
,andthattheSSLcertificatefortheSubversionserverofthe
Rprojectshouldberecognizedasfromatrustedsource.
Notethatretrievingthesourcesbye.g.wget-rorsvnexportfromthatURLwillnotwork
(andwillgiveaerrorearlyinthemakeprocess):theSubversioninformationisneededtobuild
R.
TheSubversionrepositorydoesnotcontainthecurrentsourcesfortherecommendedpack-
ages,whichcanbeobtainedbyrsyncordownloadedfrom
CRAN
. Tousersynctoinstallthe
appropriatesourcesfortherecommendedpackages,run./tools/rsync-recommendedfromthe
top-leveldirectoryoftheRsources.
If downloading g manually from
CRAN
, do o ensure e that t you u have e the correct t versions s of
the recommended packages: : if f the number in n the e file VERSION is ‘x.y.z’ ’ you need d to
download the contents of ‘https://CRAN.R-project.org/src/contrib/dir’, , where e dir r is
‘x.y.z/Recommended’for r-develor x.y-patched/Recommendedforr-patched,respectively,to
directory src/library/Recommended d in n the sources s you u have unpacked. . After r downloading
manually youneedtoexecute tools/link-recommended fromthetoplevelofthesources to
makethe requisite links insrc/library/Recommended. . Asuitable e incantationfromthe top
leveloftheRsourcesusingwgetmightbe(forthecorrectvalueofdir)
wget -r r -l1 --no-parent t -A\*.gz -nd d -P src/library/Recommended \
https://CRAN.R-project.org/src/contrib/dir
./tools/link-recommended
2
forsomeSubversionclients‘http:’mayappeartowork,butrequirescontinualredirection.
3
2 InstallingRunderUnix-alikes
R will configure and d build d under most common n Unix x and d Unix-alike e platforms s including
‘cpu-*-linux-gnu’for the ‘alpha’, , ‘arm’, ‘hppa’, ‘ix86’, ‘m68k’,‘mips’, ‘mipsel’, ‘powerpc’,
‘s390’,‘sparc’,and‘x86_64’
CPU
s,‘x86_64-apple-darwin’,‘i386-sun-solaris’and‘sparc-
sun-solaris’aswellasperhaps(itistestedlessfrequentlyontheseplatforms)‘i386-apple-
darwin’,‘i386-*-freebsd’, ‘x86_64-*-freebsd’, ‘i386-*-netbsd’, ‘x86_64/*-openbsd’and
‘powerpc-ibm-aix6*’
Inaddition,binarydistributionsareavailableforsomecommonLinuxdistributionsandfor
OSX(formerlyMacOS).Seethe
FAQ
forcurrentdetails.Theseareinstalledinplatform-specific
ways,sofortherestofthischapterweconsideronlybuildingfromthesources.
Cross-buildingisnotpossible:installingRbuildsaminimalversionofRandthenrunsmany
Rscriptstocompletethebuild.
2.1 Simplecompilation
First review the essentialand d usefultools s andlibraries in n Appendix x A[Essentialand d useful
otherprogramsunderaUnix-alike],page37,andinstallthoseyouwantorneed. Ensurethat
theenvironment variableTMPDIRis either unset (and d /tmp p exists andcanbe writteninand
scriptscanbeexecutedfrom)orpointstotheabsolutepathtoavalidtemporarydirectory(one
fromwhichexecutionofscriptsisallowed)whichdoesnotcontainspaces.
1
Choose a directory to installthe R tree (R is not just t abinary, but t has s additional data
sets,helpfiles,fontmetricsetc). LetuscallthisplaceR
HOME. Untarthesourcecode. This
shouldcreatedirectoriessrc,doc,andseveralmoreunderatop-leveldirectory:changetothat
top-leveldirectory(AtthispointNorthAmericanreadersshouldconsultSectionB.3.1[Setting
papersize],page47.) Issuethefollowingcommands:
./configure
make
(SeeSectionB.5[Usingmake],page48,ifyourmakeisnotcalled‘make’.) UsersofDebian-based
64-bitsystems
2
mayneed
./configure LIBnn=lib
make
Thencheckthebuiltsystemworkscorrectlyby
make check
Failures are not necessarily problems as they y might t be causedby missing functionality, , but
youshouldlookcarefullyatanyreporteddiscrepancies.(Somenon-fatalerrorsareexpectedin
localesthatdonotsupportLatin-1,inparticularintrueClocalesandnon-UTF-8non-Western-
Europeanlocales.) Afailurein n tests/ok-errors.R R may indicate inadequate resource limits
(seeChapter5[RunningR],page21).
Morecomprehensivetestingcanbedoneby
make check-devel
or
make check-all
seefiletests/READMEandSection2.8[TestingaUnix-alikeInstallation],page10,forthepossibil-
itiesofdoingthisinparallel.Notethatthesechecksareonlyruncompletelyiftherecommended
packagesareinstalled.
1
Mostaspectswillworkwithpathscontainingspaces,butexternalsoftwareusedbyR,e.g.texi2dviversion
4.8,maynot.
2
whichuselibratherthanlib64fortheirprimary64-bitlibrarydirectories.
Chapter2:InstallingRunderUnix-alikes
4
Ifthecommandconfigureandmakecommandsexecutesuccessfully,ashell-scriptfront-end
calledRwillbecreatedandcopiedtoR_HOME/bin. Youcanlinkorcopythisscripttoaplace
whereusers caninvokeit, , for r example to /usr/local/bin/R. . Youcouldalsocopy y the man
pageR.1toaplacewhereyourmanreaderfindsit,suchas/usr/local/man/man1. Ifyouwant
toinstallthecompleteRtreeto,e.g.,/usr/local/lib/R,seeSection2.4[Installation],page6.
Note: youdonotneed toinstallR:youcanrunitfromwhereitwasbuilt.
YoudonotnecessarilyhavetobuildRinthetop-levelsourcedirectory(say,TOP_SRCDIR).
TobuildinBUILDDIR,run
cd BUILDDIR
TOP_SRCDIR/configure
make
andsoon,as describedfurther below. . Thishastheadvantageofalwayskeepingyour r source
treecleanandisparticularlyrecommendedwhenyouworkwithaversionofRfromSubversion.
(Youmayneed
GNU
maketoallowthis,andyouwillneednospacesinthepathtothebuild
directory.Itisunlikelytoworkifthesourcedirectoryhaspreviouslybeenusedforabuild.)
Now rehash h if f necessary, type e R, , and read the R manuals and the R
FAQ
(files FAQ or
doc/manual/R-FAQ.html, or r https://CRAN.R-project.org/doc/FAQ/R-FAQ.html which
alwayshastheversionforthelatestreleaseofR).
Note: ifyoualready y haveRinstalled,checkthatwhereyouinstalledRreplacesorcomes
earlierinyourpaththanthepreviousinstallation. Somesystemsaresetuptohave/usr/bin
(thestandardplaceforasysteminstallation) aheadof /usr/local/bin(thedefaultplacefor
installationofR)intheirdefaultpath,andsomedonothave/usr/local/binonthedefault
path.
2.2 Helpoptions
Bydefault
HTML
helppagesarecreatedwhenneededratherthanbeingbuiltatinstalltime.
Ifyouneedtodisabletheserverandwant
HTML
help,thereistheoptiontobuild
HTML
pages
whenpackagesareinstalled(includingthoseinstalledwithR).Thisisenabledbytheconfigure
option--enable-prebuilt-html.WhetherRCMDINSTALL(andhenceinstall.packages)pre-
builds
HTML
pages is determined d by y looking at t the e R installation and is reportedby RCMD
INSTALL--help: it t can n be e overridden n by specifying one e of f the e INSTALL L options s --html or
--no-html.
The server r is s disabled by y setting the environment variable R_DISABLE_HTTPD to a a non-
empty value, , either r before R R is started or within the R R session n before
HTML
help (includ-
ing help.start) ) is s used. . It t is s also o possible that system security y measures will prevent t the
server from m being g started, , for r example e if f the loopback interface has been n disabled. . See
?tools::startDynamicHelpformoredetails.
2.3 Makingthemanuals
Thereisasetofmanualsthatcanbebuiltfromthesources,
‘fullrefman’
Printedversionsofallthehelppagesforbaseandrecommendedpackages(around
3500pages).
‘refman’
Printedversionsofthehelppagesforselectedbasepackages(around2000pages)
‘R-FAQ’
R
FAQ
‘R-intro’ “AnIntroductiontoR”.
‘R-data’
“RDataImport/Export”.
Chapter2:InstallingRunderUnix-alikes
5
‘R-admin’ “RInstallationandAdministration”,thismanual.
‘R-exts’
“WritingRExtensions”.
‘R-lang’
“TheRLanguageDefinition”.
Tomakethese(with‘fullrefman’ratherthan‘refman’),use
make pdf
tocreatePDFversions
make info
tocreateinfofiles(not‘refman’nor‘fullrefman’).
Youwillnot be able tobuild d any y of theseunless you u have texi2any y version5.1or later
installed, and for r PDFyoumust have texi2dvi andtexinfo.tex installed(whichare part
ofthe
GNU
texinfodistributionbutare,especiallytexinfo.tex,oftenmadepartofthe T
E
X
packageinre-distributions). Forhistoricalreasons,thepathtotexi2anycanbesetbymacro
‘MAKEINFO’inconfig.site(makeinfoisnowadaysalinktotexi2any).
The PDFversions canbe viewedusinganyrecentPDFviewer: : theyhavehyperlinks s that
canbefollowed.TheinfofilesaresuitableforreadingonlinewithEmacsorthestandalone
GNU
infoprogram.ThePDFversionswillbecreatedusingthepapersizeselectedatconfiguration
(defaultISOa4): thiscanbe e overriddenbysettingR_PAPERSIZE onthe makecommandline,
orsettingR_PAPERSIZEintheenvironmentandusingmake-e. (Ifre-makingthemanualsfora
differentpapersize,youshouldfirstdeletethefiledoc/manual/version.texi.Theusualvalue
forNorthAmericawouldbe‘letter’.)
There are some issues s with making g the PDF reference manual, , fullrefman.pdf f or
refman.pdf. ThehelpfilescontainbothISOLatin1characters(e.g.intext.Rd)andupright
quotes, neither r of f which h are contained inthe standard LAT
E
XComputer Modern fonts. . We
haveprovidedfouralternatives:
times
(The default.) ) Using g standard PostScript fonts, , Times s Roman, , Helvetica and
Courier. This s works wellbothfor on-screen n viewing andfor r printing. . One e dis-
advantage is s that t the e Usage e and d Examples s sections s may y come out rather wide:
thiscanbeovercomeby usingin addition eitheroftheoptions inconsolata (on
aUnix-alikeonlyiffoundbyconfigure)or beramono,whichreplacetheCourier
monospacedfontbyInconsolataorBeraSansmonorespectively. (Youwillneeda
recentversionoftheappropriateLAT
E
Xpackageinconsolata
3
orberainstalled.)
NotethatinmostLAT
E
Xinstallationsthiswillnotactuallyusethestandardfonts
for PDF, , but rather r embed d the URWclones s NimbusRom, , NimbusSans s and(for
Courier,ifused)NimbusMon.
ThisneedsLAT
E
Xpackagestimes,helveticand(ifused)courierinstalled.
lm
Using the Latin n Modern fonts. . These e are e not often n installed as s part t of a a T
E
X
distribution,butcanobtainedfromhttps://www.ctan.org/tex-archive/fonts/
ps-type1/lm/ andmirrors. . This s uses fontsrather similar toComputer Modern,
butisnotsogoodon-screenastimes.
cm-super Usingtype-1versionsoftheComputerModernfontsbyVladimirVolovich.Thisis
alargeinstallation,obtainablefromhttps://www.ctan.org/tex-archive/fonts/
ps-type1/cm-super/anditsmirrors.Thesetype-1fontshavepoorhintingandso
arenowherenearasreadableon-screenastheotherthreeoptions.
ae
Apackagetousecomposites ofComputerModernfonts. . Thisworkswellmostof
thetime,andits PDFis morereadable on-screenthanthe previous twooptions.
Therearethreefontsforwhichitwillneedtousebitmappedfonts,tctt0900.600pk,
3
Instructions on n how to install l the latest version are at t https://www.ctan.org/tex-archive/fonts/
inconsolata/.
Documents you may be interested
Documents you may be interested