a character string giving the path to an old-style S-PLUS database,
containing S-PLUS objects from S-PLUS 4.x or earlier.
OPTIONAL ARGUMENTS:
to
a character string giving the path to the destination database, which
should be a new S-PLUS 6.x chapter. Use the
createChapter function to create the
destination database before calling
convertOldLibrary with the
to argument.
what
a vector of character strings giving the names of objects to be
converted. S-PLUS converts the database on which it finds the named
objects. Thus, if you don't know the name of the database you want to
convert but do know an object it contains, you can use the
what argument to specify the database.
documentation
This argument is currently ignored.
copyAll
a logical flag. When
to is omitted,
updating is done in place and only those objects that have been
modified are reassigned. If you set
copyAll=TRUE, all objects are copied
instead.
setClass
a logical flag. If
setClass=TRUE,
convertOldLibrary tries to create old
class metadata for the function.
report
a logical flag. If
report=TRUE,
convertOldLibrary reports its progress as
it proceeds.
replaceNames
a S-PLUS expression containing the names of functions to be replaced
in the old-style functions. For example, the default
replaceNames = expression(log=logb,
unclass=oldUnclass) replaces all calls to
log in your SV3 functions to
logb, since the definition of
log changed slightly in SV4.
oldClasses
a character vector containing names of SV3 classes. If this is not
empty, any object with an old-style class that is not named here will
not be converted. Objects without old-style classes are converted
regardless.
VALUE:
a named list containing the elements that have been changed.