det.jm detaches objects from the search path and returns feedback about the resulting search path.  The object to be detached can be specified by position (1, 2, 3, ...) or by name, e.g., "jmfuns.rda".  Named objects can be partially matched so that "jmfuns" and "file:C:/mywork/jmfuns.rda" will identify the same object so long as no other object on the search path matches "jmfuns".   

function (file.spec, first = FALSE, all.matches = FALSE, feedback = TRUE, 
    ignore.case = TRUE, nchar.path.names = 35, max.path = 15) 

ARGUMENTS:

file.spec is a quoted character string that identifies the file to be detached from the search path.  det.jm uses partial matching to identify a file name; thus, "file:C:/mydata/jm.utilities.rda", "jm.utilities.rda", and "jm.util" all identify the same file, provided that only one file on the search file has a name that matches the file.spec string.

If first = FALSE (default) and all.matches = TRUE, then all matching objects on the search path are detached.  If first = FALSE (default) and all.matches = FALSE (default), then an error message is generated if there are multiple matches, and no objects on the search path are detached.  If first = TRUE, det.jm detaches the first instance of file.spec on the search path without warning the user that multiple matches were found.

If all.matches = TRUE, all files on the search path that match file.spec are detached from the search path.  If all.matches = FALSE, then the file with the uniquely matching file name is detached if it exists; if multiple matches are found, no file is detached and an error message is returned.

feedback = TRUE (default) requests feedback regarding the result of the detachment. If feedback = TRUE, then nchar.path.names determines the number of characters that are displayed from any name on the search path.  Names that are longer are shortened to this length.  If feedback = FALSE, the function returns no information about the detachment operation.

max.path specifies the maximum number of path positions displayed.

nchar.path.names and max.path are used to control the display of feedback on the screen.  They do not affect the detachment operation.