R programming language; installing on Wary

Using applications, configuring, problems
Post Reply
Message
Author
schober
Posts: 34
Joined: Fri 29 May 2015, 12:00

R programming language; installing on Wary

#1 Post by schober »

I've been running Wary 5.5 on a 1ghz P4 with 250mb ram for a few years (os on cd; sfs on hd)
I want to install R
https://en.wikipedia.org/wiki/R_%28prog ... anguage%29
https://www.r-project.org/
This looks easy if you have ubuntu!
http://www.jason-french.com/blog/2013/0 ... -in-linux/

q1 Can I get Wary's PPM to use the ubuntu/debian repositories?
There has been some discussion at
http://www.murga-linux.com/puppy/viewtopic.php?p=800137
http://www.murga-linux.com/puppy/viewto ... 201b4f6dbb
Would it work in Wary? ........... it looks quite complicated!
Also, instaling from source looks even more daunting ........... all those dependencies!
https://cran.r-project.org/doc/manuals/ ... -libraries

q2 Would it be better if I made a cd of a more suitable (& uptodate) puppy and used that instead of Wary 5.5(permanently) in order to use the ubuntu/debian repository? If so, which one?

User avatar
Keef
Posts: 987
Joined: Thu 20 Dec 2007, 22:12
Location: Staffordshire

#2 Post by Keef »

schober

I have never used R, and Wary was way back, but just for the sake of it:
R 3.1.0 sfs
It is an older version, but it compiled without any complaints, just ran ./configure then make.
I did try the latest version (3.5.2), but it has missing libs (or out of date ones), and not in the mood to chase them up right now.
'R' starts up in the console, but that is as much as I have tested it.

schober
Posts: 34
Joined: Fri 29 May 2015, 12:00

#3 Post by schober »

Hmmmm .................. the link leads to this site
https://www47.zippyshare.com/v/iepVNxql/file.html
which wants me to take part in a porn game!

User avatar
Keef
Posts: 987
Joined: Thu 20 Dec 2007, 22:12
Location: Staffordshire

#4 Post by Keef »

The link is working ok for me. No idea why it is playing silly buggers for you.

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#5 Post by bigpup »

I think he/she is talking about the add links on that web site.

It is a little confusing, what to click on, to get your sfs package.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

User avatar
Keef
Posts: 987
Joined: Thu 20 Dec 2007, 22:12
Location: Staffordshire

#6 Post by Keef »

Ah, I think may have copied the wrong link! I've used Zippy before, but it was a while ago.
I'll re-upload and try again.

EDIT - no, the link was correct.
I've uploaded again and checked that it works.

https://www52.zippyshare.com/v/EQyz8AY4/file.html

Strangely, I went back to the original, and it is behaving now.
Last edited by Keef on Sun 20 Jan 2019, 16:11, edited 1 time in total.

schober
Posts: 34
Joined: Fri 29 May 2015, 12:00

#7 Post by schober »

I clicked the link with javascript off; the page loaded; clicked the orange download; nothing happened ; turned javascript on & refreshed - thats when things went wrong!

1)Tried 2nd time and downloaded the sfs file
2) Clicked on it and it was copied to /mnt/home & loaded
3)/mnt/home now has 2 new files
warysave-warysave22may.2fs
R-3.1.0_5.5.sfs
4) Typed R at console & got error
/usr/local/lib/R/bin/exec/R: error while loading shared libraries: libgfortran.so.3: cannot open shared object file: No such file or directory

Next steps
qu1) Should I (havent done this yet)
cd /mnt/home
& then configure R-3.1.0_5.5.sfs
& then make R-3.1.0_5.5.sfs

qu2) What about gfortran & libgfortran3:i386:?
Do I need linux-header-2.6.19.1 (according to PPM this is the devx file & AIUI devx contains gfortran things)

User avatar
Keef
Posts: 987
Joined: Thu 20 Dec 2007, 22:12
Location: Staffordshire

#8 Post by Keef »

Yes, it looks like you will need the devx. I started with a pristine Wary, but needed the devx in order to compile R of course.

step
Posts: 1349
Joined: Fri 04 May 2012, 11:20

#9 Post by step »

Not to be over-pessimistic but I'm skeptical that R will run well enough with 250MB RAM because it loads objects in RAM as a whole (as opposed to in chunks as other languages do).

Have you considered an online REPL? Some options:

https://github.com/datacamp/datacamp-light
https://cdn.datacamp.com/dcl-react/stan ... ample.html
https://rdrr.io/snippets/

Anyway, you will need C, C++ and a fortran compilers to use R, specifically to compile the many packages that extend the language. Packages in R for Windows are distributed as binaries, but R for Linux and Mac distribute packages in source code form that R compiles on the fly when you install a package. It's all automatic and I've never seen a compile fail (well, it would fail if your system lacks some very common shared library).
Last edited by step on Mon 21 Jan 2019, 07:24, edited 1 time in total.
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]

User avatar
Mike Walsh
Posts: 6351
Joined: Sat 28 Jun 2014, 12:42
Location: King's Lynn, UK.

#10 Post by Mike Walsh »

The link came up OK for me, too.....but then I run uBlock in all my Pups/browsers. Which like as not kills all the ad-links!


Mike. :wink:

schober
Posts: 34
Joined: Fri 29 May 2015, 12:00

#11 Post by schober »

Thanks for all the replies
I will have to look into this memory business
The reason I wanted R is to use a package (Rpnf)that plots point & figure charts like this
http://tinyurl.com/yccgb2gm
RPNF has the advantage that it allows log scaling and has a manual!
http://rpnf.r-forge.r-project.org/
https://cran.r-project.org/web/packages/rpnf/index.html
There is also one needing Ruby & the Gems installer
https://rubygems.org/gems/point_and_figure
And another for Python
https://pypi.org/project/pypf/

Anyway, I temporarily gave up on R & ended up installing Activestate Python3.6.0 and Pypf, both seem to work in Wary5.5 with modest ram
https://www.activestate.com/Products/ac ... downloads/
(I had earlier tried to install Miniconda but it failed)

Post Reply