objects(where=1, frame=NULL, pattern=<<see below>>) Splus OBJECTS [directory]
Since the backslash () is a special character in S-PLUS, if a backslash is used with objects in an S-PLUS expression it must be specified as a double backslash (\), one for the S-PLUS interpreter and one for objects. See the EXAMPLES section below for more information. The pattern argument to ls used the special filename generation metacharacters of the UNIX Bourne shell.
# find all the objects starting with "T" in the working directory objects(pattern="^T") [1] "T1" "TT" # from the shell, find all objects in my.data.dir % Splus OBJECTS my.data.dir # an example of using the backslash with objects in S-PLUS SP500 <- S.P500 <- 1 objects(pattern = "^S\.") [1] "S.P500"