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

[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] Dependency 'sma' is not available

2009-10-01 Thread Martin Morgan
zong-pei@imm.ox.ac.uk wrote: So packages like beadarray and arrayQualityMetrics cannot be installed. The sma author no longer wishes to maintain this package. The packges beadarray and arrayQualityMetrics are Bioconductor packages that depend on sma indirectly through other packages. The

[Rd] creating environments in package's C code

2009-10-01 Thread Martin Becker
Dear developers, is it possible to create environments in C code of packages? Simply using SEXP env; PROTECT (env = allocSExp(ENVSXP)); and assigning the enclosing environment with SET_ENCLOS seems to be insufficient. Best wishes, Martin -- Dr. Martin Becker Statistics and Econometrics

Re: [Rd] creating environments in package's C code

2009-10-01 Thread Jeff Horner
Martin Becker wrote: Dear developers, is it possible to create environments in C code of packages? Simply using SEXP env; PROTECT (env = allocSExp(ENVSXP)); and assigning the enclosing environment with SET_ENCLOS seems to be insufficient. Best wishes, Here's a function I use in rapache

[Rd] Rd.sty question: LaTeX expert needed

2009-10-01 Thread Duncan Murdoch
The Rd.sty LaTeX package is used when building the R manuals, and by the LaTeX pages produced from the man pages. I have tracked down some problems Gábor Csárdi was having recently (see Re: [R] preformatted and '#' in manual pages in R-help) to a LaTeX problem, and am trying to work out how

Re: [Rd] creating environments in package's C code

2009-10-01 Thread Duncan Murdoch
On 10/1/2009 12:37 PM, Jeff Horner wrote: Jeff Horner wrote: Martin Becker wrote: Dear developers, is it possible to create environments in C code of packages? Simply using SEXP env; PROTECT (env = allocSExp(ENVSXP)); and assigning the enclosing environment with SET_ENCLOS seems to be

Re: [Rd] Rd.sty question: LaTeX expert needed

2009-10-01 Thread Romain Francois
Hi, I would not claim I'm a latex expert ... In the highlight package, I also use alltt environments the latex renderer of syntax highlighted code, and I ended up masquarading a set of character (#, \, ...) into latex boxes and then use \usebox for these characters. In this file :

Re: [Rd] creating environments in package's C code

2009-10-01 Thread Jeff Horner
Simon Urbanek wrote: Jeff, On Oct 1, 2009, at 12:37 , Jeff Horner wrote: Jeff Horner wrote: Martin Becker wrote: Dear developers, is it possible to create environments in C code of packages? Simply using SEXP env; PROTECT (env = allocSExp(ENVSXP)); and assigning the enclosing environment

[Rd] X11 Problems

2009-10-01 Thread Kay Wanous
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

Re: [Rd] Value of SET_STRING_ELT() must be a 'CHARSXP' not a 'character' 'getEncChar' must be called on a CHARSXP

2009-10-01 Thread Saptarshi Guha
Hello I could send a .Rdata file but it doesn't load throwing a similar error. I can go through the code (below) Now if instead of A0-A3 and B0-B3, i simply create a RAWSEXP and copy the the raw bytes (in kvhold) return this list of two-element lists containing raw bytes and then call lapply(h,

Re: [Rd] Value of SET_STRING_ELT() must be a 'CHARSXP' not a 'character' 'getEncChar' must be called on a CHARSXP

2009-10-01 Thread Simon Urbanek
On Oct 1, 2009, at 6:26 PM, Saptarshi Guha wrote: Hello I could send a .Rdata file but it doesn't load throwing a similar error. That is a strong indicator that you're creating some invalid R objects in your C code, so the problem is likely there, not in R ... The code below is way