termux / termux-packages

A package build system for Termux.
https://termux.dev
Other
13.08k stars 3k forks source link

Package Request: R (r-base) #250

Open tomtom opened 8 years ago

tomtom commented 8 years ago

Several users of GnuRoot Debian reported that R works on arm. Currently there is no other way to run R on Android.

linusjf commented 5 years ago

Thanks for all the help. Rscript is still the same on Termux.

Abdurrashidtanha commented 1 year ago

Why not? __

dbech commented 1 year ago

it seems as if this briefly worked via the its pointless repo but currently doesn't work as the versions of R available in termux requires older versions of packages which are no longer available.

jangorecki commented 12 months ago

Remove the its-pointless repo from original sources.list and update the line in pointless.list.

So what should happen:

  • $PREFIX/etc/apt/sources.list is clean. Only the main Termux repo should be here.
  • $PREFIX/etc/apt/sources.list.d/pointless.list should point to API 24 repo. Replace content with line from Package Request: R (r-base) #250 (comment) (replace means overwrite). No duplicate repositories. No API 21 & 24 mixes.

Doesn't seem to work anymore.

$ R
CANNOT LINK EXECUTABLE "/data/data/com.termux/files/usr/lib/R/bin/exec/R": library "libicuuc.so.69" not found: needed by main executable
conceptrat commented 9 months ago

now i just have to figure out the equivalent of 'gnome-open' in termux, so tht i can open pdfs directly from the terminal...

@wickx I know this was a while back, but I've only just stumbled onto this thread. You can use termux-open, or for compatibilityxdg-open, to trigger opening an external application from termux Termux Wiki - Sharing Data.

I had to follow the note at the bottom of that page and add allow-external-apps = true to the end of the file ~/.termux/termux.properties, followed by termux-reload-settings, to enable the user of external applications.