Nieuws:

Ubuntu-NL weer online!

Na een periode van technische problemen en een overbelaste server zijn we eindelijk weer bereikbaar.
Samen met Hobbynet, onze sponsor en hostingpartner, hebben we een oplossing gevonden zodat alles weer soepel draait.

Bedankt voor jullie geduld en begrip. We hopen nu weer verder te gaan waar we gebleven waren.

Het team van Ubuntu-NL

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: RGnumeric installatie  (gelezen 1515 keer)

Lise

  • Gast
RGnumeric installatie
« Gepost op: 2007/04/05, 09:19:01 »
hey,

ik heb een hardnekkig probleeem bij de installatie van de R-plugin voor gnumeric
annelies@annelies-laptop:~/RGnumeric$ ./configure --with-gnumeric='/home/annelies/gnumeric-1.7.0' --with-extra_includes='/usr/lib/gnome-libs/include'
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for gtk-config... /usr/bin/gtk-config
checking for gnome-config... /usr/bin/gnome-config
checking for gdk-pixbuf-config... /usr/bin/gdk-pixbuf-config
Currently, this plugin requires access to internal facilities in R that are not in the API.
This requires that the source code for the R distribution is available to compile
this plugin, specifically the include file R_HOME/src/include/Defn.h
Please download the R source, build the shared library and install using that version of R
annelies@annelies-laptop:~/RGnumeric$ ./configure --with-gnumeric='/home/annelies/gnumeric-1.7.0' --with-extra_includes='/usr/lib/gnome-libs/include'--with-extra-includes='/home/annelies/R-install/R-2.0.0/src/include'
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for gtk-config... /usr/bin/gtk-config
checking for gnome-config... /usr/bin/gnome-config
checking for gdk-pixbuf-config... /usr/bin/gdk-pixbuf-config
Currently, this plugin requires access to internal facilities in R that are not in the API.
This requires that the source code for the R distribution is available to compile
this plugin, specifically the include file R_HOME/src/include/Defn.h
Please download the R source, build the shared library and install using that version of R
annelies@annelies-laptop:~/RGnumeric$
ik  weet dat ik moet zeggen aan RGnumeric waar de gnumeric -directory is en waar de R source directory is (specifiek bovenstaande file), bij wat ik ook probeer hij geeft altijd hetzelfde

Trouwens hoe maak je een shared library?
Iemand een oplossing?

Lise

  • Gast
RGnumeric installatie
« Reactie #1 Gepost op: 2007/04/05, 10:03:46 »
Niemand die met dit probleem raad weet ? :(

Offline Pjotr

  • Lid
    • Makkelijke Linuxtips
RGnumeric installatie
« Reactie #2 Gepost op: 2007/04/05, 10:44:21 »
Ik weet niet precies wat die plugin doet, maar Gnumeric is maar één van de rekenvel-progjes die er beschikbaar zijn.
Kun je de gewenste functie niet vinden in bijvoorbeeld Open Office.org Spreadsheet (Calc)?

Lise

  • Gast
RGnumeric installatie
« Reactie #3 Gepost op: 2007/04/05, 11:10:57 »
RGnumeric voorziet R ondersteuning in Gnumeric, hier zijn veel meer commando's mogelijk dan in enerzijds de gewone gnumeric en anderzijds ook dan in calc

R is een omgeving voor statistiek en grafisch ontwerp.  RGnumeric staat expliciet bij de mogelijke GUI's maar met de instructies uit de README lukt het dus niet helemaal.

http://www.omegahat.org/RGnumeric/README.html

Offline dorusone

  • Lid
RGnumeric installatie
« Reactie #4 Gepost op: 2007/04/05, 11:30:04 »
Hoe je een shared library maakt staat imho letterlijk in
de readme :

and you will need to have R in the form of a shared library, $R_HOME/bin/libR.so. To do this, reconfigure and recompile R using the commands

 ./configure --enable-R-shlib any other arguments
 make

ik ben er zeker ook geen expert in maar je dient die
readme wel goed te bestuderen en letterlijk uit te voeren.

Succes !
Theo

Lise

  • Gast
RGnumeric installatie
« Reactie #5 Gepost op: 2007/04/05, 11:36:31 »
ja dat heb ik dus geprobeeerd he,

1. "any other arguments" : welke argumenten moeten hier dan nog bij?
2. de rest snap ik tot aan onderstaande commando

R CMD INSTALL --configure-args='gnumeric/directory/' RGnumeric

als ik het letterlijk in geef geeft het steevast foutmeldingen
WARNING: invalid package 'RGnumeric'
ERROR: no packages specified

Lise

  • Gast
RGnumeric installatie
« Reactie #6 Gepost op: 2007/04/05, 13:34:28 »
Hey

nieuwe vraag
root@annelies-laptop:/home/annelies# R CMD INSTALL RGnumeric_0.3-5.tar.gz --configure-args='/home/annelies/gnumeric-1.7.0'
...
You must specify where the gnumeric source distribution is located on your machine.
Give the directory via the --with-gnumeric argument or the environment variable
GNUMERIC_DIR
ERROR: configuration failed for package 'RGnumeric'
nu ik heb de gnumeric-src directory toch meegegeven als argument (zoals in de README stond: de dir waar de files src, plugins en po staan: dat is /home/annelies/gnumeric-1.7.0)

ik zie dus echt niet wat de fout is.

Iemand?

grtz Annelies

Lise

  • Gast
RGnumeric installatie
« Reactie #7 Gepost op: 2007/04/05, 14:19:37 »
als er in de terminal source code location: .               staat wat wil dat dan zeggen?

dJnEvS

  • Gast
RGnumeric installatie
« Reactie #8 Gepost op: 2007/04/05, 14:22:20 »
ipv --configure-args probeer --with-gnumeric

Lise

  • Gast
RGnumeric installatie
« Reactie #9 Gepost op: 2007/04/05, 14:43:51 »
Citaat van: dJnEvS
ipv --configure-args probeer --with-gnumeric
heb ik ook al gedaan maar heb nu gnumeric nog is gecompileerd en een chekinstall gedaan en er kwam "installation failed"... dus daaraan zal het wel liggen he.

Ik weet alleen niet waarom :(

bij het configure -script
  Floating point type:    double

        UI:                     Gnome

        Perl Support:           no (failed to compile test program)
        Python Support:         unable to find Python.h

        GDA support:            NO.  libgda problem
        GNOME-DB support:       no
        Psiconv support:        missing dependencies

bij de checkinstall

ew_from_XL'
make[3]: *** [dialog-stf-format-page.lo] Error 1
make[3]: Leaving directory `/home/annelies/gnumeric-1.7.0/src/dialogs'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/annelies/gnumeric-1.7.0/src'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/annelies/gnumeric-1.7.0/src'
make: *** [install-recursive] Error 1

****  Installation failed. Aborting package creation.

Cleaning up...OK

Bye.