similar to: Documentatio: typo in Writing R Extensions (PR#557)

Displaying 20 results from an estimated 900 matches similar to: "Documentatio: typo in Writing R Extensions (PR#557)"

2011 Aug 13
1
Latent flaw in SEXPREC definition
There seems to be a latent flaw in the definition of struct SEXPREC in Rinternals.h, which likely doesn't cause problems now, but could if the relative sizes of data types changes. The SEXPREC structure contains a union that includes a primsxp, symsxp, etc, but not a vecsxp. However, in allocVector in memory.c, zero-length vectors are allocated using allocSExpNonCons, which appears to
2008 Feb 19
1
level of mutability for the type of a SEXP
Dear list, I am writing C code to interface with R, and I would like to know the level of mutability for the type of a SEXP. I see that there is a macro/function TYPEOF(), and that it can be used as an l-value, as well as a macro/function SET_TYPEOF(). My question is "should the type be considered immutable, or it can it change after the SEXP has been created and used for a while ?".
2001 Dec 09
0
Bug#123084: r-base: R documentatio search engine unusable (PR#1204)
"Brian" == Brian Ripley <Prof> writes: Brian> On Sun, 9 Dec 2001 edd@debian.org wrote: Dirk> As there is nothing Debian-specific in this bug report (and the .deb Dirk> of the JVW is not from Debian either), I am forwarding this to Dirk> R-bugs. My recollection from recent discussions on the R mailing list Dirk> is that currently /no/ browser other than
2001 Dec 09
0
Bug#123084: r-base: R documentatio search engine unusable (PR#1205)
On Sun, 9 Dec 2001, Dirk Eddelbuettel wrote: > > "Brian" == Brian Ripley <Prof> writes: > Brian> On Sun, 9 Dec 2001 edd@debian.org wrote: > Dirk> As there is nothing Debian-specific in this bug report (and the .deb > Dirk> of the JVW is not from Debian either), I am forwarding this to > Dirk> R-bugs. My recollection from recent discussions
2017 Mar 29
3
Transferring ownership of R-managed buffer
I have a use case where I would like to create an SEXP around an existing buffer that is managed by R, thus avoiding a copy operation. If I have something like: void *p = (void*) RAW(PROTECT(Rf_allocVector(RAWSXP, n))); ... additional maniupulation ... SEXP x = somefunc(SXPTYPE, n, p); // ???? Is there a "placement" constructor available? (I have arranged for the corresponding
2017 Mar 29
2
Transferring ownership of R-managed buffer
http://www.keittlab.org/ On Wed, Mar 29, 2017 at 1:04 PM, Herv? Pag?s <hpages at fredhutch.org> wrote: > Hi Tim, > > On 03/29/2017 08:24 AM, Tim Keitt wrote: > >> I have a use case where I would like to create an SEXP around an existing >> buffer that is managed by R, thus avoiding a copy operation. >> > > What to you mean exactly by "an existing
2009 Oct 01
2
creating environments in package's C code
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 Saarland University Campus C3 1, Room 206 66123 Saarbruecken Germany
2008 Apr 03
2
g++ 4.3 warning: deprecated conversion from string constant to ‘char*’
Hello, I've noticed that with g++ 4.3 I get the following "warning: deprecated conversion from string constant to ?char*?" when I call e.g., Rprintf("Hello world"); or when I try to define a const char e.g., char lower = 'L'; I am wrapping the c++ code in extern "C" {}. This seems to be something new with g++ 4.3, because the same code compiled
2001 Dec 09
0
Bug#123084: r-base: R documentatio search engine unusable with Mozilla 6 (OK with netscape 4.7x) (PR#1202)
As there is nothing Debian-specific in this bug report (and the .deb of the JVW is not from Debian either), I am forwarding this to R-bugs. My recollection from recent discussions on the R mailing list is that currently /no/ browser other than Netscape supports the Java search engine -- is that correct or was there some Netscape derivative (galeon?) which does? Maybe the documentation should be
2001 Dec 09
0
Bug#123084: r-base: R documentatio search engine unusable (PR#1203)
On Sun, 9 Dec 2001 edd@debian.org wrote: > > As there is nothing Debian-specific in this bug report (and the .deb of the > JVW is not from Debian either), I am forwarding this to R-bugs. My > recollection from recent discussions on the R mailing list is that currently > /no/ browser other than Netscape supports the Java search engine -- is that > correct or was there some
2004 Feb 17
2
interfacing C++ using .Call
Hi folks, I apologise if this is in the documentation somewhere, but I can't seem to find it. I also did a search of CRAN without any success. I'm using R-1.8.1 (pre-compiled) on Windows 2000 with Rtools and mingw 2.0.0 (which includes gcc/g++ 3.2). I'm trying to link some C++ code from another application to R using the .Call interface and am experiencing some problems. I was
2005 Apr 25
1
Failed to install gbm_1.4-2 (PR#7814)
Full_Name: The Manager Version: 2.0.1 OS: Solaris 9 Submission from: (NULL) (129.67.80.243) > install.packages("gbm") trying URL `http://cran.uk.r-project.org/src/contrib/PACKAGES' Content type `text/plain; charset=ISO-8859-1' length 52975 bytes opened URL ================================================== downloaded 51Kb trying URL
2010 Aug 05
1
difficulties with read.table applied to files from URL
Hello, I am using read.table to read files directly from a public ftp site. I have a general list of files that may or may not exist in the ftp directory, but my hope was that R would read the file if it existed and ignored it if it didn't exist and move on to the next one. However, when R arrives at a file that does not exist I get the error message "Error in file(file, "rt") :
2010 May 04
1
errors when installing rjags
Hi, With the sid package jags (2.0.0-1) and r-base-core (2.11.0-1), I cannot install package rjags anymore (this used to work at some point; can't recall exactly at what R/JAGS versions): ---<--------------------cut here---------------start------------------->--- R> install.packages("rjags", configure.args="--with-jags-modules=/usr/lib/JAGS/modules-2.0.0")
2006 Jan 09
6
drag and drop problem
I am working on a resource planning problem. I like to use a nice drag and drop interface for that. E.g. have a box of persons and a box of projects, now I would like to assign a persom to project by dragging it from the available resources box to a recieving project box. I have studied the amazing drag and drop shopping card code listed here http://demo.script.aculo.us/shop What I need to
2003 Oct 21
2
accessing shares
My experience is very limited on Unix and Samba. Please forgive me if the answer is right in front of me. Problems accessing shares on my Samba 3.0.1pre1 running on Gentoo1.4 I'm stuck big time! I've been trying to figure out why I cannot access shares. The only share I can currently read & write to is: [OpenShare] comment = Temporary file space path = /tmp
2009 Oct 04
3
error installing/compiling kernlab
Hi everybody, I''m using R on a 64-bit Ubuntu 9.04 (Jaunty). I prefer to install R packages from source, even if they are available in Synaptic. The problem is that I can''t install/compile kernlab. Everything works fine until it gets to the lazy loading part: ** preparing package for lazy loading Creating a new generic function for "terms" in "kernlab"
2013 Mar 03
1
Missing PROTECT in mkPRIMSXP ?
The Bioconductor build for a package DirichletMultinomial on R Under development (unstable) (2013-02-26 r62077) -- "Unsuffered Consequences" at http://bioconductor.org/checkResults/devel/bioc-LATEST/DirichletMultinomial/george2-buildsrc.html shows * creating vignettes ... ERROR ... Error: processing vignette ?DirichletMultinomial.Rnw? failed with diagnostics: chunk 21 (label
2012 Jun 16
2
aligning axis labels in a colorkey from levelplot
R does a great job with the fine details regarding plots. e.g in the following: library(lattice) y <- -4:4/10 xyplot(y~1, las=1) the y axis is labelled with numbers -0.4, -0.2, 0.0, 0.2, 0.4 with the numbers aligned on the decimal point. How do I get the same behaviour in the colorkey of a levelplot? e.g. levelplot(matrix(y,3,3)) the numbers in the colorkey seem left-aligned, and
2002 Nov 11
2
R 1.6.1: help with debugging error in RunGenCollect(), R_gc_internal
Hi, [System info: R 1.6.1 compiled from source (no args to configure) on Redhat 7.1 Linux i/386] I have some spatial statistics programs that recently (since R 1.6.1) have generated SIGSEGV. These R programs use the splancs library as well as some C code of my own for Voronoi analysis. The program has a big loop to fit various model parameters against a spatial distribution of biological