Greetings-
 
I tried to install 'XML' packages in R and get following error message:
 
********************************************************************************
> install.packages("XML")
trying URL `http://cran.r-project.org/src/contrib/PACKAGES'
Content type `text/plain; charset=iso-8859-1' length 123768 bytes
opened URL
.......... .......... .......... .......... ..........
.......... .......... .......... .......... ..........
.......... .......... 
downloaded 120Kb
trying URL `http://cran.r-project.org/src/contrib/XML_0.93-4.tar.gz'
Content type `application/x-tar' length 525453 bytes
opened URL
.......... .......... .......... .......... ..........
.......... .......... .......... .......... ..........
.......... .......... .......... .......... ..........
.......... .......... .......... .......... ..........
.......... .......... .......... .......... ..........
.......... .......... .......... .......... ..........
.......... .......... .......... .......... ..........
.......... .......... .......... .......... ..........
.......... .......... .......... .......... ..........
.......... .......... .......... .......... ..........
.......... ...
downloaded 513Kb
* Installing *source* package 'XML' ...
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for xml-config... no
checking for libxml/parser.h... no
checking for gnome-xml/parser.h... no
checking for libxml/parser.h... (cached) no
checking for gnome-xml/parser.h... (cached) no
checking for libxml/parser.h... (cached) no
Cannot find parser.h. Set the value of the environment variable
    LIBXML_INCDIR
to point to where it can be found.
ERROR: configuration failed for package 'XML'
Delete downloaded files (y/N)? 
**********************************************************************************
Then I tried to find the 'parser.h' file in my Redhat Linux 7.1 box and got following output: 
 
[root@renaltools graphviz-1.10]# locate parser.h
/home/oracle/product/9.0.1/xdk/doc/cpp/parser/Package-parser.html
/home/oracle/product/9.0.1/xdk/doc/c/parser/Package-parser.html
/home/khoros/include/xvparser.h
/home/khoros/include/xvparser.h.orig
/home/khoros/src/xvroutines/Lib/xvforms/deparser.h
/home/khoros/src/xvroutines/Lib/xvforms/parser.h
/home/ryan/files/wine-20020605/tools/wrc/parser.h
/usr/lib/R/library/mgcv/html/gam.parser.html
/usr/local/src/samba-2.2.2/source/aparser/parser.h
/usr/local/src/mozilla/mozilla/config/mkdepend/ifparser.h
/usr/local/src/mozilla/mozilla/other-licenses/libical/src/libical/icalparser.h
/usr/local/src/mozilla/mozilla/xpcom/typelib/xpidl/libidl/libIDL-0.6.5/parser.h
/usr/local/src/mozilla/mozilla/xpinstall/wizard/os2/uninstall/parser.h
/usr/local/src/mozilla/mozilla/xpinstall/wizard/windows/uninstall/parser.h
/usr/local/include/graphviz/parser.h
/usr/local/graphviz-1.10/graph/parser.h
/usr/local/graphviz-1.10/windows/graph/parser.h
/usr/share/doc/libxml-1.8.10/html/gnome-xml-htmlparser.html
/usr/share/doc/libxml-1.8.10/html/gnome-xml-parser.html
/usr/share/doc/qt-devel-2.3.0/examples/xml/tagreader/structureparser.h
/usr/share/doc/qt-devel-2.3.0/examples/xml/tagreader-with-features/structureparser.h
/usr/share/doc/qt-devel-2.3.0/examples/xmlquotes/quoteparser.h
/root/.cpan/build/HTML-Parser-3.26/hparser.h

 
what I should do about that since I couldn't find 'libxml/parser.h' such kind of files required for this installation.
 
Appreciate your great help!
 
 
 

	[[alternative HTML version deleted]]


