[R-SIG-Mac] compiling packages for 64 bit architecture

Christophe Dutang dutangc at gmail.com
Mon Sep 21 07:17:50 CEST 2009


Le 20 sept. 2009 à 23:11, Simon Urbanek a écrit :

>
> On Sep 20, 2009, at 3:59 PM, Christophe Dutang wrote:
>
>> Hi all,
>>
>> Everything is compiled correctly. In R64 GUI, the package is loaded  
>> successfully.
>>
>> How could I get rid of this warning?
>>
>
> The correct command is
> R --arch x86_64 CMD INSTALL ...
> (note that --arch is an argument of R *not* of INSTALL).
>
>
>> Furthermore, if I launch R GUI, the package could not better loaded  
>> any more on 32 bit architecture... I got
>> Error: package 'randtoolbox' is not installed for 'arch=i386'
>>
>
> Yes, you replaced it.
>
>
>> How could I use both architecture at the same time (from different  
>> GUIs).
>
> You have to use --libs-only (see R-admin: 2.5 Sub-architectures).
> First, do *not* use the directory of the package unless you cleaned  
> it (important!!). Then you want something like
> R --arch=i386 CMD INSTALL --libs-only randtoolbox

Thanks , I'll have a look at the subsection 2.5

Christophe

>
> Cheers,
> Simon
>
>
>
>> I need to compare outputs of the halton function between the two  
>> architectures.
>>
>> Thanks in advance
>>
>> Christophe
>>
>>
>>
>> --
>> Christophe Dutang
>> Ph.D. student at ISFA, Lyon, France
>> website: http://dutangc.free.fr
>>
>> _______________________________________________
>> R-SIG-Mac mailing list
>> R-SIG-Mac at stat.math.ethz.ch
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>>
>>
>

--
Christophe Dutang
Ph.D. student at ISFA, Lyon, France
website: http://dutangc.free.fr



More information about the R-SIG-Mac mailing list