search for: orep

Displaying 18 results from an estimated 18 matches for "orep".

Did you mean: grep
2007 Nov 16
2
expand.grid overflows?
>cbn<-as.matrix(expand.grid( rep( list(0:1), 50))) Error in rep.int(rep.int(seq_len(nx), rep.int(rep.fac, nx)), orep) : invalid 'times' value In addition: Warning message: In rep.int(rep.int(seq_len(nx), rep.int(rep.fac, nx)), orep) : NAs introduced by coercion But I'm only interested in cbn matrix rows where: cbn<- cbn[rowSums(cbn)==5,] Is there a way to evaluate it row by row and only sto...
2009 Jun 25
2
stringsAsFactors has no impact in expand.grid()?
Hi I have the feeling, that the argument stringsAsFactors has no impact in the function expand.grid: a <- c("PR", "NC", "A2", "BS") b <- c(1, 0.5, 0.25, 0.125, 0.0625, 0.03125) class(expand.grid(css, fscs, stringsAsFactors=FALSE)[[1]]) [1] "factor" class(expand.grid(css, fscs, stringsAsFactors=TRUE)[[1]]) [1] "factor" Also, when
2010 Mar 30
2
Problem with expand.grid() function
Hi, good morning, I got following error which looks strange to me while executing this code : > temp <- expand.grid(rep(list(c(1,0)),40)) Error in rep.int(rep.int(seq_len(nx), rep.int(rep.fac, nx)), orep) : invalid 'times' value In addition: Warning message: In rep.int(rep.int(seq_len(nx), rep.int(rep.fac, nx)), orep) : NAs introduced by coercion However if I put a small number like 12 in place of 40, it is working fine. A moderately bigger number than 10 like 30 give a memory relate...
2017 Jul 13
0
Quadratic function with interaction terms for the PLS fitting model?
...is unclear or unstated in ?poly. I still get the same error with: library(pld) data(gasoline) gasTrain <- gasoline[1:50,] gas1 <- plsr(octane ~ poly(as.matrix(NIR), 2), ncomp = 10, data = gasTrain, validation = "LOO") Error in rep.int(rep.int(seq_len(nx), rep.int(rep.fac, nx)), orep) : invalid 'times' value > gas1 <- plsr(octane ~ poly(as.matrix(gasTrain$NIR), degree=2), ncomp = 10, data = gasTrain, validation = "CV") Error in rep.int(rep.int(seq_len(nx), rep.int(rep.fac, nx)), orep) : invalid 'times' value > str(as.matrix(gasTrain$NI...
2005 Jun 03
1
Need Help - Urgent
...while creating a grid with eight elements its showing the error and while if i do it with seven it says that the memory is not sufficient... here is the line ...with the error.... > Z<-as.matrix(expand.grid(x,y,x,y,t,s,t,s)) Error in rep.int(rep.int(seq(length = nx), rep.int(rep.fac, nx)), orep) : cannot allocate vector of length 1128960000 Is it possible to somehow increase the default size of the matrix? please help.. THanking you nivesh pawar
2011 Aug 30
1
"Negative length vector" error in simple merge
...olely based on index, and not any other factors. The vector is called "offense", and the data frame is just called "data". I went with the simplest option: merge(data,offense) but it always gives me the same error: Error in rep.int(rep.int(seq_len(nx), rep.int(rep.fac, nx)), orep) : negative length vectors are not allowed Solutions that haven't worked: - Changing offense into a data frame - Data doesn't exceed the 2^31 (2 billion) limit for length. When combined with offense, it will have about 68 million items total Thanks! DL -- View this message in context:...
2005 Oct 13
1
expand.grid problem
...c(0,1,2,3,4,5,6,7,8) V18 <- c(0,1,2,3,4,5) V19 <- c(0,1) V20 <- c(0,1,2,3,4,5,6,7) When run expand.grid I found a problem: > all.V <- expand.grid(V1,V2,V3,V4,V5,V6,V7,V8,V9,V10,V11,V12,V13,V14,V15,V16,V17,V18,V19,V20) Error in rep.int(rep.int(x, rep.int(rep.fac, nx)), orep) : invalid number of copies in rep() In addition: Warning message: NAs introduced by coercion > Then I try to reduce: > all.V.miss <- expand.grid(V1,V2,V3,V4,V5,V7,V8,V9,V10,V11,V17,V18,V19,V20) Error: cannot allocate vector of size 36288 Kb > What is that? Is this a...
2010 Nov 24
1
segfault interest?
in a long program, I ran into ?*** caught segfault *** address 0xdc3f9b48, cause 'memory not mapped' Traceback: ?1: rep.int(seq_len(nx), rep.int(rep.fac, nx)) ?2: rep.int(rep.int(seq_len(nx), rep.int(rep.fac, nx)), orep) ?3: expand.grid(seq_len(nx), seq_len(ny)) ?4: merge.data.frame(d, ss) ?5: merge(d, ss) ?6: valid.range(opt) ?7: eval.with.vis(expr, envir, enclos) ?8: eval.with.vis(ei, envir) ?9: source("fut-into-opts.R") Possible actions: 1: abort (with core dump, if enabled) 2: normal R exit 3: exit R...
2019 Aug 15
2
SASL: encoded packet size too big
...nd should be prohibited (tls must not be used when mech is gssapi). > https://lists.fedorahosted.org/archives/list/sssd-users at lists.fedorahosted.org/message/G7S2TOFDCM62ZUHIBWYVZIEVYXO3KYAI/ > > With `tls = no` errors `encoded packet size too big` becomes sporadic, but still heart auth orepations performance. > May be there are two different problems. > Does the "encoded packet size too big" coincide with LDAP server connection failure? Aki > Has someone encountered this problem before? > How can I help to facilitate the issue debugging? > > [I] net-ma...
2017 Jul 13
4
Quadratic function with interaction terms for the PLS fitting model?
poly(NIR, degree = 2) will work if NIR is a matrix, not a data.frame. The degree argument apparently *must* be explicitly named if NIR is not a numeric vector. AFAICS, this is unclear or unstated in ?poly. -- Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom
2008 Feb 07
1
Problems reshaping data with cast()
...ight) <- c("Sample.Name", "SNP", "Pool", "variable", "value") > > ## Now reshape the data > normalised <- cast(norm.all.melted.height, Sample.Name + SNP + Pool ~ value, sum) Error in rep.int(rep.int(seq_len(nx), rep.int(rep.fac, nx)), orep) : negative length vectors are not allowed Is the error thats occuring with cast() likely to be caused by the previous warnings? As far as I can work out rep.int() is called to expand the data based on the grouping specified (in this case the left hand portion of the cast formula, i.e. Sample....
2019 Aug 15
2
SASL: encoded packet size too big
...(tls must not be used when mech is gssapi). > https://lists.fedorahosted.org/archives/list/sssd-users at lists.fedorahosted.org/message/G7S2TOFDCM62ZUHIBWYVZIEVYXO3KYAI/ > With `tls = no` errors `encoded packet size too big` becomes > sporadic, but still heart auth orepations performance. May be > there are two different problems. > > > Does the "encoded packet size too big" coincide with LDAP server connection failure? > > Aki > > Has someone encountered this problem before? How can I help to >...
2009 Oct 12
1
Loading data to Trellis barchart plot.
...ot;),colour=c("blue","green","red","red","red","green","green"))) barchart(dataset.frame$colour|dataset.frame$id,stack=FALSE) *it comes error message like this:* Error in rep.int(rep.int(seq_len(nx), rep.int(rep.fac, nx)), orep) : invalid 'times' value In addition: Warning message: In Ops.factor(dataset.frame$colour, dataset.frame$id) : | not meaningful for factors *Then, I try to create a table rather than data frame. E.g.* dataset.table <- table(data.frame(id=c("a","b",&quo...
2019 Aug 14
2
SASL: encoded packet size too big
Hello! Dovecot uses it's own SASL implementation, doesn't it? Aug 14 23:45:23 example.com auth[10428]: GSSAPI client step 1 Aug 14 23:45:23 example.com auth[10428]: encoded packet size too big (813804546 > 65536) Aug 14 23:45:23 example.com dovecot[10085]: auth-worker(10428): Error: LDAP: Can't connect to server: ldap://ipa2.example.com Aug 14 23:45:23 example.com
2019 Aug 14
0
SASL: encoded packet size too big
...rly incorrect and should be prohibited (tls must not be used when mech is gssapi). https://lists.fedorahosted.org/archives/list/sssd-users at lists.fedorahosted.org/message/G7S2TOFDCM62ZUHIBWYVZIEVYXO3KYAI/ With `tls = no` errors `encoded packet size too big` becomes sporadic, but still heart auth orepations performance. May be there are two different problems. Has someone encountered this problem before? How can I help to facilitate the issue debugging? [I] net-mail/dovecot Installed versions: 2.3.7.1(01:58:12 08/14/19)(bzip2 caps ipv6 kerberos ldap libressl lua lz4 lzma pam postgres sie...
2019 Aug 15
0
SASL: encoded packet size too big
...ted (tls must not be used when mech is gssapi). >> >https://lists.fedorahosted.org/archives/list/sssd-users at lists.fedorahosted.org/message/G7S2TOFDCM62ZUHIBWYVZIEVYXO3KYAI/ >> >> With `tls = no` errors `encoded packet size too big` becomes >sporadic, but still heart auth orepations performance. >> May be there are two different problems. >> > >Does the "encoded packet size too big" coincide with LDAP server >connection failure? > >Aki > >> Has someone encountered this problem before? >> How can I help to facilitate th...
2019 Aug 15
0
SASL: encoded packet size too big
...erly incorrect and should be prohibited (tls must not be used when mech is gssapi). https://lists.fedorahosted.org/archives/list/sssd-users at lists.fedorahosted.org/message/G7S2TOFDCM62ZUHIBWYVZIEVYXO3KYAI/ With `tls = no` errors `encoded packet size too big` becomes sporadic, but still heart auth orepations performance. May be there are two different problems. >> >> >> Does the "encoded packet size too big" coincide with LDAP server connection failure? >> >> Aki >> >> Has someone encountered this problem before? How can I help...
2006 Nov 23
1
how to loop this?
...23" "1999-07-25" "1999-07-31" ... I've tried: windows<-vector("list",189) for (i in 1:189){ windows[[i]]<-data.frame(table(substr(names(subset(lasker[[i]], lasker[[i]] >= 4)), 1, 7))) } Erro en rep.int(rep.int(seq_len(nx), rep.int(rep.fac, nx)), orep) : invalid number of copies in rep.int() I think this is due because each new element (like t1) has 2 columns. But what kind of structure is needed to accomodate the new elements? Thanks Antonio Below you can find a dput output for the 3 first elements in 'lasker' > dput(l...