similar to: Segfault when mistakenly calling [.data.frame (PR#13487)

Displaying 20 results from an estimated 700 matches similar to: "Segfault when mistakenly calling [.data.frame (PR#13487)"

2008 Nov 13
1
Package install problem on Windows (PR#13284)
Full_Name: Lars Hansen Version: 2.8.0 OS: Windows XP Pro x64 SP2 Submission from: (NULL) (71.39.177.36) Hi, I have run into a problem using "R CMD INSTALL" with the "--with-package-versions" option under Windows. It is a bit obscure, which could explain why other people have not run into it. We happen to have two packages with almost the same name. One name is a subset of
2007 Oct 27
1
(PR#10379) Re: x11(....) kills R without DISPLAY
Hin-Tak Leung wrote: > Peter Dalgaard wrote: >> brechbuehler at gmail.com wrote: >>> Full_Name: Christian Brechbuehler >>> Version: 2.4.1, 2.5.1, OS: Ubuntu GNU/Linux >>> Submission from: (NULL) (24.61.47.236) >>> >>> > <snipped> >>> Example (start R without DISPLAY from bash): >>> % DISPLAY=3D R >>> >
2007 Oct 26
1
x11(....) kills R without DISPLAY (PR#10379)
Full_Name: Christian Brechbuehler Version: 2.4.1, 2.5.1, OS: Ubuntu GNU/Linux Submission from: (NULL) (24.61.47.236) Context: 'X11' starts a graphics device driver on the display given by argument 'display'. Problem: If the environment variable DISPLAY is not set, the R process dies with exit status 1. Example (start R without DISPLAY from bash): % DISPLAY= R >
2007 May 01
1
(PR#9623) qr.coef: permutes dimnames; inserts NA; promises
On Thu, 19 Apr 2007, brech at delphioutpost.com wrote: > Full_Name: Christian Brechbuehler > Version: 2.4.1 Patched (2007-03-25 r40917) > OS: Linux 2.6.15-27-adm64-xeon; Ubuntu 6.06.1 LTS > Submission from: (NULL) (24.61.47.236) > > > Splus and R have different ideas about what qr.coef(qr()) should return, > which is fine... but I believe that R has a bug in that it is not
2007 Oct 29
1
(PR#10379) Re: x11(....) kills R without DISPLAY
Hin-Tak Leung wrote: > Peter Dalgaard wrote: > <snipped> >> You need x11() with a valid display to trigger the bug: >> >> [pd at titmouse2 BUILD]$ ssh -Y 192.168.1.10 >> pd at 192.168.1.10's password: >> Last login: Sat Oct 27 02:40:16 2007 from 192.168.1.11 >> [pd at janus ~]$ echo $DISPLAY >> localhost:10.0 >> [pd at janus ~]$
2010 Aug 23
2
Sum a list of tables
Hi all, In R it is possible to sum tables: > (a <- table(rep(1:3, sample(10,3)))) 1 2 3 2 5 7 > a+a 1 2 3 4 10 14 Now suppose that I have a list of tables, where each table counts the same things > k <- list(a,a,a) How can I sum all tables in k? > do.call(sum, k) [1] 42 does not work since it sums over each table. > do.call(`+`, list(a,a)) 1 2 3 4 10
2014 Apr 12
1
vapply confusion
The following code seems to contain an inconsistency in the behavior of vapply(). Am I missing something here? ## This function assumes v is a 3d vector, beta a scalar. f3d <- function(v,beta) { v+beta } ## This expression applies f3d to a vector of scalars, and ## specifies the template 'array(10,3)' for the return value. dat <- vapply(seq(0,1,length=10), function(beta) {
2006 Jan 11
1
problem with replicate and "..." (PR#8472)
I am using R version 2.0.0 (2004-10-04) on Fedora Core 2. This works correctly: > foo <- function(x=1,y=2) { c(x,y) } > bar <- function(n,...) c(n,foo(...)) > bar(10,3) [1] 10 3 2 But it goes wrong if I replace "c" in bar with "replicate": > foo <- function(x=1,y=2) { c(x,y) } > bar <- function(n,...) replicate(n,foo(...)) > bar(10,3)
2010 Dec 19
3
Layout of mulitpage conditioned lattice plots
Dear latticists, I would like to spread a lattice conditioned plot over multiple pages, keeping the same layout as if I had only one page as shown in the code below. My workaround is to divide the dataframe into subset that fit on one page, but the code is ugly. Is there a build-in way to achieve this? Dieter library(lattice) nsubj = 13 # This number is variable dt =
2006 Apr 24
0
Called id for nil, which would mistakenly be 4 -- if you really wanted the idof nil, use object_id - solved
Hi Bill, No I am not using Instant Rails. >There are lots of variations possible. Typos and capitalisation represent the largest proportion of errors I personally have made. Thanks a lot....solved the problem. Changed recipes (plural) in controller file to recipe (singular). That teaches me to pay *real* attention to casing. (forgive me, I am from the VS and VB world :-) >Actually,
2011 Aug 24
3
dput data frame
I have a data frame that is about 40 columns by 10000 rows. I want to get the dput of small portion of that by using dput(results[1:10,3:6]). The dput is very long and includes all the values from the original data frame. Why is that? Jeffrey
2014 Nov 11
4
Evaluar como texto un parámetro de mi función
Compañeros, Una de primero de funciones pero que no soy capaz de resolver. Necesito evaluar como texto el parámetro de mi función. Ejemplo: datos.A<-rnorm(10,3) datos.B<-rnorm(100,30) datos.C<-rnorm(1000,300) datos.D<-rnorm(10000,3000) describe <- function(letra){ summary(datos.letra) } describe(B) Quiero que haga summary(datos.B) y no soy capaz. Nunca me había visto en una
2017 Jun 01
2
Question on function "scatterplot3d"
Hi all, I have a question with regard to making plots using function "scatterplot3d". Please see the example below. It looks like, for y axis, the tickmark text was cutoff. The number "10" does not show up completely. I tried to work with par(mpg). It does not seem to work. Hope to get some advice here. Thanks much! Hanna C <- runif(30) B <- rep(1:3, each=10) A
2017 Jun 01
2
[FORGED] Re: Question on function "scatterplot3d"
On 01/06/17 13:17, Ismail SEZEN wrote: > >> On 1 Jun 2017, at 03:41, li li <hannah.hlx at gmail.com> wrote: >> >> Hi all, >> I have a question with regard to making plots using function >> "scatterplot3d". >> Please see the example below. It looks like, for y axis, the tickmark text >> was cutoff. >> The number "10"
2013 Apr 03
3
arrayInd and which
Folks, I have Googled but not found much regarding arrayInd aside from the "which" help page. Any good examples or docs on what arrayInd does that is better or different from which()? In addition take the following 20x10 matrix: td<-structure(c(1, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 4, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 1, 6, 6, 6, 6, 6, 6, 6, 1, 6, 6, 6, 6,
2009 Nov 02
2
a prolem with constrOptim
Hi, I apologize for the long message but the problem I encountered can't be stated in a few lines. I am having some problems with the function constrOptim. My goal is to maximize the likelihood of product of K multinomials, each with four catagories under linear constraints on the parameter values. I have found that the function does not work for many data configurations. #The likelihood
2024 Apr 27
1
max on numeric_version with long components
I've noticed something in R devel which seems a little off and not the behavior I see in 4.4.0 or earlier versions. With numeric_versions that have long (>8 digit) final components max and min return the first element and not the max or min: In devel: > max(numeric_version(c("1.0.1.100000000", "1.0.3.100000000", "1.0.2.100000000"))) [1] ?1.0.1.100000000?
2006 Sep 13
1
reshaping a dataset
Hi, I'm trying to move to R the last few data handling routines I was performing in SAS. I'm working on stomach content data. In the simplified example I provide below, there are variables describing the origin of each prey item (nbpc is a ship number, each ship may have been used on different trips, each trip has stations, and individual fish (tagno) can be caught at each
2024 Apr 27
1
max on numeric_version with long components
? Sat, 27 Apr 2024 13:56:58 -0500 Jonathan Keane <jkeane at gmail.com> ?????: > In devel: > > max(numeric_version(c("1.0.1.100000000", "1.0.3.100000000", > "1.0.2.100000000"))) > [1] ?1.0.1.100000000? > > max(numeric_version(c("1.0.1.10000000", "1.0.3.10000000", > "1.0.2.10000000"))) > [1]
2017 Jun 01
0
Question on function "scatterplot3d"
> On 1 Jun 2017, at 03:41, li li <hannah.hlx at gmail.com> wrote: > > Hi all, > I have a question with regard to making plots using function > "scatterplot3d". > Please see the example below. It looks like, for y axis, the tickmark text > was cutoff. > The number "10" does not show up completely. I tried to work with par(mpg). > It does not