Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 23 Oct 2019, 21:32
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
R programming language; installing on Wary
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [11 Posts]  
Author Message
schober

Joined: 29 May 2015
Posts: 34

PostPosted: Sat 19 Jan 2019, 10:38    Post subject:  R programming language; installing on Wary
Subject description: What's the best way?
 

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_%28programming_language%29
https://www.r-project.org/
This looks easy if you have ubuntu!
http://www.jason-french.com/blog/2013/03/11/installing-r-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/viewtopic.php?t=111398&sid=d02b8fff696b8bcfe3147d201b4f6dbb
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/r-release/R-admin.html#Essential-programs-and-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?
Back to top
View user's profile Send private message 
Keef


Joined: 20 Dec 2007
Posts: 971
Location: Staffordshire

PostPosted: Sat 19 Jan 2019, 17:01    Post subject:  

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.
Back to top
View user's profile Send private message 
schober

Joined: 29 May 2015
Posts: 34

PostPosted: Sun 20 Jan 2019, 06:59    Post subject:  

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!
Back to top
View user's profile Send private message 
Keef


Joined: 20 Dec 2007
Posts: 971
Location: Staffordshire

PostPosted: Sun 20 Jan 2019, 09:10    Post subject:  

The link is working ok for me. No idea why it is playing silly buggers for you.
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 12766
Location: S.C. USA

PostPosted: Sun 20 Jan 2019, 11:15    Post subject:  

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 Shocked
YaPI(any iso installer) http://www.murga-linux.com/puppy/viewtopic.php?t=107601
Back to top
View user's profile Send private message 
Keef


Joined: 20 Dec 2007
Posts: 971
Location: Staffordshire

PostPosted: Sun 20 Jan 2019, 11:56    Post subject:  

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, 12:11; edited 1 time in total
Back to top
View user's profile Send private message 
schober

Joined: 29 May 2015
Posts: 34

PostPosted: Sun 20 Jan 2019, 12:03    Post subject:  

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)
Back to top
View user's profile Send private message 
Keef


Joined: 20 Dec 2007
Posts: 971
Location: Staffordshire

PostPosted: Sun 20 Jan 2019, 12:14    Post subject:  

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.
Back to top
View user's profile Send private message 
step

Joined: 04 May 2012
Posts: 1214

PostPosted: Sun 20 Jan 2019, 12:55    Post subject:  

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/standalone-example.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).

_________________
Fatdog64-802|+Packages|Kodi|Findnrun|+forum|gtkmenuplus

Last edited by step on Mon 21 Jan 2019, 03:24; edited 1 time in total
Back to top
View user's profile Send private message 
Mike Walsh


Joined: 28 Jun 2014
Posts: 5493
Location: King's Lynn, UK.

PostPosted: Sun 20 Jan 2019, 20:39    Post subject:  

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

_________________
MY 'PUPPY' PACKAGES

Back to top
View user's profile Send private message 
schober

Joined: 29 May 2015
Posts: 34

PostPosted: Tue 22 Jan 2019, 11:29    Post subject:  

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/activepython/downloads/
(I had earlier tried to install Miniconda but it failed)
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [11 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0488s ][ Queries: 12 (0.0101s) ][ GZIP on ]