Skip to content
Prev 243104 / 398500 Next

installing ONLY the documentation files (Rd) for many packages?

see below.

On Wed, Oct 27, 2010 at 3:32 AM, Prof Brian Ripley
<ripley at stats.ox.ac.uk> wrote:
Thanks!  Finally, I am back to this, and below is my solution as a
shell script (bash,
debian):

# shell script to install all the packages in ~/R/allpackages,
# ( *.tar.gz files)
# to ~/R/allinstall
#
 for FILE in ~/R/allpackages/*z
 do
    if [ -f $FILE ]
    then
       nice R CMD INSTALL  --library=~/R/allinstall --no-test-load    \
              --no-configure --html --no-libs --no-exec  $FILE               \
                 || echo "Problems encountered during processing of $FILE" &
    fi
 done
#

However, this do not work! When I run the command within the loop
directly in a shell, I can see the results in ~/R/allinstall,
but run as above, I can see no results (apart from a lot of cpu cycles)

Kjetil