Skip to content

Query about building R-2.3.1 for Ubuntu

5 messages · Arin Basu, Dirk Eddelbuettel, Adrian Dusa

#
Hi All:

Is a distribution of R version 2.3.1 (the current version) available for the Ubuntu Linux? If I want to build a .deb package for R-2.3.1 for Ubuntu, are there specific requirements that I should be aware of? Is a tutorial available? I searched the web, and the repositories, but oculd not locate an appropriate file.

TIA,
Arin Basu
#
On 8 June 2006 at 01:04, arin basu wrote:
| Is a distribution of R version 2.3.1 (the current version) available for
| the Ubuntu Linux? 

Maybe a question for the Ubuntu lists ??

| If I want to build a .deb package for R-2.3.1 for Ubuntu,
| are there specific requirements that I should be aware of? Is a tutorial

Specific to R ? Why ? 

| available? I searched the web, and the repositories, but oculd not locate an
| appropriate file. 

My workstation at work is a relatively recent Ubuntu install. What I do there
is simply:

a)  add Debian unstable sources [ but not binaries ] to /etc/apt/sources.list
b)  run 'apt-get source foo' any $foo I want
c)  edit foo-*/debian/changelog to note that it is a local build
d)  dpkg-builpackage -rfakeroot -us -uc -tc
e)  install the locally-built package

Works well enough. Does anybody have anything slicker?

Dirk
#
Hello Arin,

I doubt anyone has built a deb package for the latest release. What I do is to 
compile R from sources. It takes about 15 minutes or so, but it's worth it: 
you'll have a perfect installation for your box.
I use this command (having previously installed tcl and tk and their 
corresponding dev packages):

./configure --with-tcl-config=/usr/lib/tcl8.4/tclConfig.sh 
--with-tk-config=usr/lib/tk8.4/tkConfig.sh
make
sudo make install

HTH,
Adrian
On Thursday 08 June 2006 11:04, arin basu wrote:

  
    
#
On 9 June 2006 at 08:17, Adrian DUSA wrote:
| Hello Arin,
| 
| I doubt anyone has built a deb package for the latest release. 

Wrong. See e.g. one of  
	http://changelogs.debian.net/r-base
	http://packages.qa.debian.org/r/r-base.html
	
As all previous releases R 2.3.1 was in Debian within a day, in this case
within hours, of its release.

| What I do is to 
| compile R from sources. It takes about 15 minutes or so, but it's worth it: 
| you'll have a perfect installation for your box.
| I use this command (having previously installed tcl and tk and their 
| corresponding dev packages):
| 
| ./configure --with-tcl-config=/usr/lib/tcl8.4/tclConfig.sh 
| --with-tk-config=usr/lib/tk8.4/tkConfig.sh
| make
| sudo make install

And you miss several customizations and enhancements the package has. 

Regards, Dirk


| HTH,
| Adrian
|
| On Thursday 08 June 2006 11:04, arin basu wrote:
| > Hi All:
| >
| > Is a distribution of R version 2.3.1 (the current version) available for
| > the Ubuntu Linux? If I want to build a .deb package for R-2.3.1 for Ubuntu,
| > are there specific requirements that I should be aware of? Is a tutorial
| > available? I searched the web, and the repositories, but oculd not locate
| > an appropriate file.
| >
| > TIA,
| > Arin Basu
| 
| -- 
| Adrian DUSA
| Arhiva Romana de Date Sociale
| Bd. Schitu Magureanu nr.1
| 050025 Bucuresti sectorul 5
| Romania
| Tel./Fax: +40 21 3126618 \
|           +40 21 3120210 / int.101
| 
| _______________________________________________
| R-SIG-Debian mailing list
| R-SIG-Debian at r-project.org
| https://stat.ethz.ch/mailman/listinfo/r-sig-debian
#
Thanks a lot!
I'll have a look on it right away :)
On Friday 09 June 2006 14:27, Dirk Eddelbuettel wrote: