SliTaz SliTaz Forum

You are not logged in.

#1 2012-02-14 15:38:16

Guest
Guest

R package request

I know that I've already ask for it, but it's so used by engineers and mathematicians

So I'll be so happy to have it for slitaz

http://www.r-project.org/

#2 2012-02-14 21:38:39

pankso
Administrator
Registered: 2026-06-27
Posts: 341
Website

Re: R package request

Hi,

Here is the package: http://people.slitaz.org/~pankso/packages/R-2.14.1.tazpkg

Here is the receipt: http://people.slitaz.org/~pankso/wok/R/receipt

I saw you can have tcl/tk support for UI interface, do we add that ? I also saw you can have many modules such as Biobase http://www.bioconductor.org/packages/2.9/bioc/html/Biobase.html that can be installed via R itself but I think it's better to make packages for easy update ? So if you need any other modules, try to request a new package again :-)

I let you test this package, if it's workng fine I will commit in cooking so it will be in 4.0.

Merci beaucoup pour le mail, ça m'a touché :-)

- Christophe

Offline

#3 2012-02-15 07:59:35

Guest
Guest

Re: R package request

Aahh je dois te confesser que je ne suis à l'origine d'aucun mail (autant que je m'en souvienne) :s .. mais celà va sans dire que je pourrais probablement y mettre ma signature en bas de page

Par contre, pour le paquet R je tiens à rétribuer la progression de Slitaz si seulement

il y avait moyen de verser sur un compte européen (pas de taxe) car je n'ai pas PayPal

Je vais tester le paquet ce soir chez moi

___

About the extra packages with R, indeed, R contains hundreds of add-ons which cover as many scientific purview that exists.  The ideal would be that it would works as on Ubuntu ; R-base is already configured to deal with the installation of extra add-ons.

I can test it. But having R-base with or without the Gui is already good.

Once the package perfect, I suggest you to submit your package to be directly available on the Cran (Comprehensive R Archive Network) to gain a very big visiblility among the R-Linux users !

#4 2012-02-15 20:12:28

Guest
Guest

Re: R package request

WOow ! cool, it works !

Just needs this dependency obviously : libgomp

and something to fix here (when documentation is asked through a "?something" command :

sh: /usr/lib/R/bin/pager: not found

and a link in the menu of Slitaz is missing , but here it is (not sure if correct parameters)

__________________________

[Desktop Entry]

Encoding=UTF-8

Name=R

Comment= programming language for statistical computing

Exec=xterm -e R

Icon=R.png

Type=Application

Categories=Development;

_______________________

[attachment=6300,320]

#5 2012-02-15 20:18:49

Guest
Guest

Re: R package request

tcl/tk support for UI interface could be nice to be more official, but as long as my graphs are produced, it's ok  smile

[attachment=6301,321]

#6 2012-02-15 20:51:32

Guest
Guest

Re: R package request

About installing extra add-ons, I put you the message (with the ">" in front of the line, it's an input from me)

> install.packages("plotrix", dependencies = TRUE)

essai de l'URL 'http://www.freestatistics.org/cran/src/contrib/plotrix_3.3-8.tar.gz'

Content type 'application/x-gzip' length 193300 bytes (188 Kb)

URL ouverte

==================================================

downloaded 188 Kb

sh: /usr/lib/R/bin/R: not found

Les packages téléchargés sont dans

        ‘/tmp/RtmpI6SAF5/downloaded_packages’

mise à jour de la liste HTML des packages dans '.Library'

Création de packages.html ... Terminé.

Message d'avis :

In install.packages("plotrix", dependencies = TRUE) :

  l'installation du package ‘plotrix’ a eu un statut de sortie non nul

> library(plotrix)

Erreur dans library(plotrix) : aucun package nommé ‘plotrix’ n'est trouvé

_____

looks like that in Slitaz it's not possible to create a folder with the same than a file in a same folder ! I'm right ?

#7 2012-02-16 09:49:06

pankso
Administrator
Registered: 2026-06-27
Posts: 341
Website

Re: R package request

Hi,

Try:

$ head -n 1 /usr/lib/R/bin/R

$ head -n1 /usr/lib/R/bin/pager

Both use Bash and I did'n saw and change that or add bash as dependency. I do a sed in the receipt so /usr/bin/R wrapper use /bin/sh wich point by defaut to Busybox on SliTaz. But if we see busybox shell dont handle correctly R wrappers we can just add it as dep.

Like said before, to way to install modules. Via R direcly or via Tazpkg ? Tazpkg let us do update easily, can you do somthing like: > update.packages() with R ?

Thanks for the desktop file and icon :-)

- Christophe

Offline

#8 2012-02-16 12:55:34

erjo
Administrator
Registered: 2011-03-28
Posts: 86

Re: R package request

Hi,

Nice touch panso.

Can we add this to undigest-wok ?

Offline

#9 2012-02-16 14:07:22

Guest
Guest

Re: R package request

There's right now 3606 add-ons .. huhu

http://cran.freestatistics.org/web/packages/available_packages_by_date.html

no, there's no sense to make a tazpkg of a obscure "Bindings for the Geospatial Data Abstraction Library"

For sure, normally installing and loading a add-ons in R should not be more difficult than typing in

> install.packages("package_name", dependencies = TRUE)

> library(package_name)

So, if BusyBox is not sufficient, perheaps Bash is needed . I will install Bash this evening and let you know

@+

#10 2012-02-16 21:00:49

erjo
Administrator
Registered: 2011-03-28
Posts: 86

Re: R package request

Install package works better with bash installed.

Offline

#11 2012-02-16 21:58:32

Guest
Guest

Re: R package request

All right,  installing Bash seems helpfull to install extra-addons

Launching documentation is ok (exemple " ?test.t " or " help() " ),

BUT it launch it in the same terminal !

And I don't know how to come back to the previous screen :s

(I can just see a "  ~ END " at the bottom) 

The ideal would be to launch a documentation screen in another xterm box

I don't know if BASH is only necessery only for the silly little bug coming from

sh: /usr/lib/R/bin/R: not found  but it's a pitty that Busybox would not handle this

... so let's say that it's almost very good.  Anyway, " help.start() " launch html documentation

with Midori

#12 2012-02-19 19:41:52

Guest
Guest

Re: R package request

pankso, you forgot the dependency " libgomp " into the uploaded R package

#13 2012-02-19 21:08:39

pankso
Administrator
Registered: 2026-06-27
Posts: 341
Website

Re: R package request

Yep, commited: http://hg.slitaz.org/wok/rev/7b23dd576750

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]