search for: taille

Displaying 20 results from an estimated 47 matches for "taille".

2010 Jan 22
2
Optimizing C code
...nce. I do not understand the purpose of the line 11 : if x[i] and y[i] are not NA (line 9), can dev be NA ? Christophe #define both_FINITE(a,b) (R_FINITE(a) && R_FINITE(b)) #define both_non_NA(a,b) (!ISNAN(a) && !ISNAN(b)) 1. static double R_euclidean2(double *x, double *y, int taille) 2. { 3. double dev, dist; 4. int count, i; 5. 6. count= 0; 7. dist = 0; 8. for(i = 0 ; i < taille ; i++) { 9. if(both_non_NA(x[i], y[i])) { 10. dev = (x[i] - y[i]); 11. if(!ISNAN(dev)) { 12. dist += dev * dev; 13. count++; 14. } 15. } 16....
2005 Jan 24
1
hist() and database
...lculations as mean()are possible but hist() give an error. Here are the commands: library(RMySQL) Loading required package: DBI > con <- dbConnect(dbDriver("MySQL"), dbname = "test") > dbListTables(con) [1] "individu" res <- dbSendQuery(con,"select taille from individu") > data <- fetch(res,-1) > data taille 1 184 2 175 3 189 4 173 5 169 6 175 7 164 8 190 9 174 10 184 11 168 12 179 13 174 14 163 15 175 16 176 17 190 18 172 19 178 20 173 > mean(data) taille 17...
2007 Apr 12
9
taille de caractère
en fait je vous renvoi ce message car maintenant la taille de la police change au bout de 500 lignes environ, alors que j''avais reussi à garder la taille jusqu''à environ 5000 lignes. Je ne comprend pas. Est-ce que c''est instable? le bout de code que vous m''avez envoyer ne marche pas. merci Sebastien ____________________...
2005 May 16
1
graphic
Hi, poids taille fumeur sexe sport etat 85 184 oui homme 1 malade 65 175 oui homme 1 malade 74 180 oui homme 2 gueri 79 175 oui homme 2 malade 71 165 non homme 3 gueri 80 185 non homme 3 gueri 75 180 non h...
2006 Feb 21
1
I need your help
Hi, Dear R users I have problem with the following code. The matrix result must be a matrix (3x3). But I have obtained a matrix(3x1) and I don't know why. So, I need your help Best regards ##################################################################### taille <- function (delta, t, prob = 0.2) { niv.conf <- c(0.90, 0.95, 0.99) if(niv.conf <- 0.90) { t <- 1.645 } else { if(niv.conf <- 0.95) { t <- 1.96 } t <- 2.575 } n <- length(delta) m <- length(t) result <- matrix(nrow = n, ncol = m); for (i in 1:n) {...
2009 Dec 12
4
grid et boxsizer
Bonjour. Une fois mon application ouverte, je voudrais savoir, si cela est possible, comment dimensionner automatiquement la totalité des colonnes du grid à la taille de mon boxsizer, quand je change la taille de mon application? (puique mon grid est inséré dans mon boxsizer). merci
2020 Oct 09
1
Aide pour finaliser ce code
...m2=0.05 # valeur de alpha (risque de 5%) m3=0.1 # valeur de alpha (risque de 10%) nbrefoissim=100 # nbrefois que le programme tourne p=2 #dimension de la variable X q=3 #dimension de la variable Y R=c(2,3,2);# Nbre de partition de chaque composante de la variable Y if(length(R) != q) stop("La taille de R doit ?tre ?gale ? q") n=25 # Taille echantillon N=c(25,50,100,200,300,400,500,1000) #differentes tailles de l'?chantillion N=c(25,50) #differentes tailles de l'?chantillion K=0 MV=matrix(0,nr=2,nc=4) dimnames(MV)[[2]]=c("n","r1%","r5%","r10%&quo...
2009 Oct 14
1
problem when resizing graphics devices
...o resize a graphics device in R, I often get this warning message (mostly when I already have several other graphics devices open) : "Not enough memory to modify the size. Alpha blending is desactivated" (translation from the french message: "Mémoire insuffisante pour modifier la taille. L'"alpha blending" est désactivé"). Following this message I sometimes succeed in trying to resize the device a second time, but sometimes I then receive this new message: "Not enough memory to modify the size. The "device" will be closed". (translation f...
2010 May 04
1
aregImpute (Hmisc package) : error in matxv(X, xcof)...
...tation for my MSc thesis. Having good exemples using the Hmisc package, I tried the aregImpute function. But with my own dataset, I have the following error : Erreur dans matxv(X, xcof) : columns in a (51) must be <= length of b (50) De plus : Warning message: In f$xcoef[, 1] * f$xcenter :   la taille d'un objet plus long n'est pas multiple de la taille d'un objet plus court   = longer object length is not a multiple of shorter object length I first tried to "I()" all the continuous variables but the same error occurs with different numbers : Erreur dans matxv(X, xcof) : c...
2008 Nov 20
5
File size limit in 2Gb
Hi all, I mounted by smbmount a partition on a winNT machine without problem... but when i tried to copy a file whitch have size more than 2 Gb i have the following error : Overflow size allowed for a file (translated from french ;-) :D?bordement de la taille permise pour un fichier ) PS. the file system of the harde drive is NTFS PS. The command of smbmount : /usr/sbin/smbmount //192.168.4.224/AAAA /AAAA/ -o username=ABCD,password=AZERTY,lfs thanks in advance, Yassine.
2011 May 05
7
Draw a nomogram after glm
...e. I visited the help of R but I have problem to understand well the example. When I use glm fonction, I have a problem, thus I use lrm. My code is: modele<-lrm(Y~L+P,data=donnee) fun<- function(x) plogis(x-modele$coef[1]+modele$coef[2]) f <- Newlabels(modele,c(L="poids",P="taille")) nomogram(f, fun=list('Prob Y<=1'=plogis), fun.at=c(seq(0,1,by=.1),.95,.99), lmgp=.1, cex.axis=.6) fun.at=c(.01,.05,seq(.1,.9,by=.1),.95,.99), lmgp=.2, cex.axis=.6) options(Fire=NULL) Result is bad and I have this following error message: Erreur dans...
2012 Jan 19
4
[LLVMdev] What happened to "malloc" in LLVM 3.0 IR?
...; <i8*> [#uses=1] ^ Couldn't find any hint on the web about how to modify the code generation in this compiler to go ahead. Thanks for your help! Regards, -- Faulty line above is part of the following function: define i8* @lista_sprintf_double(double %number, i32 %taille, i32 %decimales) { entry: %_castInttoDbl = sitofp i32 %decimales to double ; <double> [#uses=1] %0 = call i8* @lista_sprintf(i8* getelementptr inbounds ([5 x i8]* @_stringexpr1, i32 0, i32 0), double %_castInttoDbl) ; <i8*> [#uses=2] %_castInttoDbl4 = sitofp i32 %taille to double...
2004 Jul 22
2
Programmation pour MLE
Bonjour, Je veux cherché l’estimateur de vraisemblance maximal (MLE)d’une fonction à 3 paramètre inconue étant donné une échantillon de taille 50 (les observations des valeurs de x) alors comment je peux procédé La fonction de densité est définie par : f(x)= 1/3(g(a1)+g(a2)+g(a3)) avec g(ai)=(exp(ai)*ai^x)/x! pour i=1,2,3. Je vous remercie beaucoup. A. Elhabti --------------------------------- t ! [[alterna...
2012 Jan 19
0
[LLVMdev] What happened to "malloc" in LLVM 3.0 IR?
...opt-3.0 -o new_bitcode" You can probably omit most of those versions if you are lucky. Ciao, Duncan. > > Thanks for your help! > > Regards, > > -- > > Faulty line above is part of the following function: > > define i8* @lista_sprintf_double(double %number, i32 %taille, i32 %decimales) { > entry: > %_castInttoDbl = sitofp i32 %decimales to double ;<double> [#uses=1] > %0 = call i8* @lista_sprintf(i8* getelementptr inbounds ([5 x i8]* @_stringexpr1, i32 0, i32 0), double %_castInttoDbl) ;<i8*> [#uses=2] > %_castInttoDbl4 = sitofp...
2018 Mar 09
3
SELinux breaks Squid's ssl_crtd helper
...ate-host-certificates=on dynamic_cert_mem_cache_size=4MB # Emplacement de ssl_crtd et du cache des certificats TLS sslcrtd_program /usr/lib64/squid/ssl_crtd -s /var/lib/ssl_db -M 4MB sslcrtd_children 8 startup=1 idle=1 # SSL-Bump acl step1 at_step SslBump1 ssl_bump peek step1 ssl_bump bump all # Taille du cache dans la RAM cache_mem 2048 MB # Emplacement et taille du cache sur le disque # cache_dir ufs /var/spool/squid 100 16 256 # Vidage syst?me coredump_dir /var/spool/squid # Dur?e de vie des fichiers sans date d'expiration refresh_pattern ^ftp: 1440 20% 10080 refresh_pa...
2013 Jul 15
1
Problem with plot in several cases, font issue?
...lot( 1:10 ) > text( 1:10, letters[1:10], cex = 1) works well but : > plot(1:10) > text(1:10, letters[1:10], cex = 0.9) returns : Erreur dans text.default(1:10, letters[1:10], cex = 0.9) : impossible de charger la police X11 -adobe-helvetica-%s-%s-*-*-%d-*-*-*-*-*-*-*, de face 1 et de taille 11 (sorry for the french). In this message, for other cases the function may changed (it can be axis( ) for example) but it always a font problem. I encountered this issue various times (with more complicated graphics). I'm working on ubuntu 12.04 with R 3.0.1 (2013-05-16). The capabilitie...
2005 Dec 16
1
Vector of matrix
...r (i in 1:2) { Ti<-MatOccurTree[Tree[i],1] #number of observation for Tree i Xi<-matrix(data=1,nrow=Ti,ncol=2) Xi[,2]<-treedata2$lnE[IdentTree==Tree[i]] VectorX[i]<-Xi } Console: > VectorX[i]<-Xi Warning message: le nombre d'objets à remplacer n'est pas multiple de la taille du remplacement "number of object to replace isn't a multiple of the length of the replacement" Would you have any solution to create a vector of matrix "VectorX" ? Thanks for your help. Ghislain Vieilledent. [[alternative HTML version deleted]]
2009 Oct 01
2
Huge matrix: allocation works but assignment fails
Hello everyone, I am working with one big matrix: w=matrix(0,18000,18000) on a Linux computer with 16Go of RAM. I can actually create the matrix, and even access elements: w[10,10] 0 but if I try to change one element, it fails: w[10,10]=1 Erreur : impossible d'allouer un vecteur de taille 2531250 Ko (Failed to allocate a vector of size...) What can I do? And, maybe even more important, how can one explains such a behavior? Thank you for any help/advice R?mi Proville.
2007 Apr 08
0
Re: [news-wxruby2---preview-0.0.39-released-][20330] problème de police dans Traducteur-wxruby
Bonjour sebastien bureaux wrote: > Bonjour, en fait quand j'ouvre un fichier texte, > par exemple, avec Traducteur-wxruby, la taille de > la police est normale jusqu'à un certain nombre de ligne, ensuite elle devient > toute petite. pourquoi? Je ne sais pas comment résoudre le problème. > Il faut à peu près dépasser les 1000 lignes pour que la taille change. > Merci pour votre réponse > Je n'ai pas vue...
2010 Jul 06
0
patch syslinux DMI 4.01
...39;hardware' au d?marrage Pr?cisement, le probleme venait de la fonction dmi_memory_module_types, pour laquelle le buffer 'type' n'?tait pas vide, et le snprintf semblait planter. En fait, le process ne plantait pas, mais le snprintf prenait ?norm?ment de temps (calcul interne de la taille de la string). Au passage, le calcul du sizeof(type) revoi la taille du pointeur (4) et pas du buffer. J'ai fait les correctifs Ci joint les patchs (envers la version 4.01 de syslinux) @+ Laurent -- Laurent LICOUR -------------------------------------------- Mail : laurent at licour....