Dear R-devel, I'm trying to get practice learning more about the internals of R so am experimenting with the development version. I successfully cloned the SVN repo and built and installed R. I am using 2014-01-23 r64861.
However, I cannot seem to install the lattice package. I tried within R using install.packages and got the error sh: 1: 1: not found I then downloaded the tar.gz and tried it as follows: $ sudo R CMD INSTALL lattice_0.20-24.tar.gz * installing to library /home/rjan/R/i686-pc-linux-gnu-library/3.1 * installing *source* package lattice ... ** package lattice successfully unpacked and MD5 sums checked ** libs sh: 1: 1: not found ERROR: compilation failed for package lattice * removing /home/rjan/R/i686-pc-linux-gnu-library/3.1/lattice I then looked at the help for R CMD INSTALL and saw debug flag so I did: $ sudo R CMD INSTALL -d lattice_0.20-24.tar.gz processing lattice_0.20-24.tar.gz a file * installing to library /home/rjan/R/i686-pc-linux-gnu-library/3.1 * build_help_types= * DBG: 'R CMD INSTALL' now doing do_install() * created lock directory /home/rjan/R/i686-pc-linux-gnu-library/3.1/00LOCK-lattice * installing *source* package lattice ... ** package lattice successfully unpacked and MD5 sums checked ** libs about to run R CMD SHLIB -o lattice.so init.c threeDplot.c sh: 1: 1: not found ERROR: compilation failed for package lattice * removing /home/rjan/R/i686-pc-linux-gnu-library/3.1/lattice I then did $ cd lattice/src $ R CMD SHLIB -d -o lattice.so init.c threeDplot.c sh: 1: 1: not found I'm interested in two things. 1 does anyone know what's going on? 2. how could I have figured this out myself? What could I have done differently for the R CMD SHLIB command to get more output (for example where this line of code was)? I have read R installation and administration manual but I did not understand a lot so I'm probably missing something that is in there but I'm not sure what. Thank you for your patience, Roberta [[alternative HTML version deleted]]
______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel