[Rd] Installation problem from R 2.8.x

2009-09-30 Thread zong-pei . han

Dear Developers,

Since 2.8, R installation has got a bug in it such
that if a package has a "configure" file then it
cannot be installed without modification.

For example:

* Installing *source* package 'foreign' ...
ERROR: 'configure' exists but is not executable --
see the 'R Installation and Adminstration Manual'
* Removing '/usr/local/source_code/Linux/R/R-2.9.2/library/foreign'
make[2]: *** [foreign.ts] Error 1

In fact, 'configure' is executable!!! So I have to manually
run 'configure', remove 'configure', and then repackage
foreign_0.8-37.tar.gz so it can be installed.

This bug makes it very time consuming to add any package
which has a 'configure' in it. And the bug seems to be
in  src/library/tools/R/install.R

Regards,

Dr Zong-Pei Han
UNIX Systems Administrator
Computational Biology Research Group
University of Oxford
http://www.cbrg.ox.ac.uk/

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] Installation problem from R 2.8.x

2009-10-01 Thread zong-pei . han
True, /tmp is noexec and this is generally a good practice 
for system security. Okay, I'll define TMPDIR=$HOME/tmp 
for the R package admin on our systems.

I think it'd be good if R developers could consider to add
something like:

If $TMPDIR is not executable, then EITHER 
  "error message"
OR 
  "mkdir $HOME/tmp; chmod u+x $HOME/tmp; 
  TMPDIR=$HOME/tmp; export TMPDIR"

in src/library/tools/R/install.R or wherever you seem to
fit.

Regards,

Zong-Pei


On Wed, 30 Sep 2009, William Dunlap wrote:
Date: Wed, 30 Sep 2009 10:30:32 -0700
From: William Dunlap 
To: Uwe Ligges , zong-pei@imm.ox.ac.uk
Cc: r-devel@r-project.org
Subject: RE: [Rd] Installation problem from R 2.8.x

In September 2009 Matias Silva reported a execution permission
problem during a package installation (look in the r-devel archives
for ' [Rd] Installing rJava RJDBC bad interpreter: Permission denied').
It was due to the fstab file marking /tmp as noexec, hence nothing
in /tmp was executable, regardless of its file mode.  Since the package
was copied to /tmp before compilation he ran into the problem.
I think he worked around it by setting TMPDIR=/var/tmp, where /var/tmp
did not have this restriction, before doing the install.  His error
message was different but you might be having a similar problem.

Bill Dunlap
TIBCO Software Inc - Spotfire Division
wdunlap tibco.com  

> -Original Message-
> From: r-devel-boun...@r-project.org 
> [mailto:r-devel-boun...@r-project.org] On Behalf Of Uwe Ligges
> Sent: Wednesday, September 30, 2009 9:49 AM
> To: zong-pei@imm.ox.ac.uk
> Cc: r-devel@r-project.org
> Subject: Re: [Rd] Installation problem from R 2.8.x
> 
> What you call a bug in R has never been reported since R-2.8.0 was 
> recent. Hence I guess it is a permission issue on your system.
> Or do you think nobody else tried to install a package during 
> the last 
> 12 months?
> 
> Uwe Ligges
> 
> 
> zong-pei@imm.ox.ac.uk wrote:
> > Dear Developers,
> > 
> > Since 2.8, R installation has got a bug in it such
> > that if a package has a "configure" file then it
> > cannot be installed without modification.
> > 
> > For example:
> > 
> > * Installing *source* package 'foreign' ...
> > ERROR: 'configure' exists but is not executable --
> > see the 'R Installation and Adminstration Manual'
> > * Removing '/usr/local/source_code/Linux/R/R-2.9.2/library/foreign'
> > make[2]: *** [foreign.ts] Error 1
> > 
> > In fact, 'configure' is executable!!! So I have to manually
> > run 'configure', remove 'configure', and then repackage
> > foreign_0.8-37.tar.gz so it can be installed.
> > 
> > This bug makes it very time consuming to add any package
> > which has a 'configure' in it. And the bug seems to be
> > in  src/library/tools/R/install.R
> > 
> > Regards,
> > 
> > Dr Zong-Pei Han
> > UNIX Systems Administrator
> > Computational Biology Research Group
> > University of Oxford
> > http://www.cbrg.ox.ac.uk/
> > 
> > __
> > R-devel@r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-devel
> 
> __
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] Dependency 'sma' is not available

2009-10-01 Thread zong-pei . han
So packages like beadarray and arrayQualityMetrics
cannot be installed.

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] X11 Problems

2009-10-02 Thread zong-pei . han
The message "unable to open connection to X11 display ''" means
your own machine cannot open a xterm from the machine running R.
You have to have an X server running on your own machine, and
allow X display from the machine running R.

Hope this helps.

Dr Zong-Pei Han
UNIX Systems Administrator
Computational Biology Research Group
University of Oxford
http://www.cbrg.ox.ac.uk/
-


On Thu, 1 Oct 2009, Kay Wanous wrote:
Date: Thu, 01 Oct 2009 16:33:54 -0400
From: Kay Wanous 
To: r-devel@r-project.org
Subject: [Rd] X11 Problems

Hi all,

I'm having trouble getting x11 to work with R.  (This is on Debian testing.)  I
installed r-base and r-base-dev, and then r-cran-cairodevice.  I also tried
installing the Cairo package within R, which appears to work fine.

This what I'm seeing:

> capabilities()
jpeg  png tifftcltk  X11 aqua http/ftp  sockets
TRUE TRUE TRUE TRUEFALSEFALSE TRUE TRUE
  libxml fifo   clediticonv  NLS  profmemcairo
TRUE TRUE TRUE TRUE TRUE TRUE TRUE

> x11()
Error in X11(d$display, d$width, d$height, d$pointsize, d$gamma, d$colortype,  :
  unable to start device X11cairo
In addition: Warning message:
In x11() : unable to open connection to X11 display ''

Any help would be appreciated!

Thanks,
Kay

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel