OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

2 Pages V   1 2 >  
Reply to this topicStart new topic
> R For Pdaxrom?, Is there a R-implementation running on p
DReymann
post Dec 21 2005, 11:24 AM
Post #1





Group: Members
Posts: 30
Joined: 10-January 04
Member No.: 1,407



Hello,

I just definitely switched to pdaxrom. The last program I am missing is the statistic package R. On cacko-Rom it was running quite nice. If I take the binaries from cacko Rom first I get the undefined __udivsi3 errror. After issuing export LD_PRELOAD=/lib/libgcc_s.so I get rid of this message but inside R I get an error:

Error in NaN:NaN argument
Error in attach(NULL, name = "Autoloads") :
attach: pos must be an integer


Does anybody have a working R for pdaxrom or does have a hint?
I do not find anything on the web sad.gif

Thanks in advance

Detlev
Go to the top of the page
 
+Quote Post
jcabrer
post Dec 21 2005, 12:04 PM
Post #2





Group: Members
Posts: 161
Joined: 23-June 05
Member No.: 7,429



I'll compile it for you. Looks like it will take a while to download here...

If the final IPK is small enough, I'll post it here.
Go to the top of the page
 
+Quote Post
DReymann
post Dec 22 2005, 01:36 PM
Post #3





Group: Members
Posts: 30
Joined: 10-January 04
Member No.: 1,407



QUOTE(jcabrer @ Dec 21 2005, 09:04 PM)
I'll compile it for you.  Looks like it will take a while to download here...

That is a real christmas gift. Thanks a lot in advance.
QUOTE
If the final IPK is small enough, I'll post it here.
*


Because I am starting a week of holidays this night, you don't have to hurry.

Detlev
biggrin.gif
Go to the top of the page
 
+Quote Post
Hakkikkt
post Dec 26 2005, 04:08 AM
Post #4





Group: Members
Posts: 21
Joined: 15-April 04
From: Brugg, Schweiz
Member No.: 2,858



Hoi,
a working recent version of R would be quite nice.
I tried to compile the latest version today, but failed already during ./configure with problems related to crosscompiling gcc/g77 stuff sad.gif . I may have another look at the problem next week.
Have fun, Georg biggrin.gif
Go to the top of the page
 
+Quote Post
DReymann
post Jan 9 2006, 12:18 PM
Post #5





Group: Members
Posts: 30
Joined: 10-January 04
Member No.: 1,407



QUOTE(jcabrer @ Dec 21 2005, 09:04 PM)
I'll compile it for you.  Looks like it will take a while to download here...

If the final IPK is small enough, I'll post it here.
*


Hi,
any news?

Btw. I could provide webspace to host the ipk if available.

Detlev
Go to the top of the page
 
+Quote Post
Hakkikkt
post Jan 10 2006, 06:51 AM
Post #6





Group: Members
Posts: 21
Joined: 15-April 04
From: Brugg, Schweiz
Member No.: 2,858



Hoi,
I tried (without success) to cross-compile R. Unfortunately this is not straightforward, because the compiled R binary is used during compiling (of course that does not work with an arm-binary on X86). Lardman tried the same for openembedded (already a while ago), but he was also not successfull until now. sad.gif
I might try a native build, but I have to get a working native fortran compiler first.

Have fun, Georg
Go to the top of the page
 
+Quote Post
lardman
post Jan 10 2006, 07:29 AM
Post #7





Group: Members
Posts: 4,515
Joined: 25-October 03
From: Bath, UK
Member No.: 464



My build for openembedded produced the binary, however I didn't get round to hacking the build system to make the packages (which are required to do just about anything) or the docs.

http://people.bath.ac.uk/enpsgp/Zaurus/r_in_oe/


Si
Go to the top of the page
 
+Quote Post
Hakkikkt
post Jan 10 2006, 10:20 AM
Post #8





