[Rd] Depth of protection stack?

2009-09-02 Thread Saptarshi Guha
Hello, Is there a way, in C, to find how deep my current protection stack is(apart from keeping a count). I know the default nested size is 50,000 and because of some coding error i think i'm reaching it. Is there a way to find out the current depth reached? Thank you Saptarshi ___

Re: [Rd] Documentation for is.atomic and is.recursive

2009-09-02 Thread Duncan Murdoch
On 02/09/2009 6:50 PM, Tony Plate wrote: Duncan Murdoch wrote: On 02/09/2009 4:10 PM, Stavros Macrakis wrote: Let us stipulate that the current wording can be construed to be correct. I'd rather just state that the current wording is correct, without the weasel words. I would nonetheless cl

Re: [Rd] Documentation for is.atomic and is.recursive

2009-09-02 Thread Tony Plate
Duncan Murdoch wrote: On 02/09/2009 4:10 PM, Stavros Macrakis wrote: Let us stipulate that the current wording can be construed to be correct. I'd rather just state that the current wording is correct, without the weasel words. I would nonetheless claim that the documentation as currently

Re: [Rd] R devel repository tarball naming issue

2009-09-02 Thread Hervé Pagès
Hi, Same here, we rely on these snapshots for the Bioconductor build system. ftp://ftp.stat.math.ethz.ch/Software/R/ Now there seems to be a file (or symlink) named R-devel.tar.gz (note that the files with a broken name e.g. R-devel_.tar.gz are still here). The problem is that after download

Re: [Rd] Documentation for is.atomic and is.recursive

2009-09-02 Thread Duncan Murdoch
On 02/09/2009 4:10 PM, Stavros Macrakis wrote: Let us stipulate that the current wording can be construed to be correct. I'd rather just state that the current wording is correct, without the weasel words. I would nonetheless claim that the documentation as currently written is at best ambi

Re: [Rd] Installing rJava RJDBC bad interpreter: Permission denied

2009-09-02 Thread Matias Silva
William, thank you so much! /tmp has noexec in the fstab and doesn't allow any file to be executable. I temporary changed those settings and I was able to install rJava and RJDBC. Perhaps the installation routine shouldn't use /tmp and use /var/tmp instead. Many thanks, Matt -Original Mes

Re: [Rd] Documentation for is.atomic and is.recursive

2009-09-02 Thread Stavros Macrakis
Let us stipulate that the current wording can be construed to be correct. I would nonetheless claim that the documentation as currently written is at best ambiguous and confusing, and would benefit from improved wording. What would be lost by that? > One could argue that in R's pre-history we sh

Re: [Rd] Tracebacks & try

