Displaying 20 results from an estimated 9000 matches similar to: "Segmentation fault in subscripting array of lists (PR#904)"
2000 Mar 22
3
segmentation fault with 1D array (PR#500)
Here's a nasty one. The following has caused a segmentation
fault and possibly also a bus error.
fred <- 1:6
dim(fred) <- 6
dimnames(fred) <- list(LETTERS[1:6])
mm <- matrix(1:12, 2, 6)
mm %*% fred # segmentation fault here
In the case without the dimnames assignment the result is OK.
Cheers, Jonathan.
--please do not edit the information below--
Version:
platform =
2000 May 25
4
Needed: Understading runif() output :-)
Dear all,
I have been trying to understand what runif() is telling me.
I am generating lots of numbers (billions and billions (wow, I''ve dreamed
about saying that for many years... :-) ), for a distribution that has the
following quantile function:
1 / (2 * sqrt(1 - p))
(that is, the distribution has a lower cutoff)
As you can imagine, this has rather heavy upper tail. I was
2001 Apr 30
1
Segmentation fault linked to memory? (PR#929)
Hi Everyone,
The following rather extreme claim on memory causes a
segmentation fault on my installation:
fred <- matrix(1:1200, 20, 60)
littleOP <- function(x, y)
{
z <- as.vector(x) %*% t(as.vector(y))
dim(z) <- c(dim(x), dim(y))
z
}
littleOP(fred, fred) # this is OK
littleOP(littleOP(fred, fred), fred) # whoops! Segmentation fault
What's a bit strange
2008 Oct 28
3
Recommended R books by XLSolutions Corporation
We've listed books we've recommended to our introductory R/R-PLUS courses
attendees
[1]http://www.experience-rplus.com/books.asp
If you'd like to recommend a book, email [2]sue at xlsolutions-corp.com
R-PLUS Rocks!
R-PLUS Team
24 Hours Tech Support
Think Fast, Think Big, Without The High Cost!
[3]www.Experience-Rplus.com/Conference.asp
2004 Aug 06
1
solaris 2.7 libshout error
Has anyone seen this issue before on solaris 2.7. I keep getting this error
for libshout when trying to compile the example.
root#[/usr/local/src/libshout-1.0.9/example]#gcc -lshout -o test example.c
Undefined first referenced
symbol in file
socket
/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/3.2/../../../libshout.so
recv
2000 Oct 16
2
print problem with data frames (PR#698)
Another one from the student computer practicals: it is possible
to create a dataframe that cannot be printed. Thus
> fred <- data.frame(happy=c(TRUE, FALSE, TRUE), sad=7:9)
> tmp <- fred[c(FALSE, FALSE, TRUE, TRUE)] # no error message!
> tmp
Error in as.matrix.data.frame(x) : dim<- length of dims do not match the length of object
> print.default(tmp)
$"NA"
NULL
2006 Mar 29
7
S-PLUS 8 beta program [repost]
[Sorry about the duplicate posting; this one comes from the correct address.
Please respond to me with any questions about this -- David.]
Dear R-help readers,
As Insightful announced at the DSC2005 meeting in Seattle, the next
release of S-PLUS will introduce a new package system. Our goal is to provide
package authors the means to create cutting-edge statistical methods
currently available
2003 Oct 29
1
restarting split.screen
Is there a way of `restarting' split.screen?
This is what I am getting:
> close.screen()
[1] 10 11 12 13
> close.screen(all=TRUE)
Error in par(args) : parameter "i" in "mfg" is out of range
> graphics.off()
> x11()
> close.screen()
[1] 10 11 12 13
> close.screen(all=TRUE)
Error in par(args) : parameter "i" in "mfg" is out of range
As
2003 Feb 12
2
rl_callback_read_char error on Solaris 7
This question is about compiling R-1.6.2 from source on a
Sparcstation-20 machine running Solaris 7, gcc-2.95.3 and
readline-4.2 (both gcc and readline from sunfreeware.com).
I searched the r-help archive and the FAQ. The errors seem to be
related to the binary readline libraries, and I have
/usr/local/lib/libreadline.a,libreadline.so@, and
libreadline.so.4.
The attached errors are from
2000 Sep 29
2
all.equal.list() sometimes fails with unnamed and named components (PR#674)
examples:
1) Fails to report that components 2 and 3 differ
all.equal(list(1,2,3,zap=1),list(1,3,4,zap=2))
[1] "Component zap: Mean relative difference: 1
2) Incorrectly asserts all are equal when components 2 and 3 differ
> all.equal(list(1,2,3,zap=1),list(1,3,4,zap=1))
[1] TRUE
3) Removing named component reveals differences:
> all.equal(list(1,2,3,1),list(1,3,4,1))
[1]
2002 Nov 01
1
recordPlot in 1.5.x, replayPlot in 1.6.0 problem
I have plots that were stored using recordPlot() in a fairly recent
but pre-1.6.0 version of R that will not replayPlot() in R 1.6.0. The
error message is
Error in replayPlot(x) : invalid hex digit in color or lty
The plots were stored in June (2002-6-14), each as an element of a
list named 'rpl'. The version of R that was current then is what I
used. At that time I was able to
2002 Jan 04
2
R CMD check (PR#1240)
SunOS fluke 5.8 Generic_108528-07 sun4u sparc SUNW,Ultra-Enterprise
R-1.4.0
Running from the command line
R CMD check chlib
results in the log file 00check.log:
* using log directory `/home/woodstock/hoffmann/R/Sources/chlib.Rcheck'
* checking for file `chlib/DESCRIPTION' ... OK
* checking package directory ... OK
* checking for sufficient/correct file permissions ... WARNING
*
2001 Aug 30
2
update.packages
I seem to have something wrong in my installation when trying to
update packages. Thanks for any assistance...
> update.packages()
trying URL `http://cran.r-project.org/src/contrib/PACKAGES'
Content type `text/plain' length 53385 bytes
opened URL
.......... .......... .......... .......... ..........
..
downloaded 52Kb
Error in if (a[k] > b[k]) return(TRUE) else if (a[k] <
2001 Feb 02
2
History
Hi,
I upgraded to version 1.2.1 and now the up/down arrows for recalling commands no
longer works. Is there a work around for this?
> version
_
platform sparc-sun-solaris2.7
arch sparc
os solaris2.7
system sparc, solaris2.7
status
major 1
minor 2.1
year
2000 Mar 12
1
make check fails after base-Ex.R
Dear R-help,
I tried to build the R-release version of R-1.0.0.
./configure and make seemed to go just fine.
When I ran 'make check' from $RHOME, it dumped core apparently in the
quit('no')
on the last line of base-Ex.R
I had been having some problems with a package I am building in that R
would report with "Process R segmentation violation (core dumped)" upon
2004 Aug 06
1
solaris 2.7 libshout error
thanks Karl,
that got me almost there. I think i am still missing one other library
apparently. ANy ideas ?
#gcc -lshout -lsocket -lnsl -o test example.c
Undefined first referenced
symbol in file
inet_pton
/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/3.2/../../../libshout.so
ld: fatal: Symbol referencing errors. No output written to test
2002 Oct 14
1
R 1.6.0 Solaris crash with xmalloc: out of virtual memory
[some de-capitalization of *SXP done manually by mailing
list maintainer ; the originally was caught as potential spam. MM]
I have a little R program that crashes with the message
xmalloc: out of virtual memory
The code has a repeat{} loop that watches the sizes of some files.
When there's an increase it updates things by reading the last 65
lines of each file, doing some
2002 Apr 08
1
Problem(?) in strptime() -- short version
I decided my earlier email on this topic was rather long and wordy;
here's a condensed version.
I am sitting at a Solaris computer in the US/Pacific timezone.
I have a file of data having times that includes the following three values
2002-4-7 1:30:00 GMT
2002-4-7 2:30:00 GMT
2002-4-7 3:30:00 GMT
I have not been able to find a way to correctly convert these to
either of the POSIX
2002 Mar 26
1
seq.POSIXt() with short time intervals
I was surprised when seq.POSIXt() returned a single value rather than
a vector, from inputs that I thought were reasonable. Here's an
example to illustrate:
> t0 <- ISOdatetime(2002,6,24,0,0,10)
## expected a sequence of 16 times 1 second apart
> seq.POSIXt(from=t0,to=t0+15,by='1 sec')
[1] "2002-06-24 00:00:10 PDT"
## traces to this call
>
2000 Jul 31
2
NLME 3 (R version) again!
Hi,
Well after trying to fix the assign commands in version 3.1.7 of your nlme package
I still cannot get the plot functions to work. Basically I have no other packages installed (apart from those provided with R) so nlme is the first.
my R version info is;
platform sparc-sun-solaris2.7
arch sparc
os solaris2.7
system sparc, solaris2.7
status