Git Product home page Git Product logo

termux's Introduction

Termux

This repo contains my various files related to termux.

R

The package r-base in its-pointless repo is now incompatible with the latest version of termux.

So I built it myself. I hope you enjoy it.

Download: https://github.com/kxxt/termux/releases/download/R-4.2.0-1/R-4.2.0-1-termux-arm64.tar.xz

Usage: (You'll need to setup its-pointless repo to install libgfortran5)

wget https://github.com/kxxt/termux/releases/download/R-4.2.0-1/R-4.2.0-1-termux-arm64.tar.xz
tar xJf R-4.2.0-1-termux-arm64.tar.xz $PREFIX
pkg install libgfortran5
# Start R
$PREFIX/local/R-4.2.0/bin/R

You can append $PREFIX/local/R-4.2.0/bin/ to $PATH in your .bashrc or .zshrc so that you can execute R directly.

More info about this build:

R is now configured for aarch64-unknown-linux-gnu

  Source directory:            .
  Installation directory:      /data/data/com.termux/files/usr/local/R-4.2.0

  C compiler:                  gcc  -g -O2
  Fortran fixed-form compiler: gfortran -fno-optimize-sibling-calls -g -O2

  Default C++ compiler:        g++ -std=gnu++14  -g -O2
  C++11 compiler:              g++ -std=gnu++11  -g -O2
  C++14 compiler:              g++ -std=gnu++14  -g -O2
  C++17 compiler:              g++ -std=gnu++17  -g -O2
  C++20 compiler:              g++ -std=gnu++20  -g -O2
  Fortran free-form compiler:  gfortran -fno-optimize-sibling-calls -g -O2
  Obj-C compiler:              gcc -g -O2 -fobjc-exceptions

  Interfaces supported:        X11
  External libraries:          pcre2, readline, curl
  Additional capabilities:     PNG, JPEG, TIFF, NLS, cairo, ICU
  Options enabled:             shared R library, shared BLAS, R profiling

  Capabilities skipped:
  Options not enabled:         memory profiling

  Recommended packages:        yes

Cling

A partially working cling. See https://github.com/kxxt/prebuilt-cling-for-android

termux's People

Contributors

kxxt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

termux's Issues

libicuuc.so.71 not found

termux apt update the libicu to libicuuc.so.72. /local/bin/R failed to start.

➜  ~ fd libicuuc ../usr                           
../usr/lib/libicuuc.so.72                     
../usr/lib/libicuuc.so.72.1                       
../usr/lib/libicuuc.so                           
➜  ~ R                                            
CANNOT LINK EXECUTABLE "/data/data/com.termux/files/usr/local/R-4.2.0/lib/R/bin/exec/R": library "libicuuc.so.71" not found

needs a recompiling? thanks!

Permission Problem to binary

Update:
libicu v7 required, Author can somehow save this file as well bcz in futire termux may drop this library or update it?

cd $PREFIX/local
chmod -R 755 R-4.2.0
pkg i libicu

Error
./R: 271: exec: /data/data/com.termux/files/usr/local/R-4.2.0/lib/R/bin/exec/R: Permission denied

Tried while in folder

chmod +x *
chmod u+x * 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.