2009-09-02 Thread luke
You can use a calling handler along with sys.calls, something like f <- function() g() g <- function() stop("A") tryCatch(withCallingHandlers(f(), error = function(e) { e$calls <- sys.calls()

Re: [Rd] Documentation for is.atomic and is.recursive

2009-09-02 Thread Duncan Murdoch
On 9/2/2009 2:39 PM, Stavros Macrakis wrote: The documentation for is.atomic and is.recursive is inconsistent with their behavior in R 2.9.1 Windows. ? is.atomic 'is.atomic' returns 'TRUE' if 'x' is an atomic vector (or 'NULL') and 'FALSE' otherwise. ... 'is.atomic' is true

Re: [Rd] Trouble building R 2.9.2 under solaris 10

2009-09-02 Thread Frank Carreiro
My apologies. I've been through sevearl other forums the last few days working through this. I forgot my manners. I'll read the guide. FYI... I'm using the /usr/sfw/bin/gcc compiler. Version 3.4.3 along with GNU Make from sunfreeware.com I figured it's not an R issue as the documentation f

Re: [Rd] Documentation for is.atomic and is.recursive

2009-09-02 Thread hadley wickham
On Wed, Sep 2, 2009 at 1:54 PM, Stavros Macrakis wrote: > On Wed, Sep 2, 2009 at 2:39 PM, Stavros Macrakis wrote: > >> Most types of language objects are regarded as recursive: those >> which are not are the atomic vector types, 'NULL' and symbols (as >> given by 'as.name'). >> >> Bu

Re: [Rd] Trouble building R 2.9.2 under solaris 10

2009-09-02 Thread Prof Brian Ripley
Please read the posting guide and the R-admin manual. This is a symptom of a misconfigured compiler/system headers, and you have not told us what you are using. It is not an R issue, so please consult your OS support line (and almost certianly you are not using a Sun compiler here): maybe you

Re: [Rd] Documentation for is.atomic and is.recursive

2009-09-02 Thread Stavros Macrakis
On Wed, Sep 2, 2009 at 2:39 PM, Stavros Macrakis wrote: > Most types of language objects are regarded as recursive: those > which are not are the atomic vector types, 'NULL' and symbols (as > given by 'as.name'). > > But is.recursive(as.name('foo')) == is.recursive(quote(foo)) == FA

[Rd] Documentation for is.atomic and is.recursive

2009-09-02 Thread Stavros Macrakis
The documentation for is.atomic and is.recursive is inconsistent with their behavior in R 2.9.1 Windows. ? is.atomic 'is.atomic' returns 'TRUE' if 'x' is an atomic vector (or 'NULL') and 'FALSE' otherwise. ... 'is.atomic' is true for the atomic vector types ('"logical"',

Re: [Rd] Including a binary Python Interpreter into a binary R-package for MS Windows

2009-09-02 Thread Simon Urbanek
On Sep 1, 2009, at 17:41 , gvst...@yahoo.com wrote: 2009/8/30 Uwe Ligges : [snip] Guido van Steen wrote: [snip] Something that interests me too: What about R's policy with respect to including binary files? I saw that developers should include a file [snip] Please do not include binary fil

[Rd] Trouble building R 2.9.2 under solaris 10

2009-09-02 Thread Frank Carreiro
I've been trying to compile 2.9.2 under solaris 10 the last couple days without success. configure runs fine and I'm using GNU Make. We're trying to build under 64 bit (and I'm wondering if this might be part of our problem). Here is the output from the make... ld: warning: file /usr/local/

Re: [Rd] Installing rJava RJDBC bad interpreter: Permission denied

2009-09-02 Thread William Dunlap
> -Original Message- > From: r-devel-boun...@r-project.org > [mailto:r-devel-boun...@r-project.org] On Behalf Of Matias Silva > Sent: Wednesday, September 02, 2009 9:05 AM > To: Simon Urbanek > Cc: r-devel@r-project.org > Subject: Re: [Rd] Installing rJava RJDBC bad interpreter: > Permis

Re: [Rd] Installing rJava RJDBC bad interpreter: Permission denied

2009-09-02 Thread Matias Silva
Hi Simon, thanks for responding, I really appreciate it. If there is a problem with /bin/sh then I could not install any packages(??). I installed a DBI package successfully. I have also tried this on 3 different machines - 2 CentOS 5.3 and 1 RHEL 5.3. I can try this using Ubuntu later toda

Re: [Rd] [R] R and GNU gcc for OpenMP

2009-09-02 Thread Prof Brian Ripley
On Wed, 2 Sep 2009, Duncan Murdoch wrote: Debabrata Midya wrote: Dear R users, Thanks in advance. I am using R 2.9.1 on Windows XP. May I request you to assist me on the following: I have downloaded Rtools29.exe and installed it today 02 Sep 2009 and I have also provided the appropriate

[Rd] Tracebacks & try

2009-09-02 Thread Hadley Wickham
Hi all, The help for traceback states: Errors which are caught _via_ 'try' or 'tryCatch' do not generate a traceback, so what is printed is the call sequence for the last uncaught error, and not necessarily for the last error. Is there any way to get a traceback (or something similar) for

[Rd] Links in Doc to plots for 3d (PR#13939)

2009-09-02 Thread ivo_welch
Full_Name: ivo welch Version: 2.9.2 OS: OSX Submission from: (NULL) (128.148.61.243) could you please add in the "See also" section of "plot" a link to "persp for 3d plots", and in the "persp" See also section links to cloud() in package "lattice" plot3d() in package "rgl" scatterplot3d() in pa

Re: [Rd] Dependencies of packages' CHECK....

2009-09-02 Thread Simon Urbanek
Allen, On Sep 2, 2009, at 2:53 , Allen S. Rout wrote: I'm working to automate the building of RPM packages for CRAN &c. In the process, I'm trying to get a sense of the correct dependencies. It's my sense that R CMD CHECK is the Right Way to check to see if a package is built properly. B

Re: [Rd] How to ship R scripts with R packages ?

2009-09-02 Thread Romain Francois
On 09/02/2009 01:13 PM, Duncan Murdoch wrote: Romain Francois wrote: Hello, (This is a remix of this previous thread: https://stat.ethz.ch/pipermail/r-devel/2009-August/054264.html , but with a concrete example) I am developing some packages that contain scripts (for Rscript) and would like t

Re: [Rd] Installing rJava RJDBC bad interpreter: Permission denied

2009-09-02 Thread Simon Urbanek
On Sep 1, 2009, at 21:05 , Matias Silva wrote: Trying to install the above two packages via the "install.packages("package_name")" command and the "R CMD INSTALL file.tar.gz". I receive the following error either way "sh: ./configure: /bin/sh: bad interpreter: Permission denied". I have tr

Re: [Rd] How to ship R scripts with R packages ?

2009-09-02 Thread Duncan Murdoch
Romain Francois wrote: Hello, (This is a remix of this previous thread: https://stat.ethz.ch/pipermail/r-devel/2009-August/054264.html , but with a concrete example) I am developing some packages that contain scripts (for Rscript) and would like to know what is the best/recommended way to s

[Rd] How to ship R scripts with R packages ?

2009-09-02 Thread Romain Francois
Hello, (This is a remix of this previous thread: https://stat.ethz.ch/pipermail/r-devel/2009-August/054264.html , but with a concrete example) I am developing some packages that contain scripts (for Rscript) and would like to know what is the best/recommended way to ship these scripts. An

Re: [Rd] [R] R and GNU gcc for OpenMP

2009-09-02 Thread Duncan Murdoch
Debabrata Midya wrote: Dear R users, Thanks in advance. I am using R 2.9.1 on Windows XP. May I request you to assist me on the following: I have downloaded Rtools29.exe and installed it today 02 Sep 2009 and I have also provided the appropriate path variable for Rtools. I have checke

Re: [Rd] Dependencies of packages' CHECK....

2009-09-02 Thread Uwe Ligges
Allen S. Rout wrote: I'm working to automate the building of RPM packages for CRAN &c. In the process, I'm trying to get a sense of the correct dependencies. It's my sense that R CMD CHECK is the Right Way to check to see if a package is built properly. But according to Writing R Extension

Re: [Rd] License of Port3 library for R

2009-09-02 Thread Barry Rowlingson
On Wed, Sep 2, 2009 at 2:49 AM, Pin Tian Ng wrote: >      I developed some code that called subroutines from the Port3 Library > (http://www-out.bell-labs.com/project/PORT/).  I¹m thinking about making it > available as an R package.  But I¹m not sure if their NON-EXCLUSIVE SOURCE > CODE LICENSE AG