search for: dlist

Displaying 20 results from an estimated 23 matches for "dlist".

Did you mean: list
2005 Jul 20
2
unable to call R t-test from Java
...e, ROmegahatInterpreter interp) { Object[] funArgs = new Object[1]; // given argument is not numeric or logical org.omegahat.Environment.DataStructures.numeric rList1 = new org.omegahat.Environment.DataStructures.numeric(3); double[] dList = new double[3]; dList[0] = (double) 1.1; dList[1] = (double) 2.2; dList[2] = (double) 3.3; rList1.setData(dList, true); System.err.println(rList1.toString()); funArgs[0] = rList1 ; System.err.println("\r\n Calling mean...
2020 Oct 01
2
Creating a global variable for a struct array
Thank you very much. The code to initialize h1 to non-zero values was what I was looking for. It's almost working except for a type mismatch wrt dlist* llist field of h1. dlist static_lst[10] = { {1, 5, NULL}, ... }; dhash h1[10] = {{"myfile.txt", static_lst}, ... }; Along the lines of the code you had sent, I created a GlobalVariable* llist of type [10 x %struct.dlist]* for the field dlist* llist in h1. But this results in an LLVM ERR...
2020 Sep 22
2
Creating a global variable for a struct array
Hello, I would like to create a global variable for the following struct array, h1 dhash* h1 = new dhash[10]; typedef struct dhash{ char* filenm; dlist* llist; }dhash; typedef struct dlist{ int soffst; int eoffst; uint8_t* dptr; }dlist; I also need to allocate space for: 1) the field llist in struct dhash which is a pointer to another struct dlist and 2) the field dptr in struct dlist Is there an example that I can refer to for doin...
2020 Sep 30
2
Creating a global variable for a struct array
...ed to null, together with a global init function (runs when the program starts) that makes the call to new and stores it to that global. My guess is that's not what you intended > I also need to allocate space for: > 1) the field llist in struct dhash which is a pointer to another struct dlist and > 2) the field dptr in struct dlist > > Is there an example that I can refer to for doing this ? I think you should start by writing exactly what you want in C++, and then (when you're happy with the assembly output) using Clang's "-S -emit-llvm" options to see what...
2010 Jul 16
2
Storing processed results back into original objects
...8594122 -0.15910510749630 0.90507729153852 R2 0.015557641181675 -0.73944224596032 0.23484927168787 > D2 C B A R1 0.18843559757623 0.207589297797905 -0.018884844424975 R2 1.87387725184456 0.050349118287824 -1.796404635019739 Dlist <- list(D1, D2) lapply(Dlist, function(x) x[, columns]) [[1]] A B C R1 -0.15910510749630 0.90507729153852 -0.653978178594122 R2 -0.73944224596032 0.23484927168787 0.015557641181675 [[2]] A...
2011 Nov 28
5
window manager interface commands for linux
How can i replicate this in Linux: source(file.choose()) I've tried source(tkgetOpenFile()) but with no luck
2009 Dec 17
1
Question about nv40_draw_array
...8 #2 0x9876c5fa in vbo_save_playback_vertex_list (ctx=0x9a163788, data=0x9a1d5558) at /data/deadwood/AROS/AROS/contrib/gfx/libs/mesa/src/mesa/vbo/vbo_save_draw.c:277 #3 0x985ed13a in execute_list (ctx=0x9a163788, list=1) at /data/deadwood/AROS/AROS/contrib/gfx/libs/mesa/src/mesa/main/dlist.c:6438 #4 0x985f1871 in _mesa_CallList (list=1) at /data/deadwood/AROS/AROS/contrib/gfx/libs/mesa/src/mesa/main/dlist.c:7622 #5 0x98657b4b in neutral_CallList (i=1) at /data/deadwood/AROS/AROS/contrib/gfx/libs/mesa/src/mesa/main/vtxfmt_tmp.h:298 #6 0x9853e65a in glCallList (list=1) at /data/d...
2002 Feb 13
3
xtabs
Hi, In Splus if I call the function crosstabs() the output is a contigency table; in each cell of the table is printed: N, N/RowTotal, N/ColTotal, N/Total. N is the number of observations in each cell. The same call to xtabs() in R will produce the contigency table but the only entry in each cell is N. How can I get the same relative frequencies that crosstabs() gives? Thanks, mike --
2008 Dec 22
2
How can I avoid nested 'for' loops or quicken the process?
Hi All, I'm still pretty new to using R - and I was hoping I might be able to get some advice as to how to use 'apply' or a similar function instead of using nested for loops. Right now I have a script which uses nested for loops similar to this: i <- 1 for(a in Alpha) { for (b in Beta) { for (c in Gamma) { for (d in Delta) { for (e in Epsilon) { Output[i] <-
2020 Oct 01
3
Creating a global variable for a struct array
>The type you pass to GlobalVariable's constructor for that variable should be "[10 x %struct.dlist]" because that's what you want storage for. Then the GlobalVariable itself will be a Constant of type "[10 x %struct.dlist]*". Yes, I verified that this is the case. I enabled assertions and the error seems to occur while creating GlobalVariable for both struct dhash and struct...
2005 Sep 07
2
max concurrent CIFS connections
...him now: "Approaches that increase the Samba architectural limit are judged to be in violation of Microsoft patents and therefore cannot be implemented" I think this guy is not telling the truth and due to this I am asking this question over here. I hope that I write to the right dlist. So I would like to know the following please: - What is the maximum limit for concurrent CIFS connections? - Does Samba really reserve 5MB per CIFS connection? - Is there really a patent of Microsoft for 3.000 CIFS connections? If yes, what is the solution for mor...
2008 Apr 25
3
Use of survreg.distributions
Dear R-user: I am using survreg(Surv()) for fitting a Tobit model of left-censored longitudinal data. For logarithmic transformation of y data, I am trying use survreg.distributions in the following way: tfit=survreg(Surv(y, y>=-5, type="left")~x + cluster(id), dist="gaussian", data=y.data, scale=0, weights=w) my.gaussian<-survreg.distributions$gaussian
2023 Jan 31
1
Sys.getenv(): Error in substring(x, m + 1L) : invalid multibyte string at '<ff>' if an environment variable contains \xFF
...mbcslocale. Perhaps I should be more careful and test for (enc == CE_UTF8) || (utf8locale && enc == CE_NATIVE) instead of just utf8locale. * I have verified that Sys.getenv() doesn't crash with UTF-8-invalid strings in the environment with this patch applied, but now print.Dlist does, because formatDL wants to compute the width of the string which has the 'bytes' encoding. If this is a good way to solve the problem, I can work on suggesting a fix for formatDL to avoid the error. -- Best regards, Ivan
2005 Aug 10
0
Yoda VG-400 and Asterisk Settings
...1 1 3 3 None 202 2 1 3 3 None 203 3 1 3 3 None 204 4 1 3 3 None OK To display the destination table type: Console>atpm dlist Dest id Mode Destination ------------------------------------------------------- 1 Local PORT = 0 2 Local PORT = 1 3 Local PORT = 2 4 Local PORT = 3 OK Now to add the asterisk server to the destination table: First, request access to the atpm database....
2023 Jan 31
1
Sys.getenv(): Error in substring(x, m + 1L) : invalid multibyte string at '<ff>' if an environment variable contains \xFF
...re > careful and test for (enc == CE_UTF8) || (utf8locale && enc == > CE_NATIVE) instead of just utf8locale. > > * I have verified that Sys.getenv() doesn't crash with UTF-8-invalid > strings in the environment with this patch applied, but now > print.Dlist does, because formatDL wants to compute the width of the > string which has the 'bytes' encoding. If this is a good way to > solve the problem, I can work on suggesting a fix for formatDL to > avoid the error. Thanks, indeed, type instability is a big problem of the ap...
2023 Jan 31
2
Sys.getenv(): Error in substring(x, m + 1L) : invalid multibyte string at '<ff>' if an environment variable contains \xFF
...t for (enc == CE_UTF8) || (utf8locale && enc == >> CE_NATIVE) instead of just utf8locale. >> >> * I have verified that Sys.getenv() doesn't crash with UTF-8-invalid >> strings in the environment with this patch applied, but now >> print.Dlist does, because formatDL wants to compute the width of the >> string which has the 'bytes' encoding. If this is a good way to >> solve the problem, I can work on suggesting a fix for formatDL to >> avoid the error. > Thanks, indeed, type instability is a...
2004 Jul 29
1
Asterisk and festival
...hing file include/EST_iostream.h patching file include/EST_THash.h patching file ling_class/EST_relation_aux.cc patching file siod/slib_file.cc patching file speech_class/EST_TrackFile.cc patching file speech_class/EST_wave_cuts.cc patching file speech_class/ssff.cc patching file stats/wagon/dlist.cc patching file stats/wagon/wagon.cc patching file testsuite/hash_regression.cc patching file utils/EST_ServiceTable.cc __SNIP__ and festival patch says. __SNIP__ patching file src/modules/base/phrasify.cc patching file src/modules/base/word.cc patching file src/modules/Intonation/in...
2007 Jan 22
2
Large & busy site, NFS with deliver only servers
Timo / Others, I have been working on a new installation for a fairly busy site, and after many weeks of tribulation have come to an architecture Im happy with: 2x Debian (2.6.18) - MXing machines running Postfix / MailScanner / Dovecot-LDA (A slightly patched RC17 for prettier Quota bounces) 2x Debian (2.6.18) - Mail retrieval machines running Dovecot IMAP/POP3 (Currently RC17) 3x Node Isilon
2014 Jul 30
2
listof
Dear R developers A question about the class 'listof', defined in package 'stats'. Other than its definition and use in the code for 'anova', we can't see that the class 'listof' is used for anything else (in recommended packages, or elsewhere). In the spatstat package we have been using a 'listof' to represent a list of spatial objects of the same
2007 Nov 14
4
Creating a group share
Hello, I have a Samba PDC (3.x) running in a OpenSUSE 10.2 system. The authentication backend is Open LDAP. I want to create a group share (WTCCC) which should be accessible to a group of users (belonging to a group called WTCCC). The users' possess this group as their secondary group (NOT primary). And the share folder would have its gid bit set, so all the writes to the folder