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 Thu 27 Jul 2017, 13:00
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Engineering/Science/Simulation
64-bit R Language and RStudio IDE - updated 2017-07-03
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [24 Posts]   Goto page: Previous 1, 2
Author Message
Puppyt

Joined: 09 May 2008
Posts: 690
Location: Gatton, Queensland

PostPosted: Fri 13 Jan 2017, 05:23    Post subject:  

Hi again step -
thanks for the diagnostic outline in the previous 2 posts, just double-checked that I had downloaded "studio-1.0.136-x86_64-1.txz" instead of a 32-bit version, so all good there (?).
Chronological responses to your queries:
Code:
# which rstudio
/usr/bin/rstudio
# rstudio
/usr/lib/rstudio-1.0.136/bin/rstudio: error while loading shared libraries: libgstreamer-0.10.so.0: cannot open shared object file: No such file or directory
# /usr/lib/rstudio-1.0.136/bin/rstudio
/usr/lib/rstudio-1.0.136/bin/rstudio: error while loading shared libraries: libgstreamer-0.10.so.0: cannot open shared object file: No such file or directory

But a-ha
Quote:
---> Do you have these files?
usr/lib64/libgstreamer-0.10.la
/usr/lib64/libgstreamer-0.10.so
/usr/lib64/libgstreamer-0.10.so.0

Not there. Odd, as when I tried to install libgstreamer0.10-0_0.10.36-1.5_amd64.deb (converted to txz first) from the Jessie64 repositories, just before I saw your posts, I was informed that the install was fine and good. I couldn't locate libgstreamer in the FatDog gslapt repositories, and after reading around thought the DEB was a fair choice. Mind, I had already run a pFind on the entire install previously for libgstreamer files so that I might symlink the files as needed, and nothing was found.
So now on rechecking that deb install, I have only libgstreamer-0.10.so.0 from your list, tucked away in /usr/lib/x86_64-linux-gnu/libgstreamer-0.10.so.0.
Did I install the wrong devx (currently loaded as /aufs/devsave/fd64-devx_710.sfs)?
Cheers, Puppyt
PS 'env' looks kosher
Code:
# env
CPLUS_INCLUDE_PATH=:/opt/qt5/include
HOSTNAME=fatdog64-c12
XDG_DATA_HOME=/root/.local/share
SHELL=/bin/sh
TERM=rxvt-unicode
DEFAULTDRAW=/usr/local/bin/defaultdraw
WINDOWID=37748742
QT5DIR=/opt/qt5
BOOTSTATE_PATH=/etc/BOOTSTATE
QT_XKB_CONFIG_ROOT=/usr/share/X11/xkb
USER=root
HISTFILESIZE=1000
LD_LIBRARY_PATH=/lib64:/usr/lib64:/usr/local/lib64:/usr/lib64/seamonkey:/lib:/usr/lib:/lib32:/usr/lib32:/usr/local/lib:/usr/local/lib32:/opt/qt5/lib64
ENV=/etc/shinit
RGBDEF=/usr/share/X11/rgb.txt
FATDOG_STATE_DIR=/root/.fatdog
DEFAULTPAINT=/usr/local/bin/defaultpaint
MOZ_DISABLE_PANGO=1
MOZ_PLUGIN_PATH=/usr/lib64/mozilla/plugins
XDG_CONFIG_DIRS=/etc/xdg
PATH=/usr/local/bin:/usr/bin:/usr/sbin:/bin:/sbin:/opt/qt5/bin
DEFAULTBROWSER=/usr/local/bin/defaultbrowser
DEFAULTMEDIAPLAYER=/usr/local/bin/defaultmediaplayer
DEFAULTARCHIVER=/usr/local/bin/defaultarchiver
PWD=/root
INPUTRC=/etc/inputrc
EDITOR=geany
QT5_LD_LIBRARY_PATH=/opt/qt5/lib64
QT5_CPLUS_INCLUDE_PATH=/opt/qt5/include
LANG=en_AU.UTF-8
TZ=:/etc/localtime
DEFAULTHTMLEDITOR=/usr/local/bin/defaulthtmleditor
HISTCONTROL=erasedups
DEFAULTSPREADSHEET=/usr/local/bin/defaultspreadsheet
XSESSION_ID=6b2aac14
COLORFGBG=15;default;0
HOME=/root
SHLVL=4
XDG_CONFIG_HOME=/root/.config
XDG_CACHE_HOME=/root/.cache
G_FILENAME_ENCODING=@locale
LOGNAME=root
XDG_DATA_DIRS=/usr/share:/usr/local/share
QT5_PKG_CONFIG_PATH=/opt/qt5/lib64/pkgconfig
PKG_CONFIG_PATH=/usr/lib64/pkgconfig:/opt/qt5/lib64/pkgconfig
BROWSER=/usr/local/bin/defaultbrowser
WINDOWPATH=4
QT5_PATH=/opt/qt5/bin
DISPLAY=:0
MM_RUNASROOT=1
DEFAULTWORDPROCESSOR=/usr/local/bin/defaultwordprocessor
DEFAULTTEXTEDITOR=/usr/local/bin/defaulttexteditor
OUTPUT_CHARSET=UTF-8
TEXTDOMAINDIR=/usr/share/locale
COLORTERM=rxvt-xpm
_=/usr/bin/env
#

