Skip to content

Cross compile R for ARM target

5 messages · Samir Mouhoune, Johannes Ranke

#
Dear all,

I am currently trying to cross compile R3.5.2  using X86 host  and  trying to cross compile for ARM target (raspberry pi 3 running on  linux system generated  by buildroot).

The problem I am encountering is that the compilation fails because  the current R buildsystem  I trying to execute the R binary generated for Arm arch on the  host X86  computer.

My question is:   Is there  an  R branch supporting cross compilation for ARM target?

Otherwise,  is there pre compiled R dev that I can install on an ARM architecture?

My last question,  can we build R using buildroot or Yocto?  If yes could you send me a link to yocto or buildroot branch allowing to build R?

Thank's in advance for your support 

Best Regards,	

	
Samir MOUHOUNE
Senior Principal Embedded Linux Engineer
Technical R&D product manager


OSMOS Group
37, rue la perouse
75116 PARIS

T?l: +331 70 23 97 45 - Fax: +331 71 39 85 14
www.osmos-group.com
#
Hi Samir,

I do publish ports of the latest R releases for arm64 on CRAN. Not sure what 
you mean by R dev, but if you are looking for R 3.5.2 on Debian, you can 
install that using the instructions on CRAN

  https://cran.r-project.org/bin/linux/debian/

Disclaimer: I have no experience with cross compilation, buildroot or Yocto. I 
just build R on the raspi 3 running Debian stable.

Kind regards,

Johannes

Am Sonntag, 17. Februar 2019, 10:40:26 CET schrieb Samir Mouhoune:

  
    
#
Hi Johannes, 

Thank you  for your quick feddback.

As I am using linux os build with buildroot on my raspberry pi I can't use package manager such as apt-get  to install R.

What I need to do is to get the precompiled R for arm arch and then when I build my linux  image using buildroot I include  the R precompiled package to my rootfs.

Could you please send me a link where I can download directly the precompiled R for arm without using apt-get install?


Thanks again for your support

Best Regards,


Samir MOUHOUNE
Senior Principal Embedded Linux Engineer
Technical R&D product manager


OSMOS Group
37, rue la perouse
75116 PARIS

T?l: +331 70 23 97 45 - Fax: +331 71 39 85 14
www.osmos-group.com
________________________________________
De : R-SIG-Debian [r-sig-debian-bounces at r-project.org] de la part de Johannes Ranke [jranke at uni-bremen.de]
Envoy? : dimanche 17 f?vrier 2019 12:01
? : r-sig-debian at r-project.org
Objet : Re: [R-sig-Debian] Cross compile R for ARM target

Hi Sami
I do publish ports of the latest R releases for arm64 on CRAN. Not sure what
you mean by R dev, but if you are looking for R 3.5.2 on Debian, you can
install that using the instructions on CRAN

  https://cran.r-project.org/bin/linux/debian/

Disclaimer: I have no experience with cross compilation, buildroot or Yocto. I
just build R on the raspi 3 running Debian stable.

Kind regards,

Johannes

Am Sonntag, 17. Februar 2019, 10:40:26 CET schrieb Samir Mouhoune:
--
PD Dr. Johannes Ranke
Grenzach-Wyhlen

_______________________________________________
R-SIG-Debian mailing list
R-SIG-Debian at r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-debian
#
Hi,

you can find the packages here

  https://cran.r-project.org/bin/linux/debian/stretch-cran35/

Kind regards,

Johannes

Am Sonntag, 17. Februar 2019, 13:28:20 CET schrieb Samir Mouhoune:

  
    
#
Hi Johannes,

Thank you for your help and quick feedback,

That?s exactly what I want :)

Thanks again and have a nice week-end 

Samir