| NEWS | R Documentation |
News for R Package sfsmisc
CHANGES in sfsmisc VERSION 1.1-22 [2025-08-30]
NEW FEATURES
-
pretty10exp()and henceeaxis()get new behaviour for non-defaultsub10 = nn; notably,nnmay now be a negative integer;sub10 = "10"is now equivalent tosub10 = c(-1,1), and newly,sub10 = "100"and"1000"as "mnemonic" forsub10 = c(-1, 2)orc(-2, 3), respectively.
CHANGES in sfsmisc VERSION 1.1-21 [2025-07-25]
NEW FEATURES
New
GCD(m,n)andLCM(...)
CHANGES in sfsmisc VERSION 1.1-20 [2024-10-23]
NEW FEATURES
-
sessionInfoX()now reportsR_compiled_by()when that exists.
CHANGES in sfsmisc VERSION 1.1-19 [2024-08-16]
NEW FEATURES
pretty10exp() gets new offset arg
offand now works correctly even for subnormal numbers.
Misc
more packages mentioned in Rd xref's
CHANGES in sfsmisc VERSION 1.1-18 [2024-04-25]
NEW FEATURES
sessionInfoX() now also stores (and prints)
.Machine
BUG FIXES
-
polyn.eval(7, x)no longer always returns7, but rather a vector of the same length asx.
CHANGES in sfsmisc VERSION 1.1-17 [2024-02-01]
Misc
-
seq_along(.)instead of (partial arg)seq(along=.); fix other partial arg. Get rid of
is.R(), deprecated from R 4.4.0.
CHANGES in sfsmisc VERSION 1.1-16 [2023-08-08]
Misc
-
‘NEWS.Rd’ work around "not yet done"-entries.
CHANGES in sfsmisc VERSION 1.1-15 [2023-04-18]
NEW FEATURES
New
list_()(from my pkg tools) to create auto-namedlist()s easily.improved
Sys.ps.cmd()for macOS.
CHANGES in sfsmisc VERSION 1.1-14 [2022-11-09]
NEW FEATURES
-
read.org.table()now determines a reasonablenrowsautomatically.
Tweaks
-
eaxis()has a larger default,12instead of 10, fornintLog. -
‘man/*.Rd’: remove some extraneous
\. -
‘man/helppdf.Rd’: skip example on Windows (too slow).
-
TA.plot()now works also with NA residuals. use new internal
struct()as fast substitute ofstructure().
CHANGES in sfsmisc VERSION 1.1-13 [2022-04-02]
BUG FIXES
-
relErrV(target, current)now keepsdim()anddimnames()e.g., whencurrentis an mpfr-array andnames()when present.
Tweaks
No longer import from methods: no need for a while already.
CHANGES in sfsmisc VERSION 1.1-12 [2021-09-10]
NEW FEATURES
new
helppdf(topic)mostly for interactive use.
BUG FIXES
-
shortRversion()still failed with"RC". -
relErrV(x1, x2)now works when both objects are of length zero, but no longer when only one of them is.
CHANGES in sfsmisc VERSION 1.1-11 [2021-04-03]
NEW FEATURES
-
sessionInfoX(TRUE)now choose chooses all loaded packages (which were accidentally chosen since 1.1-9, see the bug fixes).
BUG FIXES
-
sessionInfoX()no longer (since 1.1-9, accidentally) chooses all packages. The
nearcor()tests are less platform dependent.
DEPRECATED & DEFUNCT
-
u.assign0()andu.get0()are defunct now.
CHANGES in sfsmisc VERSION 1.1-10 [2021-03-29]
BUG FIXES
-
shortRversion()no longer fails for "beta" or "RC" status.
CHANGES in sfsmisc VERSION 1.1-9 [2021-03-22]
NEW FEATURES
-
sessionInfoX()now also reportsgrSoftVersion()and, when tcltk is loaded,tclVersion(). -
repChar()is deprecated in favour of R (>= 3.3.0)'sstrrep(). new
shortRversion()(from an old R script of mine).new
relErrV()andrelErr(), improved from the Matrix package ‘test-tools.R’
CHANGES in sfsmisc VERSION 1.1-8 [2021-01-06]
NEW FEATURES
-
isRshared()has been “factorized out” ofsessionInfoX(), as it maybe useful elsewhere, e.g., inStartupcode setting.libPaths(). New utilities
pkgDesc()andpkgBuilt(), giving namedcharacterresult ofpackageDescription().
BUG FIXES
-
sessionInfoX()'sisRshared()is now based ontools::Rcmd()instead ofsystem(), so possibly slightly more portable. Fixed not-yet–as-cran ‘NOTE’ about undeclared packages in Rd xrefs.
CHANGES in sfsmisc VERSION 1.1-7 [2020-05-05]
NEW FEATURES
-
eaxis()gets new optionequidist.at.tol = 0.002, previously hardwired to 0.001. -
seqXtend(<Date>, *, "interpolate")now also works with changedbase::c.Date()from R(4.1.0)-devel.
CHANGES in sfsmisc VERSION 1.1-6 [2020-04-04]
BUG FIXES
-
pkgLibs()now works on macOS, thanks to a hint by Brian Ripley.
CHANGES in sfsmisc VERSION 1.1-5 [2020-02-06]
NEW FEATURES
on Unix-alikes export new
pkgLibs()utility even though its API may change.
Tweaks
replace
class(.) != ".."in a comment, just for source code purity ;-)
BUG FIXES
Regression tests should not show differences, even when a version of R crippled by
--no-long-doubleis used.examples now use
tempfile().
CHANGES in sfsmisc VERSION 1.1-4 [2019-04-25]
NEW FEATURES
-
eaxis()gets new optional argumentuse.exprin order to force use ofpretty10exp()in a non-log case where non-exponential format would be used. -
sessionInfoX()now also returns an elementisRshared, and itsprint()method prints that and thepcre_config()information on the PCRE. -
TA.plot()now also works forlmer()results (S4objects, notlists).
CHANGES in sfsmisc VERSION 1.1-3 [2018-11-26]
Tweaks
-
‘DESCRIPTION’ update, contains ORCID.
-
‘README.md’ links to blog post on (17 yr old -> GH)
BUG FIXES
-
read.org.table()thinko (grep()). -
read.org.table(*, encoding=)notably to work for UTF-8 files. -
pretty10exp(*, lab.type="latex")works better, notably for non-trivialsub10.
CHANGES in sfsmisc VERSION 1.1-2 [2018-03-05]
NEW FEATURES
new
funEnv()utility:list()-like construction of a set of functions (and more) which all share the same environment.Using
Authors@Rin ‘DESCRIPTION’ and so finally honor the many contributors by listing them.Requiring R >= 3.2.0, so we can use
\CRANpkg{.}in help files.
BUG FIXES
-
histBxp()no longer evokes a warning fromhist.default(). -
digitsBase(0)now works.
CHANGES in sfsmisc VERSION 1.1-1 [2017-06-08]
NEW FEATURES
-
sessionInfoX()now also reportscapabilities()(and more, depending on R's version). -
mult.fig()'s default formgpnow adapts to a non-default value ofpar("las"). -
eaxis()gets new optionsaxpandn.axpfor more flexible automatic tick marks.
BUG FIXES
-
integrate.xy()is more careful in matching "data" with grid points, thanks to a bug report by Loraine Liping Seng.
CHANGES in sfsmisc VERSION 1.1-0 [2016-02-22]
NEW FEATURES
-
primes()has optionalpSeqargument, surprisingly with no known benefit. tweaks for
xy.unique.x()speedup.-
QUnif(..., p, ...)now works for largep(and gets asilentoption to suppress the message).
BUG FIXES
Fix the
tkdensity()bug introduced on 2015-07-22, hence, for sfsmisc versions1.0-28and1.0-29, with the “codetools cleanup”.
CHANGES in sfsmisc VERSION 1.0-29 [2016-01-22]
NEW FEATURES
new function
read.org.table()to read emacs ‘org’ files viaread.table().new
loessDemo(), providing a version of an oldloess.demo().new
sessionInfoX()utility (withprint()method).
BUG FIXES
(workaround R (<= 3.2.2) bug:) the (invisible) return value
str_data()no longer contains extraneousNULLentries in the filtering case.
CHANGES in sfsmisc VERSION 1.0-28 [2015-08-06]
NEW FEATURES
-
tkdensity()is tweaked such as to look more standard to codetools; similarly (much less) for
factorize()androundfixS()new
demo("pretty-lab")
BUG FIXES
also import from "base" packages
-
pretty10exp(*, lab.type = "latex")typo fixed;eaxis()works better withlab.type = "latex", both thanks to David Seifert.
CHANGES in sfsmisc VERSION 1.0-27 [2015-01-05]
Repository
Moved sources to Github (https://github.com/mmaechler/sfsmisc), on Aug. 9, 2014, from years of emacs backups and a few RCS “archives”. Blogged about it on http://mmaechler.blogspot.ch/.
NEW FEATURES
New
missingCh()utility, also for didactical purposes;new
rotn()"utility".-
eaxis()gets an optionalsub10argument. -
mat2tex()gets new optionenvir = "tabular".
BUG FIXES
-
cairoSwd()adapted to new Sweave conventions.
CHANGES in sfsmisc VERSION 1.0-26 [2014-06-16]
NEW FEATURES
new
is.whole()to test if numbers are integer valued.new
cairoSwd()from Alain Hauser (not yet exported).new
bi2int()utility (called fromas.intBase()) with a nice IP numbers transformation example.-
toLatex.numeric()getstimesarg (from Alain). -
pretty10exp()gets new argslab.typeandlab.sepfrom Ben Bolker.
BUG FIXES
not using
prt.DEBUG()anymore ourselves, as it has been deprecated.
CHANGES in sfsmisc VERSION 1.0-25 [2014-01-24]
NEW FEATURES
better docu on
Sys.cpuinfo()
BUG FIXES
finally deprecate
prt.DEBUG()
CHANGES in sfsmisc VERSION 1.0-24 [2013-08-03]
BUG FIXES
Deprecate u.assign0() as globalenv assignment is mostly deprecated, and the S <-> R compatibility is unneeded now.
ps.do() and pdf.do() are now closures with their own file name. ==> no globalenv assignment needed anymore.
CHANGES in sfsmisc VERSION 1.0-13 [2010-10-20]
NEW FEATURES
new
demo(hatMat)being more explicit than?hatMat
CHANGES in sfsmisc VERSION 1.0-12 [2010-09-04]
BUG FIXES
-
plotDS()bug fix
CHANGES in sfsmisc VERSION 1.0-11 [2010-02-22]
BUG FIXES
fix nearCor() example
CHANGES in sfsmisc VERSION 1.0-10 [2009-12-16]
BUG FIXES
pdf.do() with better defaults [ ==> compatible to ps.do() ]
CHANGES in sfsmisc VERSION 1.0-9 [2009-11-18]
Misc
maintenance
CHANGES in sfsmisc VERSION 1.0-8 [2009-08-10]
Misc
maintenance
CHANGES in sfsmisc VERSION 1.0-7 [2009-01-10]
Misc
maintenance
CHANGES in sfsmisc VERSION 1.0-6 [2008-11-25]
NEW FEATURES
new Sys.meminfo()
p.profileTraces() improved; eaxis()
CHANGES in sfsmisc VERSION 1.0-5 [2008-11-01]
NEW FEATURES
new Duplicated()
ellipsePoints() improvements
eaxis() improvements
BUG FIXES
str_data() buglet
CHANGES in sfsmisc VERSION 1.0-4 [2008-07-31]
Misc
maintenance
CHANGES in sfsmisc VERSION 1.0-3 [2008-06-26]
NEW FEATURES
pdf.do() has better default behavior.
CHANGES in sfsmisc VERSION 1.0-2 [2008-05-03]
Misc
maintenance
CHANGES in sfsmisc VERSION 1.0-1 [2008-01-30]
BUG FIXES
Encoding (latin1), and other platform issues
inv.seq() and eaxis() improvements
CHANGES in sfsmisc VERSION 1.0-0 [2007-12-10]
NEW FEATURES
plotDS() is new name for pl.ds() now allows 'ys' to be a smooth "fit structure". That is now easily constructed via
new seqXtend() function for constructing a sequence which includes a give set of numbers x.
y <- roundfixS(x) yields integers y[i] with the same sum as x[i].
CHANGES in sfsmisc VERSION 0.96-01 [2007-11-21]
NEW FEATURES
new function eaxis() for "engineering" / "extended" axis drawing, notably for log-axis labeling
CHANGES in sfsmisc VERSION 0.95-13 [2007-09-13]
NEW FEATURES
new function nearcor() to find nearest correlation matrix; almost as donated by Jens Oehlschlaegel.
BUG FIXES
pdf.latex(), pdf.do() : defaults; viewer specifications...
CHANGES in sfsmisc VERSION 0.95-12 [2007-06-30]
NEW FEATURES
New internal Sys.procinfo() function for cleaner implementation of Sys.cpuinfo() and Sys.meminfo().
CHANGES in sfsmisc VERSION 0.95-10 [2007-06-25]
NEW FEATURES
new pdf.do(), pdf.end(), pdf.latex()), as analogues to ps.do() etc,
implemented as wrapper to new dev.latex() utility function (dev.latex): instead of ps.latex(); (pdf.latex, ps.latex): now wrappers to dev.latex
CHANGES in sfsmisc VERSION 0.95-2 to *-9
Version and Date (Latest First)
0.95-9 : 2007-03-15
0.95-8 : 2007-01-18
0.95-7 : 2006-10-19
0.95-6 : 2006-06-26
0.95-5 : 2006-06-22
0.95-4 : 2006-02-26
0.95-3 : 2006-01-25
0.95-2 : 2005-11-03
CHANGES in sfsmisc VERSION 0.95-1 [2005-04-25]
NEW FEATURES
'rnls()' for robust nonlinear regression; 'lseq()' for [l]og scale 'seq()'
now has a NAMESPACE
CHANGES in sfsmisc VERSION 0.9-8 [2004-12-14]
BUG FIXES
TA.plot() now also works for lme() results.
CHANGES in sfsmisc VERSION 0.9-7 [2004-11-04]
Depends on R 1.9.0 (was effectively the case earlier): Removing old package names "modreg", "stepfun", etc
CHANGES in sfsmisc VERSION 0.9-6 [2004-09-27]
bug fix in p.ts(): case of start(.) of length 2
CHANGES in sfsmisc VERSION 0.9-5 [2004-08-12]
NEW FEATURES
new posdefify(m) returns a positive definite matrix close to 'm'
New QUnif() and sHalton() for quasi-random number generation
BUG FIXES
fixed labeling bug in compresid2way().
DEPRECATED & DEFUNCT
mult.fig()'s global assignment to 'old.par' is now deprecated. do work with op <- mult.fig(...)$old.par instead !!
plotCI() is now deprecated – use the one from package "gregmisc"!
CHANGES in sfsmisc VERSION 0.9-4 [2004-05-26]
p.ts() allows date-time objects for x-axis labeling, with new arguments 'date.x', 'do.x.axis', 'do.x.rug', 'ax.format' and 'xlab'
strcodes() had a bug (offset by 1) which also lead to one in AsciiToInt()
p.res.2x() has new arguments 'xlim', 'ylim', 'main' and a new default for 'scol' (= 2:3).
CHANGES in sfsmisc VERSION 0.9-3 [2004-02-23]
p.res.2x() allows 'scol' of length 2.
n.plot() fixed the "log = .." (non-default) option.
CHANGES in sfsmisc VERSION 0.9-2 [2004-02-07]
put Sys.*() functions into unix-only directory
ps.end() tries behaves better for non-unix finding the file
u.date() becomes OS-independent.
CHANGES in sfsmisc VERSION 0.9-1 [2004-02-04 – 1st CRAN ver.!]
new function compresid2way() from Werner Stahel.
f.robftest() now returns an object of class "htest"
For more details, see the ‘ChangeLog’ file!