similar to: R documentation -- buffer overflow? (PR#3400)

Displaying 20 results from an estimated 1000 matches similar to: "R documentation -- buffer overflow? (PR#3400)"

2003 Jul 04
2
(PR#3400)
Martin Maechler asked me to restate my problem. Compiling the file (slightly modified w.r.t. the formerly attached file) that can be found at http://www.geo.uni-bayreuth.de/~martin/filetransfer/xswms2d.Rd terminates with the error message ******* Syntax error: mismatched or missing brackets in /----- ..... \----- when compiled by R CMD Rdconv -t txt xswms2d.Rd However, the file does
2002 Mar 01
1
fft
Hi, I have problems when calling fft_factor and fft_work directly in my C-code. Martin Maechler already told me that I should not do this -- anyway, the code works fine if the length of the vector is a multiple of 2,3,5. If the length of the vector has different form I get, in some cases, a segmentation fault when work and iwork are freed (I use C's malloc to allocate memory for work and
2001 Jun 12
1
help(PackageName)
Dear R Core Team, I'm wondering whether it is useful that every package should allow for help(PackageName), giving some general information about the package (more/nicer than library(help=PackageName)). This man page may include some mathematical or statistical background, or contain a guideline for the package. Cheers, Martin -- Martin Schlather email:
2001 Mar 13
1
.C-calls
Dear all, (sorry I got the wrong button for subscribing a minute ago) At the moment I'm writing on a package for random field simulation that I'd like to make publically availabe in near future. To this end I've asked Martin Maechler to have a look at my R-code. He was very surprised about how I perform the ".C"-calls, and encouraged me to make this request for comments.
2002 Apr 04
3
assign, documentation (PR#1434)
Hi, The help for `assign' says In all the assignment operator expressions, `x' can be a name or an expression defining a part of an object to be replaced (e.g., `z[[1]]'). The name does not need to be quoted, though it can be. So I would expect that by a<-1:4 assign("a[1]",2) the first component of a gets the value 2, but the object "a[1]" is
2001 Mar 14
0
segmentation fault of unknown cause (PR#877)
Dear all, Paulo Ribeiro, p.ribeiro@lancaster.ac.uk, and myself noticed that R sometimes breaks down with a segmentation fault of (at least for us) unknown course. (We've read #411 and #671 in the bug report on "optim" -- the problem described there sounds familiar; but we have not found any hint on a segmentation fault.) Please find at the very end of this email the file
2002 Jul 30
1
Optim() returns wrong maximum
Dear R-devel During the last half a year I have several times encountered the following problem with optim() when using method= "L-BFGS-B". The function return a value which is clearly not the maximum (seen from printing the value each time the function is called). Some output is shown below. A few things I have observed (as I remember it): a. The problem seems to occur when the
2002 Jul 19
1
read.table bug (PR#1809)
Full_Name: Michael McStephen Version: 1.5.1 OS: Win2000 Submission from: (NULL) (203.25.148.63) When using read.table to read a data file section by section, I get an error that indicates R is attempting to read more "fields" than exist. The Data file looks like this: ---Start of file tmp.txt----------- Response Types = TPos TNeg FPos FNeg Anti Post MaxO Test ID,Username,Start
2007 May 01
1
R CMD Rdconv drops sections: arguments, seealso, examples (PR#9649)
On Mon, 30 Apr 2007 bill at insightful.com wrote: > On Tue, 10 Apr 2007 timh at insightful.com wrote: > > > I've created a .Rd file (below), then converted that to .sgml using > > R CMD Rdconv --type=Ssgm combn.Rd > combn.sgml > > The output (shown below) is missing some of the sections: > > arguments > > seealso > > examples > > If
2004 Jan 28
1
\link{\url{anything}} gives Rdconv trouble (PR#6496)
Full_Name: David Firth Version: 1.8.0 OS: Mac OS 10.2.8 Submission from: (NULL) (80.177.12.48) In .Rd files, we use \url{stuff} to refer to a URL on the web. Just as the documentation says. Perhaps this isn't a bug, then, but certainly it's a trap for the unwary. If the construction \link{url{something}} appears in a .Rd file, then Rdconv --type=html ... gets stuck and appears
2007 May 21
1
size limit in R?
Hi, Please see the email exchanges below. I am having trouble generating output that is large enough for our needs, specifically when using the GaussRF function. However, when I wrote Dr. Schlather (the author of the GaussRF function), he indicated that there is also a limit imposed by R itself. Is this something that we can overcome? Thank you very much for any assistance you may provde.
2007 Oct 10
2
documentation of .C (PR#9948)
Full_Name: Martin Schlather Version: R version 2.7.0 Under development (unstable) (2007-10-01 r43043) OS: Linux Submission from: (NULL) (91.3.209.203) Hi, There are 2 dangers with using 'DUP=FALSE' mentioned: * formal arguments * lists Would you also mention a third one, namely that values in R are now only referenced whenever possible and not always copied; hence .C(...,
2007 Apr 30
1
R CMD Rdconv drops sections: arguments, seealso, examples (PR#9645)
On Tue, 10 Apr 2007 timh at insightful.com wrote: > I've created a .Rd file (below), then converted that to .sgml using > R CMD Rdconv --type=Ssgm combn.Rd > combn.sgml > The output (shown below) is missing some of the sections: > arguments > seealso > examples > If instead I convert to .d (below), the same sections are missing, > and the "note"
2009 Jan 27
1
uninitialised value in R (PR#13476)
Hi, I get an "Conditional jump or move depends on uninitialised value(s)" from valgrind when using 'solve' in combination with some simple C-code. (I did not use other functions of R besides 'solve'.) In detail: running R --vanilla -d "valgrind --tool=memcheck --memcheck:leak-check=yes --num-callers=20 " and calling .Call("XXX") nd <- 3
2004 Jan 30
2
request for comments --- package "distr" --- S4 Classes for Distributions
Hello, after some discussions with Martin Maechler and Josef Leydold (WU Wien), we have felt the need for some package that should allow for an object-orientated approach to distributions. Our small group at Bayreuth now has developed a package "distr" which tries to fill this gap, implementing distributions by means of S4--classes. A mother class "Distribution" is
2006 Mar 30
1
function min does not return correct result if .Machine$integer.max is involved (PR#8731)
Full_Name: Martin Schlather Version: 2.2.0 and alpha 2.3.0 (06/3/29) OS: Linux (x86_64 and Intel) Submission from: (NULL) (139.11.183.106) > min(.Machine$integer.max, 10^20) [1] 1e+20 > min(as.integer(.Machine$integer.max), 10^20) [1] 1e+20 but > min(.Machine$integer.max + 0, 10^20) [1] 2147483647 > min(as.integer(.Machine$integer.max - 1), 10^20) [1] 2147483646 >
2009 Dec 29
1
different behaviour of NAs under valgrind (PR#14171)
Full_Name: Martin Schlather Version: 2.10.0 OS: linux Submission from: (NULL) (91.3.220.231) Bug summary: some functions behave differently for NAs when valgrind is used in R, e.g. sum and prod Bug demonstration: --- without valgrind ---- > sum(c(NA,1)[1]) [1] NA --- with valgrind ---- > sum(c(NA,1)[1]) [1] NaN R call with valgrind: R -d "valgrind --tool=memcheck
2002 May 17
0
What is the most efficient way to assign to PARTS of obje cts in other frames/environments?
For nested function calls it appears that a combination of environment() and '<<-' will also work: f1 <- function() { x <- rep(NA,4) # Object to be modified by function f2 environment(f2) <- sys.frame(1) # Make f1's environment available to f2 f2(2) # Changes 2nd element of x print(x) } f2 <- function(i) { #
2012 Feb 19
1
coxme: model simplification using LR-test?
Hi I'm encountering some problems with coxme My data: I'm looking at the survival of animals in an experiment with 3 treatments, which came from 4 different populations, two of which were infected with a parasite and two of which were not. I'm interested if infected animals differe from uninfected ones across treatments. Factor 1: treatment (3 levels) Factor 2: infection state
2006 Apr 13
2
contribution offer: df() for non-centrality != 0
Hi R-devels, I noticed that for the scheduled R 2.3.0, there is still no function df() for non-centrality != 0. Easter is quickly approaching, so as my little gift, I would like to offer you some code to fill this gap: After excluding some "unusual" cases, it amounts to differentiating the corresponding function pnf() --- which in turn leads to the function dnbeta() already available