Hi, Has anyone had any success in installing and using the ‘R’ statistical language on PLC next? Is there a package that can be installed or does it need to be compiled? Best Regards Martin
Hi Martin, I am aware of only one recent enquiry about R … I looked into this briefly, and it seems like it would need to be built from source for PLCnext Control platforms, or (perhaps) run in a Container. I did not find any suitable pre-built binaries on the web, but perhaps someone else knows better. ~ Martin.
HI Martin Thanks for your reply. I tried to build from source and found that the system needs Fortran to build.. I could not find a Fortran package for the PLC. I tried to compile GCC to use GFortran however that is having issues with missing .h files. Do you know of a Fortran package (the GCC package for the PLC does not seem to contain Fortran) that can be installed (or compiled) or the options needed to compile GCC? Thanks in advance for your help. Best Regards MArtin
Hello Martin,
First check:
Cross-building is not possible: installing R builds a minimal version of R and then runs many R scripts to complete the build.A solution i can think of is building it in a Container and running the R code in a docker container.
(Will work for RFC and AXC 3152)
ARM32 CPUs (AXC F 1152 and 2152) are not supported.Source:
https://cran.r-project.org/doc/manuals/r-release/R-admin.html[](R Installation and Administration) kind regards,
Oliver