Skip to content
Prev 23325 / 63421 Next

jpeg() and png() in R-2.4.x (PR#9423)

Hi Sophie,

(It is not good to abuse the bug system to asking for help that way...
as others no doubt has already written. R-help may be a more
appropriate channel for your questions)

One possibility is your "linux - mandriva 2007 - 64bits"
assertion. I don't use Mandriva myself (my work machine is fedora
6 and home slackware 11), but I had a copy of the Mandriva 2007 
powerplus pack (the "everything+open+proprietary" pack) directly
from one of Mandriva's own technical staff in the last linux-related
conference I went to, because a french collegue of mine wants the
powerplus pack :-).

My french colleague found something quite strange about the mandriva 
pack - all the rpms are listed as for i586 architecture; the readme says
the DVDs are dual-arch and would work on opterons... I don't have access 
to a running Mandriva system, and my french colleague had opted for 
Ubuntu in the end (and it isn't an important/interesting-enough question
I want to ask my mandriva contact directly - one learns not to abuse
useful resources :-) ...), so maybe you can tell me if Mandriva 2007
on opteron is truly dual-arch. I would like to see your output of
"file /usr/lib*/libjpeg*" . Here is mine:

$file /usr/lib*/libjpeg*
/usr/lib64/libjpeg.so:        symbolic link to `libjpeg.so.62.0.0'
/usr/lib64/libjpeg.so.62:     symbolic link to `libjpeg.so.62.0.0'
/usr/lib64/libjpeg.so.62.0.0: ELF 64-bit LSB shared object, AMD x86-64, 
version 1 (SYSV), stripped
/usr/lib/libjpeg.so:          symbolic link to `libjpeg.so.62'
/usr/lib/libjpeg.so.62:       symbolic link to `libjpeg.so.62.0.0'
/usr/lib/libjpeg.so.62.0.0:   ELF 32-bit LSB shared object, Intel 80386, 
version 1 (SYSV), stripped

and your "file /usr/lib*/R/lib/*" output (or equivalent where you 
install your R 2.4 and R 2.3). Here is mine (I have both 32-bit R
and 64-bit R on my system):

$ file /usr/lib*/R/lib/*
/usr/lib64/R/lib/libRblas.so:   ELF 64-bit LSB shared object, AMD 
x86-64, version 1 (SYSV), stripped
/usr/lib64/R/lib/libRlapack.so: ELF 64-bit LSB shared object, AMD 
x86-64, version 1 (SYSV), stripped
/usr/lib64/R/lib/libR.so:       ELF 64-bit LSB shared object, AMD 
x86-64, version 1 (SYSV), stripped
/usr/lib/R/lib/libRblas.so:     ELF 32-bit LSB shared object, Intel 
80386, version 1 (SYSV), stripped
/usr/lib/R/lib/libRlapack.so:   ELF 32-bit LSB shared object, Intel 
80386, version 1 (SYSV), stripped
/usr/lib/R/lib/libR.so:         ELF 32-bit LSB shared object, Intel 
80386, version 1 (SYSV), stripped

One possibility is that your R 2.3 is 32-bit and you just have 32-bits 
of everything and limited 64-bit support. (and you want to talk to 
Mandriva and/or dig out your mandriva DVD if such is that case).

Good luck.

Hin-Tak Leung
ripley at stats.ox.ac.uk wrote: