LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-16-2021, 07:44 AM   #1
keithpeter
Member
 
Registered: Nov 2015
Location: 52:30N 1:55W
Distribution: Slackware 15.0, OpenBSD 7.4
Posts: 310

Rep: Reputation: Disabled
Recipe for installing a recent RStudio on current64


Hello All

I'm testing current on an old laptop. I skipped the kde package set, apart from that it is a full 64 bit install, updated to today. I'm using xfce4.

R is a command line based statistical language that is quite popular. There is a slackbuild for it on slackbuilds.org and it is a simple compilation with no external dependencies.

RStudio is an IDE for R which is often referred to in books about R. RStudio distribute binary builds for .rpm and for .deb. The source code is available but it is a complex compilation with a lot of dependencies. There is a slackbuild for version 1.1.4 of RStudio that re-packages the .deb based binary. RStudio 1.1.4 is the last version (I think) that supports 32 bit, the newer ones are 64 bit only. I decided to try installing the most recent version of RStudio, 1.4.x on current.

After some head scratching and googling, I found that you need to

Here 'convert' means using rpm2tgz. I'm familiar with that script so that is what I used.

The T61p Thinkpad has nvidia graphics and I have not installed the nvidia drivers, so I had to add the line below to RStudio's desktop.ini file to disable accelerated graphics for just RStudio.

Code:
ash-5.1$ cat /home/keith/.config/RStudio/desktop.ini
[General]
...
desktop.renderingEngine=software
...
I'm wondering if this recipe looks sort of sensible and/or there is an obviously easier way. It works fine... at the moment
 
Old 03-16-2021, 08:02 AM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
After building any new version of R, my first three commands are:
Code:
chooseCRANmirror()
install.packages("Rcmdr", dep=T)
library(Rcmdr)
That installs and runs R Commander, which I have found to be a very useable interface to R. IMHO, Rstudio is overkill.

Last edited by allend; 03-16-2021 at 08:03 AM.
 
1 members found this post helpful.
Old 03-16-2021, 11:31 AM   #3
keithpeter
Member
 
Registered: Nov 2015
Location: 52:30N 1:55W
Distribution: Slackware 15.0, OpenBSD 7.4
Posts: 310

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by allend View Post
That installs and runs R Commander, which I have found to be a very useable interface to R.
Thanks for your reply.

Installs using those commands as user on current fine, and yes, it is what I would call a graphical interface to an R session. I also like how it compiles in the user directory - takes a bit of time on a core duo.

At present, the book I'm working through is based around RStudio, which, as you say, is an IDE with bells and whistles. I quite like the tab-completion with links to help &c.
 
1 members found this post helpful.
Old 03-16-2021, 06:12 PM   #4
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
Takes even longer on an Atom N270, although these days I set up icecream to a beefier machine before building. The bottleneck is still the linking, but all the compiling ends up being passed to the beefier machine.
I do not miss tab completion as most of the time I end up needing to replicate small stanzas with changes where tab completion would not help.
My R scripts are often sprinkled with ?<something> lines to bring up the documentation. I also seemed to have trained Google to quickly point me to relevant R guides.

Glad you are happy. Good luck!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] RStudio compile fails on current canadensis Slackware 10 02-27-2018 01:53 PM
LXer: Getting started with the RStudio IDE LXer Syndicated Linux News 0 02-14-2018 02:33 AM
[SOLVED] Debian 8.1 (Jessie) problem with remote connection (xrdp, rstudio-server) camsique Debian 1 07-13-2015 06:09 AM
[SOLVED] Rstudio install problem (using sbopkg) koolimy Slackware 14 07-05-2015 06:23 AM
Slackbuild for rstudio BroX Slackware 26 10-06-2013 07:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration