Bruce Pennypacker | 21 May 22:30
Picon

tcktk problem with custom R 2.15.0 build on RHEL5

Hi all,

Please bear with me because I'm not all that familiar with R. I manage a 
research cluster that's running Red Hat 5.6 (64-bit), and we recently 
installed version 2.15.0 of R for some users.  Here's how we built it:

./configure --prefix=/opt/shared/R/2.15.0 --with-tcltk --with-system-zlib --with-system-bzlib
--with-system-pcre --with-lapack --enable-R-shlib

When we ran "make check-all" it didn't report any obvious problems, and 
we successfully installed a number of add-on's from CRAN.  But when one 
of our users tries to use R with tcltk he runs into a problem:

R version 2.15.0 (2012-03-30)
Copyright (C) 2012 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: x86_64-unknown-linux-gnu (64-bit)
...

 > library("sqldf")
Loading required package: DBI
Loading required package: gsubfn
Loading required package: proto
Loading required namespace: tcltk
Loading Tcl/Tk interface ... done
Loading required package: chron
Loading required package: RSQLite
Loading required package: RSQLite.extfuns
 > result<-sqldf("select data.*, meth450part.chromStart as 
MethChromStart, meth450part.chromEnd as MethChromEnd, meth450part.strand 
(Continue reading)

Badoo | 21 Apr 03:47
Favicon

Paulo Sousa deixou uma mensagem para você...

Paulo Sousa deixou uma mensagem para você...

Só você pode ler o conteúdo desta mensagem e ver quem a enviou. Delete a qualquer momento  ou
responda imediatamente com o sistema de troca de mensagens. Para descobrir o que diz a mensagem, siga este
link. 
http://eu1.badoo.com/0278107725/in/XTpafbiaVyU/?lang_id=61&m=63&mid=4f9211a500000000003d00006126f86d

Mais gente dessa região que está no Badoo
Reis (Porto, Portugal)
Diana (Porto, Portugal)
Stefania (Porto, Portugal)

http://eu1.badoo.com/0278107725/in/XTpafbiaVyU/?lang_id=61&m=63&mid=4f9211a500000000003d00006126f86d

Se o link desta mensagem não funcionar, copie e cole-o em seu navegador. 

Este email faz parte de nosso sistema de entrega para a mensagem enviada por Paulo Sousa. Se recebeu este
email por engano, por favor ignore-o. A mensagem será deletada em breve. 

Divirta-se!
A Equipe Badoo

Este email foi enviado por Badoo Trading Limited (endereço postal abaixo). 
http://eu1.badoo.com/impersonation.phtml?lang_id=61&mail_code=63&email=r-sig-fedora%40r-project.org&secret=&action=block&block_code=e0e30f&m=63&mid=4f9211a500000000003d00006126f86d
Badoo Trading Limited é uma empresa registrada na Inglaterra e País de Gales com CRN 7540255 e firma
registrada no seguinte endereço 12 Red Lion Square, Londres, WC1R 4QD.
	[[alternative HTML version deleted]]

(Continue reading)

Petar Milin | 18 Apr 19:15
Favicon

Re: Installing texlive dependencies


I did not want to offend anyone, or someone's effort. I wrote that I
tried it with F15, which is a time ago. Sorry if I sounded rude!
Anyway, it could be that TeXLive 2011 is working better now, but the
question remains: R will ask for the dependencies, since TeXLive 2011,
even from repositories, will install in different directory, not the
'/usr/share/texmf'. What to do with this issue?

Thanks!
PM

On Wed, 2012-04-18 at 17:18 +0100, Johannes Lips wrote:
> This repo works totally fine for me for a couple of months now, so I
> don't think it's that bad.
> And the people working on it trying hard to make the Texlive
> experience on fedora better...
> 
> On Wed, Apr 18, 2012 at 5:11 PM, Petar Milin <pmilin@...>
> wrote:
>         
>         Yes, I tried that alternative repo with F15, but it is quite
>         messy. If
>         you read carefully various posts, then you will realize that
>         the right
>         way is to use CTAN installation, not what is offered under
>         Fedora's
>         umbrella, so to say. TeXLive in Fedora seems to be in a
>         sorrowful state.
>         
>         Best,
(Continue reading)

Petar Milin | 18 Apr 18:11
Favicon

Re: Installing texlive dependencies


Yes, I tried that alternative repo with F15, but it is quite messy. If
you read carefully various posts, then you will realize that the right
way is to use CTAN installation, not what is offered under Fedora's
umbrella, so to say. TeXLive in Fedora seems to be in a sorrowful state.

Best,
PM

On Wed, 2012-04-18 at 17:07 +0100, Johannes Lips wrote:
> Check out this page, it also offers a repo for texlive 2011 on f16.
> http://fedoraproject.org/wiki/Features/TeXLive
> 
> On Wed, Apr 18, 2012 at 4:54 PM, Petar Milin <pmilin@...>
> wrote:
>         Hello ALL!
>         I am running Fedora 16 x86_64. Due to some dubious problems,
>         that i
>         couldn't resolve, with the TeXLive (2007, which is a default),
>         I removed
>         it. That removed R as well, and some other dependent packages.
>         Then, I
>         installed TeXLive 2011 from CTAN. However, when I wanted to
>         install R,
>         from Fedora's repositories, it asks for some TeX dependencies
>         (for
>         example, tex-preview, texinfo-tex, texlive, texlive-dvips
>         etc.).
>         I know that new TeX is installed in other place
>         (/usr/local/texlive/2011/), than the old, default of the Tex
(Continue reading)

Petar Milin | 18 Apr 17:54
Favicon

Installing texlive dependencies

Hello ALL!
I am running Fedora 16 x86_64. Due to some dubious problems, that i
couldn't resolve, with the TeXLive (2007, which is a default), I removed
it. That removed R as well, and some other dependent packages. Then, I
installed TeXLive 2011 from CTAN. However, when I wanted to install R,
from Fedora's repositories, it asks for some TeX dependencies (for
example, tex-preview, texinfo-tex, texlive, texlive-dvips etc.).
I know that new TeX is installed in other place
(/usr/local/texlive/2011/), than the old, default of the Tex 2007
(/usr/share/texmf/). But, I defined PATH properly:
PATH=/usr/local/texlive/2011/bin/x86-64-linux:$PATH
Also, I have tried with the symbolic link:
ln -s /usr/local/texlive/2011 /usr/share/texmf

So, I wonder why R asks for those TeX-packages? Can I tell it where to
look? In any case, how to fix this mess?

Thanks in advance,
Petar
Allen S. Rout | 13 Mar 22:04
Picon

R-repo.org ?


On a totally different topic (or maybe not so different)...

I noticed that r-repo.org's first release is also its last release. 
What's blocking you?  Can I help?

- Allen S. Rout
Allen S. Rout | 12 Mar 21:10
Picon

Trying to use current R2spec on RHEL.


Is there somewhere a succinct guide to just how much extra crud we need 
to install on RHEL to make use of EPEL packages?

[root <at> troll-1 noarch]# rpm -ivh R2spec-4.1.0-1.el6.noarch.rpm
error: Failed dependencies:
         fedora-packager is needed by R2spec-4.1.0-1.el6.noarch

[root <at> troll-1 noarch]# wget 
http://dl.fedoraproject.org/pub/epel/6/x86_64/fedora-packager-0.5.9.4-1.el6.noarch.rpm
[...]
[root <at> troll-1 noarch]# rpm -ivh fedora-packager-0.5.9.4-1.el6.noarch.rpm
error: Failed dependencies:
         bodhi-client is needed by fedora-packager-0.5.9.4-1.el6.noarch
         fedora-cert = 0.5.9.4-1.el6 is needed by 
fedora-packager-0.5.9.4-1.el6.noarch
         fedpkg >= 1.0 is needed by fedora-packager-0.5.9.4-1.el6.noarch
         koji is needed by fedora-packager-0.5.9.4-1.el6.noarch
         mock is needed by fedora-packager-0.5.9.4-1.el6.noarch
         redhat-rpm-config is needed by fedora-packager-0.5.9.4-1.el6.noarch
         rpmdevtools is needed by fedora-packager-0.5.9.4-1.el6.noarch
         rpmlint is needed by fedora-packager-0.5.9.4-1.el6.noarch
         ykpers is needed by fedora-packager-0.5.9.4-1.el6.noarch

Oy.

- Allen S. Rout
Mark Leeds | 25 Dec 04:39
Picon

install warning on fedora 16

Hi: I am working on some code in a package I'm writing and I'm getting the
warning below when I do
the install on a newly installed fedora 16 OS. But when I run the same
install on windows, I don't get the error.  and when I used to run the
install on Fedora 14 ( I missed Fedora 15 ), I didn't get the warning
there either ?

Does anyone know what the problem might be ? Maybe a difference with gcc ?
It's only a warning but it scares me a little because the variables should
be getting used contrary to what the warning says.
Thanks a lot for any hints/suggestions.

My session Info is below and the install output is after that. and happy
holidays to all also. and

#=======================================================================

 sessionInfo()
R version 2.14.0 (2011-10-31)
Platform: i386-redhat-linux-gnu (32-bit)

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C
LC_TIME=C                  LC_COLLATE=C
LC_MONETARY=C              LC_MESSAGES=en_US.UTF-8
 [7] LC_PAPER=C                 LC_NAME=C
LC_ADDRESS=C               LC_TELEPHONE=C
LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C

attached base packages:
(Continue reading)

Peter Baker | 14 Dec 09:08
Picon

error installing geepack on 64bit fedora 16

Hi

Does anyone know how to install geepack on fedora 16 - 64bit - R

google only yields a couple of hits with unanswered Q

Installation just throws an error with an undefined symbol. Previous
version won't load due to lack of NAMESPACE.  Sadly, its a show
stopper w.r.t. upgrading my work PCs

Any hints/suggestions most welcome

Thanks

Cheers
Peter

================================================================

> version
               _
platform       x86_64-redhat-linux-gnu
arch           x86_64
os             linux-gnu
system         x86_64, linux-gnu
status
major          2
minor          14.0
year           2011
month          10
(Continue reading)

Mark Leeds | 9 Nov 05:47
Picon

installing R from source on fedora

Hello: I've included a txt file ( some day, when I have more time, I'll turn it into latex )  that has the steps for installing R from source on Fedora. It was
written only for people like myself who find these  tasks difficult.

Also, could someone from the R-Sig-Fedora list let me know if the txt file was attached because I don't actually receive emails that I send to the R-Sig-Fedora list. ( not sure why this is ? ).   If it doesn't go through, I'll cut and paste and re-send it in the email itself. Thanks.







The following are instructions for installing R from source in Fedora Linux. Note that I deleted the
previous version of R and any directories associated with it ( except
for packages pevious downloadedfrom cran. These packages do not need to be deleted as long as they are in a
personal and non R build related directory ) in order to  make these 
instructions for installing R from source rather than for upgrading R. Upgrading requires a slightly
different set of instructions and will not be discussed here. 

Some of the steps in these instructions may not be exactly required and it is possible that there are
alternative ways of achieving the same build. They  only
reflect the way I achieved my build. Many thanks to Gavin Simpson, Marc Schwartz, Pierre-Yves Chibon and
Jose Matos for their help in creating these instructions. Most of the 
instructions resulted from various communications between myself and Gavin Simpson. There are what I
view as eight steps when installing R on Fedora from source and these are 
described below:

#==========================================================================================================================================================================

Step 1)  Create a directory structure right above your home directory called R/2.14/build by going to your
home directory and doing mkdir -p R/2.14/build. The 2.14 directory will 
eventually  contain the R source tree and the build directory will contain the various output once the R
source tree is configured and built.
#============================================================================================================================================

Step 2) Go to the build directory by doing cd ~/R/2.14/build and grab the latest source from the svn
repository by issuing the command: 

svn checkout https://svn.r-project.org/branches/R-2-14-branch ../

This command will install the R source tree in the ~/R/2.14 directory.

Note that the step above can be modified by grabbing the the latest release from  a cran mirror instead:  Go to
www.r-project.org and then one of the cran mirrors. Click on 
the sources icon and download the R.X.tar.gz file to the ~/R/2.14 directory. You can extract the source
from the tar.gz fiel by issuing the command t

tar xvfz filename.tar.gz

This will extract the source tree also. But note that this source will not include any of the latest patches
that have occurred since that R release. Note that, if svn is used to 
checkout the source tree, then Step 4 below is required. If svn is not used and used and tar is used instead,
then Step 4 is not necessary.

Next we need to configure and build R from the source tree and this is where things can get tricky. The reason
it can be tricky is because there are many header and development 
files that are required  to be installed on your machine in order for the build to work correctly. 

As far as I know, there are two insurance policies that can be taken out in order to try to insure that all of the
headers and development packages are on your machine. 
These policies are described in steps 3A and 3B. I recommend that both policies be used because if 3b) tries
to load a dependency that is already installed, it will just stop
with a message that the package is already installed.
#============================================================================================================================================

Step 3A) Use yum or the Fedora software manager and install the following  packages. If they already
installed on your machine, you will be notified of
this when you try to install them.

The RPMs that should be installed are listed below.

libX11
libX11-devel
libXt
libXt-devel
readline-devel
cairo-devel
libtiff-devel
libjpeg-turbo-devel
libpng-devel
tk-devel
tcl-devel

Note that it does not matter what directory you are in when installing these packages.  So, for example, if
you are using yum, then  do su -c "yum install libX11" to install 
libX11.( Note that su -c simulates that you are logged in as root without you having to actually log in as root
). If instead you want to use the software manager rather
than yum, then click on  System, then Administration then Add/Remove Software and then follow the
instructions. They are straightforward.
#============================================================================================================================================

Step 3B) Install the yum-utils package by doing yum install yum-utils. This package contains a program
called yum-builddep which builds the dependencies that another software
package needs. Therefore, once yum-utils is installed,  one can issue the command su -c "yum-builddep R"
and this should download and install the variious packages that R 
is dependent on. Again it does not matter what directory you are in when you issue this command.

The steps 3A) and 3B) should most likely provide all the header files and development tools that are needed
to build R from source. But you won't know until you try it.
#============================================================================================================================================

Step 4) Note that, if R was checked out using svn, then the svn repository does not contain th source files for
the Recommended R packages and these need to be downloaded
seperately using rsync. Therefore, if R was checked out from the svn repo, then, while in the ~R/2.14
directory, issue the command

./tools/rsync-recommended

This command will download the sources of the recommended packages like MASS, lattice etc.
#============================================================================================================================================

Step 5) Now we can finally run the configure command. Make sure that you are in the directory ~/R/2.14/build
and issue the command 

../configure

The process should complete fairly quickly and the last 10 lines or so of the configure output will indicate
whether the configure has run without errors. Hopefully there won't be 
any errors. If there are errors, then , if they are not obvious, the best thing to do is email the R-Sig-Fedora
list. There are many generous and knowledgeable people there who 
are glad to help. Assuming there are no errors, then proceed to Step 6. 
#============================================================================================================================================

Step 6) Now we need to build what we configured by issuing the make command. Again  make sure that you are in the
directory ~/R/2.14/build and issue the command make at the 
command line. Although the make command will will take a long time to complete, if it goes through
completely, that indicates that it worked. If there is an error at any
point during the make, the make process will stop and indicate that an error has occurred and provide a brief
description of the error.
#============================================================================================================================================

Step 7) Now, when in the ~/R/2.14/build directory, issue the command make check to verify that everything
was built correctly. You should see a lot of "OK" statements and
no "Error" statements.
#============================================================================================================================================

Step 8) Finally, although R has been built successfully,  we still need to set things up so that, no matter
what directory we are in on the machine, we can issue the command R from 
that directroy and start an R session. Assuming that R was built correctly, then there should exist a
directory called ~/R/2.14/build/bin. In this directory reside many bash 
scripts one of which is called R. R is a bash shell wrapper for the R executable. So, if we can make a link so
that, whenever one types R anywhere, this script is run, then 
this will allow us to run R from any directory by typing R.

How to do this :

A) Create a directory called bin under your home directory by issuing the command mkdir ~/bin. Also make
sure that this directory is on your path by including it in
the definition of the PATH variable in your .bashrc file.

B) Make a link to the R wrapper in ~R/2.14/build/bin directory by issuing the following command in the bin
directory that you made in your home directory: 

ln -s ~/R/2.14/build/bin/R ~/bin/R

This command creates a link so that, whenever you type R anywhere, this will issue the R command in the
~/bin/R directory which is symbolic for the R wrapper in the
/build/bin directory. In this manner, whenever R is typed at the command line of any directory, an instance
of R will be started.
#============================================================================================================================================

Any mistakes in these instructions are due to me and they are subject to change. Again, thanks to eeveryone
who helped me install R from source especially Gavin
Simpson.

_______________________________________________
R-SIG-Fedora mailing list
R-SIG-Fedora@...
https://stat.ethz.ch/mailman/listinfo/r-sig-fedora
Mark Leeds | 7 Nov 21:39
Picon

close but no cigar

Hi Everyone: It turns out that there's still a small ( I hope ) problem.
I'm close but that only counts in horse shoes and hand grenades.

Here's my problem: When trying to load a package that I am writing, the
load is looking for the packageDescription function in the utils package
but not finding the utils package. I looked on cran and utils is not there
which makes me think that it should have been part of the build. But then I
went to my recommended packages directory and it's not there ? (See below
). Is that an error by me that it's not there ? I definitely don't know how
to tell R that it needs to load the utils package since I don't seem to
have access to the package myself. Thanks for any enlightenment and my
apologies for the false SUCCESS earlier.

