Hi! On Thu, Nov 13, 2003 at 09:59:48AM +0000, Arne Gjuvsland wrote:> I have a problem with running my R programs as queue jobs. When I try > to submit a batch file to the queue with qsub I get the following error > message: > ____________________________________________________________ > > /home/gjuvslan/kluster/R-1.7.1/bin/R.bin: error while loading shared > libraries: > libpcre.so.0: cannot load shared object file: No such file or directory > ____________________________________________________________ > > When executed from the command prompt the batch file does its job.Did you run the script on the same machine in both cases? I got burnt a couple of times with different machines running different versions of the OS, non-identical versions of shared libraries etc... cu Philipp -- Dr. Philipp Pagel Tel. +49-89-3187-3675 Institute for Bioinformatics / MIPS Fax. +49-89-3187-3585 GSF - National Research Center for Environment and Health Ingolstaedter Landstrasse 1 85764 Neuherberg, Germany
I have a problem with running my R programs as queue jobs. When I try to submit a batch file to the queue with qsub I get the following error message: ____________________________________________________________ /home/gjuvslan/kluster/R-1.7.1/bin/R.bin: error while loading shared libraries: libpcre.so.0: cannot load shared object file: No such file or directory ____________________________________________________________ When executed from the command prompt the batch file does its job. Any ideas? Arne
The postscript device behaves strangely - is this possibly a bug? case 1) postscript("gfx-%d.ps",width=8 , height=5, paper="special", horizontal=F, onefile=FALSE); <some plots here> dev.off() The first plot is in "portrait" orientation The second and all the following plots are in "landscape" orientation case 2) postscript("gfx-%d.ps",width=8 , height=5, paper="special", horizontal=T, onefile=FALSE); <some plots here> dev.off() Now, all plots are in "portrait"... So it seems that the orientation of the *first* plot is not affected by horizontal=T/F. Pascal
A search on Google shows that libpcre.so.0 is a Perl-compatible regular expression library. Does R use that, or is it the queue script? Have you checked /usr/lib for that library? Maybe you need to install the library or rerun ldconfig. You can get info about shared libraries with the ldd command. That was some ideas, but no shrink wrapped solutions! Hilsen Jesper -----Original Message----- From: Arne Gjuvsland [mailto:arne.gjuvsland at iha.nlh.no] Sent: Thursday, November 13, 2003 5:00 AM To: r-help at stat.math.ethz.ch Subject: [R] Running R-program as queue jobs I have a problem with running my R programs as queue jobs. When I try to submit a batch file to the queue with qsub I get the following error message: ____________________________________________________________ /home/gjuvslan/kluster/R-1.7.1/bin/R.bin: error while loading shared libraries: libpcre.so.0: cannot load shared object file: No such file or directory ____________________________________________________________ When executed from the command prompt the batch file does its job. Any ideas? Arne
Pascal A. Niklaus wrote:> The postscript device behaves strangely - is this possibly a bug? > > case 1) > > postscript("gfx-%d.ps",width=8 , height=5, paper="special", > horizontal=F, onefile=FALSE); > <some plots here> > dev.off() > > The first plot is in "portrait" orientation > The second and all the following plots are in "landscape" orientation > > case 2) > > postscript("gfx-%d.ps",width=8 , height=5, paper="special", > horizontal=T, onefile=FALSE); > <some plots here> > dev.off() > > Now, all plots are in "portrait"... > > So it seems that the orientation of the *first* plot is not affected by > horizontal=T/F.Works for me (R-1.8.1alpha, WinNT4.0). Which version of R are you using? Uwe Ligges