Group: Members
Posts: 21
Joined: 15-April 04
From: Brugg, Schweiz
Member No.: 2,858



Thanks lardman.
I see you were nearly successfull.
At the moment I try to get a native fortran compiler. I might try a native build and hope that solves the problem with the packages...
have fun, Georg
Go to the top of the page
 
+Quote Post
radiochickenwax
post Jan 21 2007, 12:33 PM
Post #9





Group: Members
Posts: 158
Joined: 21-November 04
Member No.: 5,548



Up unitl lately, I've been using the debian-arm versions, and those are too slow for regular use. I mostly want to port a bunch of MATLAB programs to R or Octave or both.

Any news on this? No one's compiled g77 natively for pdaXrom yet? It would be really nice to update the entire gcc suite. Has anyone managed to do this yet? Any tips? I'd really like more up to date versions of R and octave.
Go to the top of the page
 
+Quote Post
kkazakov13
post Jan 22 2007, 01:32 AM
Post #10





Group: Members
Posts: 409
Joined: 3-December 06
Member No.: 13,063



This requires F77 or F2C to compile ... any idea from where to get them?
Go to the top of the page
 
+Quote Post
Hakkikkt
post Jan 22 2007, 03:22 AM
Post #11





Group: Members
Posts: 21
Joined: 15-April 04
From: Brugg, Schweiz
Member No.: 2,858



Hoi,
I have R (and additional packages like gstat) running under Opie/Gpe. See here:
http://www.oesf.org/forums/index.php?showtopic=21938&hl=

It should be possible to do it in a similar way with pdaxrom too (using qemu for performance/memory reasons ...).
Have fun, Georg
Go to the top of the page
 
+Quote Post
radiochickenwax
post Jan 22 2007, 12:52 PM
Post #12





Group: Members
Posts: 158
Joined: 21-November 04
Member No.: 5,548



QUOTE
This requires F77 or F2C to compile ... any idea from where to get them?

I compiled "F2C" from http://www.netlib.org/f2c/. It's pretty awkward to use (and build), but it seems to work.

G77 should be a reasonable replacement for F77. There's supposedly a version bundled with the cross-sdk, but I can't figure out how to use it yet. I've tried to cross-compile the whole GCC suite (which would include G77 by default,) but it seems to fail upon certain assembly routines.

I ran out of memory today, but I'll try again with F2C.
Go to the top of the page
 
+Quote Post
lardman
post Jan 22 2007, 02:58 PM
Post #13





Group: Members
Posts: 4,515
Joined: 25-October 03
From: Bath, UK
Member No.: 464



Building with f2c always used to fail for me, eventually I had to find/build a cross toolchain with f77/g77.

With that said, I've not got round to doing anything more on it (there is/was a segfault in the f77/g77 compiler iirc).

I must have another go now that I have broadband smile.gif (late starter wink.gif )


Si
Go to the top of the page
 
+Quote Post
Hakkikkt
post Jan 23 2007, 05:10 AM
Post #14





Group: Members
Posts: 21
Joined: 15-April 04
From: Brugg, Schweiz
Member No.: 2,858



I used the g77 version in the native version (native sdk kit) about a year ago. Compiling simple fortran code worked, but I had trouble linking mixed fortran/c objects (which was necessary for R).
It may be easier to do a native compilation of a recent gcc version and use that version ....

Georg
Go to the top of the page
 
+Quote Post
radiochickenwax
post Jan 25 2007, 06:08 PM
Post #15





Group: Members
Posts: 158
Joined: 21-November 04
Member No.: 5,548



QUOTE
Posted Jan 23 2007, 01:10 PM
  I used the g77 version in the native version (native sdk kit) about a year ago.


Which version of the native sdk was this? Is it still available? I've been trying to rebuild gcc3.4.5, but I'm having lots of problems doing so.
Go to the top of the page
 
+Quote Post

2 Pages V   1 2 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 1st August 2014 - 01:53 AM