source to read the
code into R and also used in link{xmlSource} to read just parts of it.
XMLCodeFile represents the file by its name;
XMLCodeDoc parses the contents of the file when the R object is created.
Therefore, an XMLCodeDoc is a snapshot of the contents at a moment in time
while an XMLCodeFile object re-reads the file each time and so reflects
any "asynchronous" changes.as("file/name", "XMLCodeFile")
or as("file/name", "XMLCodeDoc").
One can also use xmlCodeFile."character ", from data part.
Class "vector ", by class "character", distance 2.xmlSource