search for: g_

Displaying 20 results from an estimated 65 matches for "g_".

2005 Apr 12
5
patch to add a menu item in Rgui for RSiteSearch
...b, mpkgbu,*/ mde, mCRAN, mrepos; static int lmanintro, lmanref, lmandata, lmanlang, lmanext, lmanadmin; @@ -485,6 +486,21 @@ } } +static void menusearchRsite(control m) +{ + char *s; + static char olds[256] = ""; + + if (!ConsoleAcceptCmd) return; + s = askstring(G_("Search R Site"), olds); + if (s && strlen(s)) { + snprintf(cmd, 1024, "RSiteSearch(\"%s\")", s); + if (strlen(s) > 255) s[255] = '\0'; + strcpy(olds, s); + consolecmd(RConsole, cmd); + } +} + static void menuapropos(control m) { char *s...
2009 May 28
4
Managing core files using coreadm (Solaris + Puppet)
Hi all, I have an interesting one - Solaris uses a lot of commands to configure specific items. A simple example is coreadm. In this example: # coreadm -p "/var/core/core_%n_%f_%u_%g_%t_%p" will set the directory and filename to dump core files (with some expansion). The question is - how to get this to run only if the config has changed. I have come up with 2 options, neither of which I''m that happy with, so I''m open to ideas... Option 1: Manage the re...
2010 Oct 08
3
Efficiency Question - Nested lapply or nested for loop
My data looks like this: > data name G_hat_0_0 G_hat_1_0 G_hat_2_0 G_0 G_hat_0_1 G_hat_1_1 G_hat_2_1 G_1 1 rs0 0.488000 0.448625 0.063375 1 0.480875 0.454500 0.064625 1 2 rs1 0.002375 0.955375 0.042250 1 0.000000 0.062875 0.937125 2 3 rs2 0.050375 0.835875 0.113750 1 0.877250 0.115875 0.006875 0 4 rs3 0...
2005 Apr 27
0
Fitting a kind of Proportional Odds Modell using nlme, polr, lrm or ordgee
...udy but are the same for both treatment groups within a study. It is given by log(Q_{ijk}/(1-Q_{ijk}) = \alpha_{ik} + \beta*x_{ij} (k=1,...,m-1) This model can be considered as arising from a latent continuos variable . Assume that the response of the j-th subject in study i is truly equal to G_{ij} although this latent reponse will never be observerd. G_{ij} has a logistic distribution with: Q_{ijk} = P(G_{ij} <= \alpha_{ik}) = 1/(1+exp(-(\alpha_{ik}+\beta*x_{ij}) (k=1,...,m-1) in which Q_{ijk} is the probabilty of having a response for the j-th subject in category k or bette...
2012 Nov 16
1
Split data frame and create a new column
I need to split a data frame into 3 columns. The column I want to split contains indices of lag (prefix L1 or L2 and suffix 01, 03, 04), station name (shown in the sample data as capitalized G, P and S) and pollutant name. Names with no ?L? prefix or 01/04 suffix are lag 0. Lag 01 is average of lag 0 and 1, and 04 is average of 0 to 4 days. How can one do that in R? I will ignore the other
2006 Jan 25
1
xx-0.1.0 : xhtml and xml make it twice as dirty
...ot # be used in conjuction with method_missing to auto-generate tags. for those # methods a tag of the same method can be generated using and escaped form, # namely two or more underscores always mean ''generate a tag''. those methods # are: # # - g_ # - text_ # - t_ # - h_ # - x_ # - c_ # - at_ # - att_ # - yat_ # include XX::XML doc = xml_{ root_{ t_{ "this is a text element" } t__{ "this is not text, but a __tag__ called t" }...
2019 Feb 22
11
RFC: changing variable naming rules in LLVM codebase
...and other abbreviations would be considered words for this purpose, so we have names such as: tli // Local variable for TargetLoweringInfo m_cgm // Data member for CodeGenModule - I don't have a good suggestion for file-static/global variables. Some people have suggested a "g_" prefix for globals, or possibly an "s_" prefix for class-static data. Regarding the transition: Some people have worried that the churn will cause blame issues. I respectfully point out that in my own archaeology I have to deal with lots of clang-format/indentation/other random...
2006 Apr 18
0
scalassoc package
...to write the iterations to a quicktime movie file. Currently this creates a lot of intermediate jpeg's (although it cleans up after itself). It may be possible to use ffmpeg to stream them directly into a movie file. Just to give you an idea, the data are in the n x k_j indicator matrices G_j, where g_{ijl}=1 if object i is in category (level) l of variable j. The log- likelihood we maximize is -------------- next part -------------- A non-text attachment was scrubbed... Name: pastedGraphic.pdf Type: application/pdf Size: 29990 bytes Desc: not available Url : https://stat.ethz.ch/pipe...
2018 Nov 10
2
[RFC] Tablegen-erated GlobalISel Combine Rules
...tty similar especially after IRTranslator (which is a direct translation) through to the Legalizer (which is the first point target instructions can until targets make custom passes). From the Legalizer to ISel, there's still likely to be a fair amount of overlap between the two as a lot of the G_* opcodes directly correspond to LLVM-IR instructions. The tricky bit will be the escape hatches into C++ would need to either have Instruction/MachineInstr versions or would need to accept both. >> Here's a simple example that eliminates a redundant G_TRUNC. >> >> def : GICo...
2019 Feb 22
3
RFC: changing variable naming rules in LLVM codebase
...s is more typing, but we accept that for the clarity it brings. > > Now, these may be considered trivial complaints, but given that some of > them have already been raised, I think we need some discussion about it. > If there's overwhelming support for "m_" (and/or "g_" etc.) then fine, > but if there's about even opinions either way, we ought to go with the > status quo, at least for now. I don't think "overwhelming" is an appropriate barrier to adoption. I hear people say "yes, this would make it easier for me to read the code...
2018 Nov 15
2
[RFC] Tablegen-erated GlobalISel Combine Rules
...lator >> (which is a direct translation) through to the Legalizer (which is the >> first point target instructions can until targets make custom >> passes). From the Legalizer to ISel, there's still likely to be a fair >> amount of overlap between the two as a lot of the G_* opcodes directly >> correspond to LLVM-IR instructions. The tricky bit will be the escape >> hatches into C++ would need to either have Instruction/MachineInstr >> versions or would need to accept both. > > Yes. I wonder if templates can help with this. I'm thinking...
2018 Oct 26
2
classicupgrade
On Fri, 26 Oct 2018 15:09:35 +0200 Corrado Ravinetto via samba <samba at lists.samba.org> wrote: > > > Il 26/10/2018 14:49, Rowland Penny via samba ha scritto: > > Please post the smb.conf from the PDC. > > [global] >         workgroup = LXCERRUTI >         netbios name = SRVCERRUTI >         server string = Samba PDC - Versione %v >         passwd
2008 Sep 23
1
Problem during porting R-2.7.2 on HP-UP 11.11 PA-Risc
Dear "R"-Team, we had some problem to install R-2.7.2 on HP-UX 11.11 on PA-Risc platform. 1.) i load down the Software and made a extract of the tar-file in a specific Directory. 2.) i follow the instructions on the INSTALL file: ./configure 3.) during "configure" we got a error message see below: checking for history_truncate_file... no configure: error:
2019 Feb 04
2
Variable names rule
If we're talking about member variables, just put an m in front of it, problem solved. You already have one for s_, and I didn't see you mention it but I assume you'd want g_ for globals, so m_ makes perfect sense for member variables and there's no question about UB at that point. On Mon, Feb 4, 2019 at 1:27 PM JD Jones via llvm-dev < llvm-dev at lists.llvm.org> wrote: > Yeah, I hated it too at first. It grew on me. After about a week or so, > it doe...
2005 Apr 22
4
Bug in Version 2010 (PR#7807)
Dr. Michael Breuer 22.04.05 ?kologiezentrum der Universit?t Kiel Olshausenstra?e 75 24118 Kiel Dear Ladies and Sirs, After updating the R-Windows-program (binary) by the latest version (2010), the R-Scripts that I want to execute are not shown in the File-Window anymore. In the former version it worked
2018 Jan 09
2
isolinux.bin checksum
Hi, Ady wrote: > This is a quote from Wonko/Jaclaz, who has also been investigation this > issue and deserves credit for it: > Ok, not that I understand the code, but what *somehow* happens is that > the "embedded" checksum in Isolinux.bin (starting from 4.00) is the > checksum of the WHOLE file (i.e. starting from offset 0 instead of 64) > at a time when: > 1)
2003 Oct 20
3
SAMBA 3 and Windows2000 mixed mode trust
...ldap ssl = no passdb backend = ldapsam:ldap://10.10.5.160/ guest passwd program = "/sambabin/samba/bin/ldapsync.pl -o %u" passwd chat = *New*password* %n\n *Retype*new*password* %n\n *modifying* unix password sync = Yes logon script = %G_%U.bat %G %U log level = 0 logon home = logon path = admin users = @helpdesk min password length = 5 wide links = no I have create the trust account and the windows 2000 have trust samba without problem. Second: on samba server : net rpc trustd...
2018 Oct 26
0
classicupgrade
...our new Samba was > found first ? no samba installed before > Did you check for duplicate SID's ? yes > Did you check if any of your users had a RID less than '1000' ? mmmmm > Did you check for usernames that were also being used as group names. yes, i renamed all group with g_ because all old users had one group with same name > > If this was a new computer, did you transfer all the old databases from > the old PDC to the new computer ? yes i followed classciupgrade from wiki.samba.org > Did you run the upgrade as 'root' ? yes > Was the output fro...
2005 Dec 04
1
Xen from source and Python error
Hi all... I want to build my own domU and dom0 kernel. But when i do a "make world" I get something like "invalid python installation" and "can''t find /usr/lib/python2.3/config/Maikefile". I found the same problem in "xen-users" archive but the server is so slow that i can''t get the post. Only Google shows me that it''s there.
2009 Sep 17
0
lpSolve constraints don't seem to have an effect
...s (0 included) -lambdas in the following code- and observe the value of the objective function and the constraint on these points and approximate it by the following program: (Sorry for the Latex type equations) max Sum_{j=1}^{2}Sum_{k=0}^{8}f_{kj}lambda_{kj} subject to: Sum_{j=1}^{2}Sum_{k=0}^{8}g_{kj}lambda_{kj}+x2 = 6 Sum_{k=0}^{8}lambda_{k1} = 1 Sum_{k=0}^{8}lambda_{k2} = 1 lambda_{k1} >= 0 lambda_{k2} >= 0 x2 >= 0 library(lpSolve) # Objective function and constraint f1 <- function(x) 2*x-x^2 f2 <- function(y) y g1 <- function(x) 2*x^2 g2 <- function(y) 3*y^2 # S...