_________________
What I get up to when I'm not on the Puppy Linux Murga forum:
http://scholar.google.com/citations?user=EMQxfgYAAAAJ
Back to top
View user's profile Send private message Visit poster's website 
step

Joined: 04 May 2012
Posts: 889

PostPosted: Fri 13 Jan 2017, 06:44    Post subject:  

OK, I think I understand now. I had wrongly assumed that are loading the rstudio sfs but of course not, you're installing the txz. When I packaged the txz I forgot to show two dependencies: gstreamer-0.10.36-x86_64-1.txz and gst-plugins-base-0.10.36-x86_64-1.txz.
---> Run gslapt, click Update, then install those packages, if they aren't there.

I will fix the dependencies of the rstudio package and re-upload it. You don't need to download it again, as long as you install those two above.

The rstudio sfs I PMed you, doesn't have this problem because it includes the missing libs.

_________________
Fatdog64-710|+Packages|Findnrun|+forum|gtkmenuplus
Back to top
View user's profile Send private message 
Puppyt

Joined: 09 May 2008
Posts: 690
Location: Gatton, Queensland

PostPosted: Fri 13 Jan 2017, 06:57    Post subject:  

YESSS!! Those 2 files were the bugbears, but now RStudio is up and running! Interested in seeing how the other more popular R GUIs (JGR/Deducer, PMG, RKWARD etc) compare. Hopeful at any rate to finally get a working relationship up and running with R and some higher-end modeling. Will get my teeth into using the FatDog64 environment first, before spreading out into the Puppy variants as per your clear caveats in the readmes'. 3 Cheers, step Very Happy
_________________
What I get up to when I'm not on the Puppy Linux Murga forum:
http://scholar.google.com/citations?user=EMQxfgYAAAAJ
Back to top
View user's profile Send private message Visit poster's website 
step

Joined: 04 May 2012
Posts: 889

PostPosted: Fri 13 Jan 2017, 07:55    Post subject:  

Yes! I'm glad that it's installed correctly now, and that you're enthusiastic about getting into R!

Now I'm going to do a postmortem.

Puppyt wrote:
...
But a-ha
Quote:
---> Do you have these files?
usr/lib64/libgstreamer-0.10.la
/usr/lib64/libgstreamer-0.10.so
/usr/lib64/libgstreamer-0.10.so.0

Not there. Odd, as when I tried to install libgstreamer0.10-0_0.10.36-1.5_amd64.deb (converted to txz first) from the Jessie64 repositories, just before I saw your posts, I was informed that the install was fine and good. I couldn't locate libgstreamer in the FatDog gslapt repositories, and after reading around thought the DEB was a fair choice. Mind, I had already run a pFind on the entire install previously for libgstreamer files so that I might symlink the files as needed, and nothing was found.
So now on rechecking that deb install, I have only libgstreamer-0.10.so.0 from your list, tucked away in /usr/lib/x86_64-linux-gnu/libgstreamer-0.10.so.0.
Did I install the wrong devx (currently loaded as /aufs/devsave/fd64-devx_710.sfs)?
Cheers, Puppyt

