[R-SIG-Mac] ‘package ‘XML’ is not installed for 'arch=x86_64'’
John Maindonald
john.maindonald at anu.edu.au
Fri Sep 28 03:32:23 CEST 2012
That is odd. I can do:
> library(XML)
> sessionInfo()
R version 2.15.1 (2012-06-22)
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
locale:
[1] en_AU.UTF-8/en_AU.UTF-8/en_AU.UTF-8/C/en_AU.UTF-8/en_AU.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets
[6] methods base
other attached packages:
[1] XML_3.9-4
loaded via a namespace (and not attached):
[1] tools_2.15.1
Also under help(package='XML'), go to the Description file, I see:
Date/Publication: 2012-01-31 07:37:18
Built: R 2.15.0; universal-apple-darwin9.8.0; 2012-03-31 00:12:17 UTC; unix
Archs: i386, ppc, x86_64
I've not compiled it. But maybe there is a risk that if I try to do anything with
it, it will fail? Is the difference that I have a 2.15.0 build?
John Maindonald email: john.maindonald at anu.edu.au
phone : +61 2 (6125)3473 fax : +61 2(6125)5549
Centre for Mathematics & Its Applications, Room 1194,
John Dedman Mathematical Sciences Building (Building 27)
Australian National University, Canberra ACT 0200.
http://www.maths.anu.edu.au/~johnm
On 28/09/2012, at 10:24 AM, Simon Urbanek <simon.urbanek at r-project.org> wrote:
>
> On Sep 27, 2012, at 6:25 PM, <Ricardo.Julio.Rodriguez.Fernandez at sergas.es> wrote:
>
>> Hi,
>>
>> I'm trying to confirm I understand how packages are installed and manage in R to be able to better interpret error/warning messages.
>>
>> In a Mac OS X installation of R I get this error:
>>
>>> require(XML)
>> Loading required package: XML
>> Failed with error: ‘package ‘XML’ is not installed for 'arch=x86_64'’
>>
>> But the graphical interface R Package Installer says that version 3.9-4 is installed.
>>
>
> It is installed, but only for 32-bit and you are trying to load it in 64-bit R.
>
>
>> Please, where am I wrong?
>
> Use 32-bit R or if you want to use XML in 64-bit R, you have to compile it for 64-bit. AFAICS XML currently doesn't pass checks on any platform, so there are no binaries and you have to compile it from sources. If you want both 32-bit and 64-bit you'll have to use --merge-multiarch INSTALL option or use the two-step process described in the Mac FAQ.
>
> Cheers,
> Simon
>
>
>> Thanks!
>>
>>
>>> sessionInfo()
>> R version 2.15.1 (2012-06-22)
>> Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
>>
>> locale:
>> [1] en_GB.UTF-8/en_GB.UTF-8/en_GB.UTF-8/C/en_GB.UTF-8/en_GB.UTF-8
>>
>> attached base packages:
>> [1] graphics grDevices utils datasets stats methods base
>>
>> other attached packages:
>> [1] foreign_0.8-50
>>
>> loaded via a namespace (and not attached):
>> [1] tools_2.15.1
>>>
>>
>>
>>
>> --
>> Ricardo Rodríguez
>> Research Management and Promotion Technician
>> Technical Secretariat
>> Health Research Institute of Santiago de Compostela (IDIS)
>> http://www.idisantiago.es
>>
>> Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada.
>>
>> Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada.
>>
>> See more languages: http://www.sergas.es/aviso_confidencialidad.htm
>>
>> _______________________________________________
>> R-SIG-Mac mailing list
>> R-SIG-Mac at r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>>
>>
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
More information about the R-SIG-Mac
mailing list