Displaying 20 results from an estimated 100 matches similar to: "read.table segfaults"
2003 Apr 21
0
sweave provoked segfault (PR#2809)
This problem is with R 1.7.0 (as released) on Linux and Solaris. Details below
are from Linux, Mandrake 9.1. The problem also happened with R 1.6.2 and on
Mandrake 9.0.
Vignettes often (for me) provokes problems with the misleading error message:
* creating vignettes ... ERROR
Error in sub(pattern, replacement, x, ignore.case, extended) :
invalid argument
Error in buildVignettes(dir =
2001 Feb 01
3
summary() vs mean()
Forgive what may seem to be a trivial question/problem.
Below is some simple R 1.2.1(Windows) code with output.
> summary(mammals, digits=10)
Name Body.Weight Brain.Weight
Red Fox :1 Min. : 3.0 Min. : 26.0
Pig :1 1st Qu.: 35.5 1st Qu.: 138.5
Man :1 Median : 100.0 Median : 406.0
Kangaroo:1 Mean : 761.2 Mean :1000.0
Jaguar :1 3rd
2011 Oct 04
1
F-values in nested designs
Hello all
I'm trying to learn how to fit a nested model in R. I found a toy
example on internet where a dataset that have?3 areas and 4 sites
within these areas. When I use Minitab to fit a nested model to this
data, this is the ANOVA table that I got:
Nested ANOVA: y versus areas, sites
Analysis of Variance for y
Source DF SS MS F P
areas 2 4.5000 2.2500
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
2008 Oct 03
1
Memory crash
Hello,
I get a segfault when running glmmboot in my own package glmmML. Has
happened many time before, but this time I get no hint of where in my C
functions the error might be. I give the output below. Can this be an R
bug? I suspect it has to do with repeated calls to 'vmmin' like this:
for (...){
vmax = vmaxget();
vmmin(*p, b, &Fmin,
bfun,
1999 Jun 09
2
summary gives inaccurate data
Hi,
using R64.1 the summary function for simple statistics of a vector gives
inaccurate
results for the maximum.
Example:
summary(c(123456,1,2,3))
gives :
Min. 1st Qu. Median Mean 3rd Qu. Max.
1.00 1.75 2.50 30870.00 30870.00 123500.00
The Max value ist wrong in a mathematical sense. I've tried with S-Plus,
it gives the same result,
but this seems
2001 Jul 02
0
ReleaseLargeFreeVectors SIGSEGV (?) (PR#1008)
Full_Name: Roger Bivand
Version: 1.3.0
OS: GNU/Linux RH6.2, 7.0, Debian 2.2
Submission from: (NULL) (158.37.100.64)
I'm working on interfacing ANN: A Library for Approximate Nearest Neighbor
Searching (http://www.cs.umd.edu/~mount/ANN/) to R, following up a prototype
package I tried in May 2000. ANN is written in C++; my C++ is very weak. Last
year
I didn't experience any problems with
2002 Jun 12
3
help debugging segfaults
(Sorry for the cross-post--- I wasn't sure which list is more
appropriate...)
Hi everyone,
I've run into segfaults when using my randomForest package on large dataset
(e.g., 100 x 15200) and large number of trees (e.g., ntree=7000 and
mtry=3000). I'm wondering if anyone can give me some hints on where to look
for the problem.
The randomForest package mainly consists of two things:
2002 Jun 12
3
help debugging segfaults
(Sorry for the cross-post--- I wasn't sure which list is more
appropriate...)
Hi everyone,
I've run into segfaults when using my randomForest package on large dataset
(e.g., 100 x 15200) and large number of trees (e.g., ntree=7000 and
mtry=3000). I'm wondering if anyone can give me some hints on where to look
for the problem.
The randomForest package mainly consists of two things:
2001 Jan 23
0
1.2.1 segfault
I've trapped this segfault with gdb, but I'm not sure what it means or what to do
next.
Paul
_____
$ R -d gdb
GNU gdb 4.17
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is
2001 Feb 20
2
segfault
I've managed to trap the following segfault with xxgdb and gctorture() set. The
segfault seems to move around if gctorture() is not set, but has now occurred twice
in the same spot with it set. xxgdb gives the message
Program received signal SIGSEGV, Segmentation fault.
0x71244 in RunGenCollect (size_needed=2) at memory.c:1027
and the source listing points to FORWARD_CHILDREN(s); in the
2001 Sep 13
1
significant figures in summary()
Howdy,
Should summary() print answers with different numbers of
significant figures, as in the following?
> dim(iv)
[1] 3000 2
> summary(iv)
X1 X2
Min. :-4.15261 Min. :-3.271520
1st Qu.:-0.66188 1st Qu.:-0.671205
Median : 0.01233 Median :-0.008175
Mean : 0.01121 Mean : 0.016815
3rd Qu.: 0.67778 3rd Qu.:
2006 Feb 13
2
R-help, specifying the places to decimal
Hello - R-experts,
Is there any way with which we can specify the number after
decimal point to take. Like I have a situation where
the values are comming 0.160325923 but I only want
4 place to decimal say 0.1603. Is there any way for that.
I am no expert in R- and this may sound simple to many.sorry
Thanks for any help.
With Regards
Subhabrata
2002 Jun 18
1
can't find array overruns (was: help debugging segfaults)
Dear R-devel,
Last week I got several responses to my question about debugging segfaults
in my code (original post below). After I changed the S_alloc() calls to
Calloc()/Free(), the symptom was gone, but I was told to keep looking. So I
did:
o Switched to Calloc/Free. Electric Fence did not find any problem.
o Put assert(index < bound); assert(index >=0); everywhere in the C routine
2011 Jan 08
1
summary(list) is awesome, but I want more than summary
When I load a table from a data source and run summary() on it, the
summary gives me basic summary statistics I'm looking for, and it also
discriminates between quantitative and qualitative data and summarizes
them accordingly. For example, if I do this:
mydata <- read.table("data.txt")
summary(mydata)
I would get output like this:
> summary(mydata)
County
2009 Aug 10
1
summary(table)
Hi,
Why when I do a summary on a table it cuts off the other variables? It says
Other :58 or Other: 120.
how can I get the summary for all the variables under ServLoad.Task and
Server.Load and Avg. CPU and Max.CPU?
Thanks,
summary(probF)
Reboot.Id ServLoad.Task Server.Load
Avg.CPU Max.CPU Event.Log
Min. : 2.00 120067_122395: 5
2001 Mar 12
4
1.2.2 under M$ windows 2000 lots of plots out of memory?
hi-
If I source the following
for(k in seq(1:20)){
x<-runif(20000,min=-500,max=2000)
y<-runif(20000,min=-500,max=2500)
z<-runif(20000,min=-10,max=10)
cat(k,"file",memory.size())
cc<-rainbow(11)
plot(x,y,asp=1i,xlim=c(-500,2000),ylim=c(-500,2500),main=k,cex=1.0)
for(i in seq(-10,10,2)){
points(x[z > i],y[z > i],col=cc[(12+i)/2],cex=1.0)
}
rm(x,y,z)
2006 Dec 12
2
Segfault in pure R code
I just caught a segfault:
> courses("Ingrid")
*** caught segfault ***
address 0x99b279c, cause 'memory not mapped'
Traceback:
1: structure(y, class = oldClass(x), row.names = attr(x, "row.names"))
2: `[.data.frame`(gudata, -(1:5))
3: gudata[-(1:5)]
4: names(gudata[-(1:5)])
5: inherits(x, "factor")
6: is.factor(table)
7: match(x, table, nomatch =
2006 Dec 12
2
Segfault in pure R code
I just caught a segfault:
> courses("Ingrid")
*** caught segfault ***
address 0x99b279c, cause 'memory not mapped'
Traceback:
1: structure(y, class = oldClass(x), row.names = attr(x, "row.names"))
2: `[.data.frame`(gudata, -(1:5))
3: gudata[-(1:5)]
4: names(gudata[-(1:5)])
5: inherits(x, "factor")
6: is.factor(table)
7: match(x, table, nomatch =
2011 Aug 02
1
My R code is not efficient
Dear R users,
I have two n*1 integer vectors, y1 and y2, where n is very very large.
I'd like to compute
elbp = 4^(y1) * 5^(y2) * sum_{i=0}^{max(y1, y2)} [{ (y1-i)! * (i)! *
(y2-i)! }^(-1)];
that is, I need to compute "elbp" for each (y1, y2) pair.
So I made R code like below, but I don't think it's efficient
Would you plz tell me how to avoid this "for"