You loaded the correct devx sfs.
You didn't install dependencies correctly: gstreamer-0.10.36-x86_64-1.txz and gst-plugins-base-0.10.36-x86_64-1.txz
I am guessing that you didn't install the rstudio txz through gslapt, because otherwise gslapt would have informed you about the dependencies and offered to download and install them for you. You must have downloaded the rstudio txz directly from the fatdog repo storage area and installed it manually. When you do something like that (which I often do myself) do read the corresponding .meta file. It will tell you all you need to know to be successful installing the package. In this case rstudio-1.0.136-x86_64-1.meta file says
Code:

PACKAGE NAME:  rstudio-1.0.136-x86_64-1.txz
PACKAGE LOCATION:  .
PACKAGE SIZE (compressed):  61958 K
PACKAGE SIZE (uncompressed):  418700 K
PACKAGE REQUIRED:  libjpeg,R,gstreamer >= 0.10.36-x86_64-1,gst-plugins-base >= 0.10.36-x86_64-1
PACKAGE CONFLICTS: 
PACKAGE SUGGESTS: 
PACKAGE DESCRIPTION:
rstudio: RStudio Desktop 1.0.136 (IDE)
rstudio: 
rstudio: RStudio 1.0.136 - IDE for R.
rstudio:
rstudio: RStudio is a set of integrated tools designed to help you be
rstudio: more productive with R. It includes a console, a
rstudio: syntax-highlighting editor that supports direct code execution,
rstudio: as well as tools for plotting, history, and workspace
rstudio: management. 
rstudio:
rstudio: http://www.rstudio.com

See the PACKAGE REQUIRED entry? Incidentally, that tells me that I don't need to fix my package because it's already showing all the necessary dependencies.
The second thing you didn't do correctly is to assume that .deb packages from another distro will work correctly. The major caveat there is that 64-bit distributions use different conventions for the location of library files. I think Debian favors /lib and /usr/lib. Fatdog64 favors /lib64 and /usr/lib64 for 64-bit libs, and /lib, /usr/lib for 32-bit libs. Remember, Fatdog64 is dual architecture OOTB, 64 and 32. But you need to load the 32bit sfs if you want the 32-bit environment. You would do that, for instance, to run 32-bit programs from previous Puppies.
So, I'm guessing that when you installed the libgstreamer .deb downloaded from out there, gstreamer got installed in /usr/lib instead of /usr/lib64. But anyway, you get the point, be careful about mixing 32- and 64-bit library paths. If memory serves, I think I have better luck mixing in Slackware packages.
The Fatdog64 development environment is excellent, so 99% of the times I resort to compiling what I need.

_________________
Fatdog64-710|+Packages|Findnrun|+forum|gtkmenuplus
Back to top
View user's profile Send private message 
step

Joined: 04 May 2012
Posts: 889

PostPosted: Sat 18 Mar 2017, 14:32    Post subject: Announcing R-3.3.3  

The R Project for Statistical Computing 3.3.3 is available for download from ibiblio.

Fatdog64-710 users should install directly from the gslapt package manager.
Other Puppy users please read the README file.

All users' README https://drive.google.com/open?id=0B932fvbgcXnMZnNUTEwxN2VmSjQ.

SFS packages and a collection of pre-compiled R packages can be found in this shared folder https://drive.google.com/open?id=0B932fvbgcXnMOW1TSDhyN0N4ajA. For the latest rstudio and older version packages please look for shared folders links going back in this thread.

I update the pre-compiled R package collection silently, so visit the link from time to time to find out what's new. Having these packages is just a convenience; you can build all R packages from R itself, provided that you have working C++ and fortran compilers installed. You need to load the devx.sfs and check that the gcc and gfortran commands are available (they are in Fatdog64).

These packages include two ROX-apps and can install desktop icons and file associations. The installer scripts support keeping multiple side-by-side R and rstudio versions. So you should be able to try a new version without affecting an older version. Uninstalling the package from its ROX-app right-click menu is recommended. The README file points out specific install/uninstall instructions for Puppy users. Fatdog64 users don't need to worry.

