search for: longueurs

Displaying 20 results from an estimated 25 matches for "longueurs".

Did you mean: longueur
2010 Apr 30
3
Find solution for an error in the condition of if
Dear r-help, Could you help me to find a solution for this error: Il y a eu 50 avis ou plus (utilisez warnings() pour voir les 50 premiers) > warnings() Messages d'avis : 1: In if ((data[pa, k] == df[, j]) & (data[ch, k] == i)) { ... : la condition a une longueur > 1 et seul le premier élément est utilisé 2: In if ((data[pa, k] == df[, j]) & (data[ch, k] == i)) { ... : la
2007 May 04
1
subset
hello, > subset(swiss, Agriculture > 60 & Examination != c(14,16), select = c(Agriculture,Examination,Catholic)) Agriculture Examination Catholic Broye 70.2 16 3.30 Glane 67.8 14 4.20 Aigle 62.0 21 5.16 Avenches 60.7 19 5.23 Cossonay 69.3 22 5.62
2011 Jun 20
3
Unreasonable syntax error
http://r.789695.n4.nabble.com/file/n3612530/PSC.r PSC.r Hi all, I just wrote a program in R by editing it in Microsoft Word and then pasting into the text editor of R. The above is the file. And below is what the console complains.... Why doesn't it recognise 'r'?? I have to mention that at least when I typed this first several lines into the console, the first error didn't
2020 Aug 19
2
utils::isS3stdGeneric chokes on primitives and identity
Dear R-devel, utils::isS3stdGeneric tries to subset the body of the function it's fed, primitives don't like that because they don't have a body, identity doesn't like it either because it's body is a symbol. According to the doc, any function is a legal input. See below: identity #> function (x) #> x #> <bytecode: 0x0000000013d6da28> #> <environment:
2020 Aug 20
2
utils::isS3stdGeneric chokes on primitives and identity
>>>>> Gabriel Becker writes: > I added that so I can look at the proposed fix and put it or something > similar in bugzilla for review final review. > Apologies for the oversight. Fixed now with - while(as.character(bdexpr[[1L]]) == "{") + while(is.call(bdexpr) && (as.character(bdexpr[[1L]]) == "{")) (the suggested fix does not work on
2009 May 11
1
Using ACE in the ape package
Having a problem running the ace command in ape. After reading my table into R and then putting the names of the rows in the table in same order as the tree I can't get ace to run and get the message Erreur dans as.matrix(x) : dims [produit 25] ne correspond pas ? la longueur de l'objet [0] This is the command I am using and each of the vectors used in the snalysis.
2005 Oct 24
1
Pb with function taxo2phylog (package ade4)
Hello I'm using the package ade4 to obtain classification from a .txt file. I use the following commands: cronquist <- read.table("cronquist.txt", h = T, row.names = 8) cronquist <- as.taxo(cronquist[7:1]) cro.phy <- taxo2phylog(cronquist) in which cronquist.txt is a file with a classification of 218 genus of tree species from french Guiana. We I try to use the
2008 Oct 10
1
glmmPQL
...= ~ 1 | bidon, + correlation = corExp(form = ~ Longitude +Latitude), + family=quasibinomial, + na.action="na.exclude", + data=d.glmm) iteration 1 Erreur dans model.frame.default(formula = ~Longitude + Latitude + bidon les longueurs des variables diff?rent (trouv? pour 'bidon') Sorry about the french here... It is just saying that variables have different lengths. Which is obviously untrue, as they all are columns of the same data frame. The search() shows that I have attached the data.frame, as it is told in some FA...
2020 Aug 28
2
utils::isS3stdGeneric chokes on primitives and identity
Trace adds something to the body of the function, so it does make sense that it doesn't. Whether traced functions still technically meet the definition of standard s3 generic or not is, I suppose, up for debate, but I would say that they should, I think. As before, if desired I can work on a patch for this if desired, or someone on R-core can just take care of it if that is easier. Best, ~G
2011 Aug 02
2
Memory limit in Aggregate()
Dear all, I am trying to aggregate a table (divided in two lists here), but get a memory error. Here is the code I'm running : sessionInfo() print(paste("memory.limit() ", memory.limit())) print(paste("memory.size() ", memory.size())) print(paste("memory.size(TRUE) ", memory.size(TRUE))) print(paste("size listX ", object.size(listX)))
2006 Nov 15
1
trellis.par.set and grid : how to set by default that I want a grid on my graphes ?
Hello all, I want to draw a grid behind my graphes, using lattice package. I manage to do it with instructions like this one : xyplot(Sepal.Length + Sepal.Width ~ Petal.Length , data = iris, allow.multiple = TRUE, scales = "same",type="l", panel = function(...) { panel.grid(h=-1, v= -1) ; panel.superpose(...) } ) I was wondering if there were a way to do it
1997 Sep 26
3
Forwarded mail....
I was surprised to see that this hadn't made it to the samba list yet. Note I have not spent any time trying to confirm validity. ---------- Forwarded message ---------- Date: Fri, 26 Sep 1997 00:21:55 +0200 From: root <root@ADM.KIX-AZZ.ORG> To: BUGTRAQ@NETSPACE.ORG /* ___ ______ _ _ / \ | _ \ | \ / |
2005 Aug 18
2
axTicks and window resizing
...ot;,...) axis(2,labels=axTicks(2)/z,las=1) axis(4,labels=axTicks(2)/z,las=1) on.exit(par(mai=op)) } This worked apparently well until I had to resize the graphical window after plotting. In this case, I get this message: > profplot(prof$dist,prof$alt,col="blue") > Erreur : les longueurs de 'at' et de 'label' diff??rent, 7 != 8 Which means Error: length of 'at' and "label' differ, 7!=8 (whish R 2.1.1 could be parametrise 'English' even with a French Windows XP!!!!) At this stage, R crashes (= I cannot get the graphic window working/resiz...
2020 Jan 09
1
mean
I think median() behaves as designed: As long as the argument can be ordered, the "middle observation" makes sense, except when the middle falls between two categories, and you can't define and average of the two candidates for a median. The "sick man" would seem to be var(). Notice that it is also inconsistent with cov(): >
2020 Aug 20
0
utils::isS3stdGeneric chokes on primitives and identity
I added that so I can look at the proposed fix and put it or something similar in bugzilla for review final review. Apologies for the oversight. ~G On Wed, Aug 19, 2020 at 3:40 PM Antoine Fabri <antoine.fabri at gmail.com> wrote: > Dear R-devel, > > utils::isS3stdGeneric tries to subset the body of the function it's fed, > primitives don't like that because they
2020 Aug 27
0
utils::isS3stdGeneric chokes on primitives and identity
Should it work on traced functions ? As it is now it doesn't. Best, Antoine Le jeu. 20 ao?t 2020 ? 09:58, Kurt Hornik <Kurt.Hornik at wu.ac.at> a ?crit : > >>>>> Gabriel Becker writes: > > > I added that so I can look at the proposed fix and put it or something > > similar in bugzilla for review final review. > > > Apologies for the
2010 Jan 28
0
RMySQL install
Hi everyone, I am trying to install the RMySQL package under windows xp. I've got the MySQL installed on the computer (MySQL server 5.1). I went through the steps presented on the webpage http://biostat.mc.vanderbilt.edu/wiki/Main/RMySQL and googled around and still can't find the answer. With the command readRegistry("SOFTWARE\\MySQL AB", hive="HLM", maxdepth=2) I
2011 Feb 01
1
sqlsave and mysql database with autoincremental column
Hello, I'm trying to modify my r-script to use RODBC instead of DBI/RMySQL (no more ready-to-use package for windows). I would like to copy a data.frame of 44 columns to a table of 45 columns (the 45th is an autoincremental column). With the following commands, colnames(df)<- a vector with the names of the 44 columns
2010 Mar 19
2
Put square brackets as column name in a data frame
Hi everyone, this is a pretty simple question, but I have not found any answer about this in this forum. I'm trying to make a data frame like this : ID,X[m],Y[m],Z[m] 0,-4.32902,-3.5437,12.4441 1,-4.31887,-3.54278,12.4441 2,-4.33672,-3.54401,12.4615 3,-4.67554,-2.78566,13.4151 4,-4.71124,-2.79889,13.4204 ... Actually, with my code, I'm getting this : ID,X.m.,Y.m.,Z.m.
2020 Jan 09
4
mean
Hello, Is there a reason for the following behaviour? > mean(c("1","2","3")) [1] NA Warning message: In mean.default(c("1", "2", "3")) : l'argument n'est ni num?rique, ni logique : renvoi de NA But: > var(c("1","2","3")) [1] 1 And also: >