1importFrom("grDevices", boxplot.stats, cairo_pdf,
2	   dev.cur, dev.off
3         , grSoftVersion
4         , n2mfrow, pdf, postscript
5         , xy.coords)
6
7
8importFrom("graphics", abline, arrows, axTicks, axis, axis.POSIXct,
9	   boxplot, curve, frame, hist, lines, locator, matplot, mtext,
10	   par, plot.new, points, polygon,
11	   rug, segments, symbols, text, xyinch)
12
13if(getRversion() < "4.0.0")
14    importFrom("graphics", plot)
15
16
17importFrom("stats",
18	   IQR, approx, as.formula, as.ts, dchisq, dgamma, density.default,
19	   dnorm, dummy.coef, ecdf, end, family, fitted, formula, getCall, is.ts,
20	   lm, lowess, loess, loess.control,
21	   mad, median, model.frame, na.exclude, na.omit, napredict,
22	   pchisq, pf, plot.ts, predict, qchisq, qgamma, qnorm, qt, quantile,
23	   resid, residuals, runif,
24           setNames,
25	   smooth.spline, spline, splinefun, start, stepfun, symnum,
26	   terms, time, update.formula, var, window)
27
28importFrom("utils", head, tail, toLatex, #<- S3 generics !
29           help,
30	   capture.output, data, packageDescription, read.table,
31	   sessionInfo, str)
32
33importFrom("tools", Rcmd)
34
35## Using "::" in code -> no need here:
36importFrom("methods", existsFunction)
37
38
39### Export almost all
40##  ------
41## New scheme (at first: for new things, only):
42#  group exported objects  __by ./R/ (and maybe ./man/) source file__
43export (
44        ## ./R/prime-numbers-fn.R :
45        primes, factorize,
46
47	"AsciiToInt",
48	"as.intBase", "bi2int",
49    ## FIXME: currently needed from FrF2 (Ulrike Groemping):
50        "as.integer.basedInt",
51	"axTexpr",
52	"repChar", "bl.string",
53	"cairoSwd",
54	"capture.and.write",
55	"ccat",
56	"chars8bit",
57	"code2n",
58	"col01scale",
59	"colcenter",
60	"compresid2way",
61	"cum.Vert.funkt",
62
63	"C.Monatsname", "C.weekday", "C.Wochentag", "C.Wochentagkurz",
64
65	"D1D2", "D1ss", "D1tr", "D2ss",
66	"dDA",
67	"diagDA",
68	"diagX",
69	"digitsBase",
70	"Duplicated",
71	"eaxis",
72	"ecdf.ksCI",
73	"ellipsePoints",
74	"empty.dimnames",
75	"errbar",
76	"f.robftest",
77    funEnv,
78	"hatMat",
79        "histBxp", # defunct: "hist.bxp"
80    helppdf,
81	"ichar",
82	"integrate.xy",
83	"inv.seq",
84    isRshared,
85	"is.whole",
86	"iterate.lin.recursion",
87	"KSd",
88	"last",
89	"linesHyperb.lm",
90	"list2mat",
91    loessDemo,
92	"lseq",
93	"margin2table",
94	"mat2tex",
95    missingCh,
96	"mpl",
97	"mult.fig",
98## FIXME: This is deprecated (but was never announced anyway...) :
99        nearcor,
100	"n.code",
101	"n.plot",
102	"nr.sign.chg",
103	"paste.vec",
104
105	"p.arrows",
106	"p.datum",
107
108	"p.dchisq", "p.dgamma", "p.dnorm",
109
110	"p.hboxp",
111	"plotDS",
112        "pl.ds", ## <- deprecated
113	"plotStep",
114	"p.m",
115
116        ## these should probably be deprecated for  pmax.int(), pmin.int():
117	"pmax.sa", "pmin.sa",
118
119	"polyn.eval",
120	"posdefify",
121	"p.pllines",
122	"p.profileTraces",
123	"p.res.2fact",
124	"p.res.2x",
125	"pretty10exp",
126
127	## not the S3 methods:
128	## "predict.dDA",
129        ## "print.basedInt", "print.dDA", "print.margin2table",
130
131    pkgDesc, pkgBuilt,
132
133	"printTable2",
134	"prt.DEBUG",
135
136	"pdf.do", "pdf.end", "pdf.latex",
137	"ps.do",  "ps.end",  "ps.latex",
138
139	"p.scales",
140        "p.tachoPlot",
141	"p.ts",
142
143	"quadrant",
144	"QUnif",
145
146        read.org.table,
147    relErrV, relErr,
148	"rot2", "rotn",
149	"roundfixS",
150	"rrange",
151	"sHalton",
152	"seqXtend",
153    sessionInfoX,
154    shortRversion,
155	"signi",
156        "sourceAttach",
157	"strcodes",
158	"str_data",
159	"TA.plot",
160	"tapplySimpl",
161	"tkdensity",
162	"u.boxplot.x",
163	"u.date", "u.datumdecode", "u.Datumvonheute",
164	"u.assign0", "u.get0",
165	"u.log",
166	"unif",
167	"uniqueL",
168	"u.sys",
169	"vcat",
170        "wrapFormula",
171	"xy.grid", "xy.unique.x"
172	)
173
174export("Sys.ps.cmd") # now in general.. even though possibly nonfunctional in non-unix
175if(tools:::.OStype() == "unix") { ## those are inside R/unix/
176
177    export("Sys.ps", "Sys.sizes")
178
179    if(identical(1L, grep("linux", R.version[["os"]]))) { ##--- Linux - only ---
180	export("Sys.cpuinfo", "Sys.meminfo", "Sys.MIPS", "Sys.memGB")
181    }
182
183    export("pkgLibs")
184}
185
186S3method(predict, dDA)
187S3method(print, dDA)
188S3method(print, basedInt)
189S3method(print, sessionInfoX)
190S3method(as.integer, basedInt)
191
192S3method(print, margin2table)
193
194S3method(toLatex, numeric)
195
196S3method(p.res.2x, default)
197S3method(p.res.2x, formula)
198