_________________
Fatdog64-710|+Packages|Findnrun|+forum|gtkmenuplus
Back to top
View user's profile Send private message 
jamesbond

Joined: 26 Feb 2007
Posts: 3051
Location: The Blue Marble

PostPosted: Sat 18 Mar 2017, 14:40    Post subject:  

Thank you step for maintaining this.
_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread.
Back to top
View user's profile Send private message 
step

Joined: 04 May 2012
Posts: 889

PostPosted: Thu 11 May 2017, 11:23    Post subject:
Subject description: Announcing R 3.4.0 and rstudio 1.0.143
 

R Project for Statistical Computing 3.4.0 and RStudio 1.0.143 R IDE are available for download from ibiblio.

Fatdog64-710 users should install directly from the gslapt package manager.
Other Puppy users please read the README file.

All users' README https://drive.google.com/open?id=0B932fvbgcXnMZnNUTEwxN2VmSjQ.

SFS packages and a collection of pre-compiled R packages can be found in this shared folder https://drive.google.com/open?id=0B932fvbgcXnMZkxlVUxLa29TU28. For the latest rstudio and older version packages please look for shared folders links going back in this thread.

I update the pre-compiled R package collection silently, so visit the link from time to time to find out what's new. Having these packages is just a convenience; you can build all R packages from R itself, provided that you have working C++ and fortran compilers installed. You need to load the devx.sfs and check that the gcc and gfortran commands are available (they are in Fatdog64).

These packages include two ROX-apps and can install desktop icons and file associations. The installer scripts support keeping multiple side-by-side R and rstudio versions. So you should be able to try a new version without affecting an older version. Uninstalling the package from its ROX-app right-click menu is recommended. The README file points out specific install/uninstall instructions for Puppy users. Fatdog64 users don't need to worry.

_________________
Fatdog64-710|+Packages|Findnrun|+forum|gtkmenuplus
Back to top
View user's profile Send private message 
Puppyt

Joined: 09 May 2008
Posts: 690
Location: Gatton, Queensland

PostPosted: Thu 11 May 2017, 20:14    Post subject:  

Cheers step - still hoping to get around to using R habitually, really appreciate your efforts here, Thank You Smile
_________________
What I get up to when I'm not on the Puppy Linux Murga forum:
http://scholar.google.com/citations?user=EMQxfgYAAAAJ
Back to top
View user's profile Send private message Visit poster's website 
step

Joined: 04 May 2012
Posts: 889

PostPosted: Mon 03 Jul 2017, 01:52    Post subject:
Subject description: Announcing R 3.4.1
 

R Project for Statistical Computing 3.4.1 and RStudio 1.0.143 R IDE are available for download from ibiblio.

Fatdog64-710 users should install directly from the gslapt package manager.
Other Puppy users please read the README file.

All users' README https://drive.google.com/open?id=0B932fvbgcXnMbTN6dmxpTHlYRmc.

SFS packages and a collection of pre-compiled R packages can be found in this shared folder https://drive.google.com/open?id=0B932fvbgcXnMWVFRVFlmSU5zWDA. For the latest rstudio and older version packages please look for shared folders links going back in this thread.

I update the pre-compiled R package collection silently, so visit the link from time to time to find out what's new. Having these packages is just a convenience; you can build all R packages from R itself, provided that you have working C++ and fortran compilers installed. You need to load the devx.sfs and check that the gcc and gfortran commands are available (they are in Fatdog64).

These packages include two ROX-apps and can install desktop icons and file associations. The installer scripts support keeping multiple side-by-side R and rstudio versions. So you should be able to try a new version without affecting an older version. Uninstalling the package from its ROX-app right-click menu is recommended. The README file points out specific install/uninstall instructions for Puppy users. Fatdog64 users don't need to worry.

_________________
Fatdog64-710|+Packages|Findnrun|+forum|gtkmenuplus
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 2 [24 Posts]   Goto page: Previous 1, 2
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Engineering/Science/Simulation
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.1285s ][ Queries: 15 (0.0215s) ][ GZIP on ]