Hi R users,

Working from a PC, I am trying to install the spatstat package on a Unix 
cluster. I created the following PBS file to send a job array:

#!/bin/bash -ue

#PBS -m ae
#PBS -M my email
#PBS -J 1-45
#PBS -A my username
#PBS -N job name
#PBS -l resources
#PBS -l walltime

cd $PBS_O_WORKDIR

module load R/2.14.1

R CMD INSTALL -l /path/to/library spatstat

R CMD BATCH /path/to/folder/Script_$PBS_ARRAY_INDEX.R

Obviosuly I failed to understand pag 19 of the R admin manual because I keep 
getting the following error message:

Warning: invalid package ‘spatstat’
Error: ERROR: no packages specified

I'd appreciate if you can point me in the right direction

Thanks
Lorenzo


        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to