Mark
:~/R/2.14/src/library/Recommended> dir
total 6748
-rw-rw-r--. 1 markleeds markleeds    3574 Nov  7 10:11 Makefile.in
-rw-rw-r--. 1 markleeds markleeds    1661 Nov  7 10:11 Makefile.win
-rw-rw-r--. 1 markleeds markleeds   30402 Nov  7 10:20
KernSmooth_2.23-6.tar.gz
-rw-rw-r--. 1 markleeds markleeds  466772 Nov  7 10:20 MASS_7.3-16.tar.gz
-rw-rw-r--. 1 markleeds markleeds 2513797 Nov  7 10:20 Matrix_1.0-1.tar.gz
-rw-rw-r--. 1 markleeds markleeds  225195 Nov  7 10:20 boot_1.3-3.tar.gz
-rw-rw-r--. 1 markleeds markleeds   20128 Nov  7 10:20 class_7.3-3.tar.gz
-rw-rw-r--. 1 markleeds markleeds  246438 Nov  7 10:20 cluster_1.14.1.tar.gz
-rw-rw-r--. 1 markleeds markleeds   12392 Nov  7 10:20
codetools_0.2-8.tar.gz
-rw-rw-r--. 1 markleeds markleeds  339028 Nov  7 10:20 foreign_0.8-46.tar.gz
-rw-rw-r--. 1 markleeds markleeds  358849 Nov  7 10:20 lattice_0.20-0.tar.gz
-rw-rw-r--. 1 markleeds markleeds  510979 Nov  7 10:20 mgcv_1.7-10.tar.gz
-rw-rw-r--. 1 markleeds markleeds  705660 Nov  7 10:20 nlme_3.1-102.tar.gz
-rw-rw-r--. 1 markleeds markleeds   23418 Nov  7 10:20 nnet_7.3-1.tar.gz
-rw-rw-r--. 1 markleeds markleeds  135545 Nov  7 10:20 rpart_3.1-50.tar.gz
-rw-rw-r--. 1 markleeds markleeds   40627 Nov  7 10:20 spatial_7.3-3.tar.gz
-rw-rw-r--. 1 markleeds markleeds 1248288 Nov  7 10:20
survival_2.36-10.tar.gz
lrwxrwxrwx. 1 markleeds markleeds      18 Nov  7 10:20 MASS.tgz ->
MASS_7.3-16.tar.gz
lrwxrwxrwx. 1 markleeds markleeds      21 Nov  7 10:20 lattice.tgz ->
lattice_0.20-0.tar.gz
lrwxrwxrwx. 1 markleeds markleeds      19 Nov  7 10:20 Matrix.tgz ->
Matrix_1.0-1.tar.gz
lrwxrwxrwx. 1 markleeds markleeds      19 Nov  7 10:20 nlme.tgz ->
nlme_3.1-102.tar.gz
lrwxrwxrwx. 1 markleeds markleeds      23 Nov  7 10:20 survival.tgz ->
survival_2.36-10.tar.gz
lrwxrwxrwx. 1 markleeds markleeds      17 Nov  7 10:20 boot.tgz ->
boot_1.3-3.tar.gz
lrwxrwxrwx. 1 markleeds markleeds      21 Nov  7 10:20 cluster.tgz ->
cluster_1.14.1.tar.gz
lrwxrwxrwx. 1 markleeds markleeds      22 Nov  7 10:20 codetools.tgz ->
codetools_0.2-8.tar.gz
lrwxrwxrwx. 1 markleeds markleeds      21 Nov  7 10:20 foreign.tgz ->
foreign_0.8-46.tar.gz
lrwxrwxrwx. 1 markleeds markleeds      24 Nov  7 10:20 KernSmooth.tgz ->
KernSmooth_2.23-6.tar.gz
lrwxrwxrwx. 1 markleeds markleeds      19 Nov  7 10:20 rpart.tgz ->
rpart_3.1-50.tar.gz
lrwxrwxrwx. 1 markleeds markleeds      18 Nov  7 10:20 class.tgz ->
class_7.3-3.tar.gz
lrwxrwxrwx. 1 markleeds markleeds      17 Nov  7 10:20 nnet.tgz ->
nnet_7.3-1.tar.gz
lrwxrwxrwx. 1 markleeds markleeds      20 Nov  7 10:20 spatial.tgz ->
spatial_7.3-3.tar.gz
lrwxrwxrwx. 1 markleeds markleeds      18 Nov  7 10:20 mgcv.tgz ->
mgcv_1.7-10.tar.gz
:~/R/2.14/src/library/Recommended>

	[[alternative HTML version deleted]]

Gmane