search for: lc

Displaying 20 results from an estimated 1203 matches for "lc".

Did you mean: cl
2009 Sep 08
1
kerberos database principal problem
Hello, I am using kerberos to authenticate apache users. This works fine for one URL, but it doesn't for another. I can get into the application authenticating at the URL omajelut01.sec.jel.lc, but not with monitoring.foobar.com. Here is my klist: [root at omajelut01 etc]# klist -k Keytab name: FILE:/etc/krb5.keytab KVNO Principal ---- -------------------------------------------------------------------------- 4 host/omajelut01.sec.jel.lc at SEC.JEL.LC 4 host/omajelut01.sec.jel.lc...
2007 Dec 09
1
List comprehensions for R
...2]] var <- as.character(lhs[[3]]) seq <- f[[3]] gens <- list(call('<-', var, seq)) } else { # (2) expr <- f[[2]] gens <- as.list(f[[3]])[-1] if(any(lapply(gens, class) != '<-')) stop(syntax.error) } ## Fill list comprehension .LC vars <- as.character(lapply(gens, function(g) g[[2]])) seqs <- lapply(gens, function(g) g[[3]]) .LC <- comprehend(expr, vars, seqs) ## Provided the result is rectangular, convert it to a vector or array ## TODO: Extend to handle .LC structures more than 2-deep. if(!length(.LC))...
2001 Mar 13
1
.C-calls
...avoid sending C-code, I'd like to give the following example that uses `chol' of the "base"-package of R. The fact that it is a .Fortran-call instead of a .C-call shouldn't matter. ## creating a positive definite matrix of size 100x100 lc <- as.integer(100); cov.matrix <- matrix(runif(lc * lc), nrow=lc) cov.matrix <- t(cov.matrix) %*% cov.matrix ## the usual way of getting the Cholesky decomposition c0 <- chol(cov.matrix) ## direct call of the Fortran routine; the code is ## taken from the R-code of `chol' dummy1 &...
2017 May 19
2
test fails when requesting LC_CTYPE
On RedHat Enterprise Linux 6, the test below fails (this is using the stock GCC 4.4.7) from R-devel r72707. LC_CTYPE is unset when I run it, but LANG=en_US.UTF-8 It also failed "yesterday" where as far as I recall the test code looked a bit different. Best, Kasper > ## Results differed by platform, but some gave incorrect results on string 10. > > > ## str() on large strings (in mul...
2010 May 23
3
"order" issue
...7 -0.72431 -1.84753 Melanoma 42 ME:M14 -0.73942 -0.73904 Melanoma 40 LE:SR -0.93541 2.95346 Leukemia 25 CO:SW_620 -1.53265 -1.35446 Colon 63 RE:CAKI_1 -2.48443 0.43245 Renal 39 LE:RPMI_8226 -2.59561 -1.9448 Leukemia 26 LC:A549 -2.66221 0.71215 Lung 61 RE:A498 -2.89402 0.93287 Renal 9 BR:HS578T -2.94118 1.1217 Breast 34 LC:NCI_H522 -2.94381 0.3859 Lung 66 RE:TK_10 -2.95281 1.26245 Renal 52 OV:NCI_ADR_RES -3.04456 0.17046 Ovarian 57...
2009 Sep 11
1
pam_winbind seems unable to return full list of trusted relationship domain members
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello: Our scenario: - - Our domain (ABRANTINA) is a Windows 2003R2 AD (RFC2307 enabled) - - Trusted domain (REDE-LC) is a Windows 2003R2 AD - - cafs01tst is a Debian "stable" based SAMBA 3.2.5 file server Our goal: - - Serve home and shares for users of both domains ABRANTINA and REDE-LC Our implementation: (following guidelines from "Samba-3 by Example", and misc info gathered from the net...
2017 May 20
1
test fails when requesting LC_CTYPE
>>>>> Kasper Daniel Hansen <kasperdanielhansen at gmail.com> >>>>> on Fri, 19 May 2017 20:09:24 -0400 writes: > I rebuilt R with > export LC_CTYPE=en_US.UTF-8 > and the test still fail. Surprisingly, when I run R from the bin directory > and execute the test code, it runs without error: >> oloc <- Sys.getlocale("LC_CTYPE") >> mbyte.lc <- { > + if(.Platform$OS.type == "windows...
2006 Dec 03
0
[778] trunk/wxruby2: Remove broken and deprecated LayoutConstraints, update samples & docs
...supported in +WxRuby. You should use "sizers":sizer.html instead to create flexible +resizeable layouts. </ins><span class="cx"> </span><del>-Constraints are initially set to have the relationship Unconstrained, -which means that their values should be calculated by looking at known constraints. - -h2. Derived from - -"Object":object.html - -h2. See also - -"Overview and examples":constraintsoverview.html, "LayoutConstraints":layoutconstraints.html, "Window#set_constraints":window.html#Window_setconstraints. - -...
2009 Jul 08
2
Formatting a Table
...learning curve factors. However, I cannot figure out how to format the table to: 1) Get rid of the [1]s in the first column and replace it with the values of N. 2) Line up the first row with the factors (decimal fractions). Thanks for any help. The complete program and output is as follows: > Lc<-seq(0.70,0.95,0.05) #Specify learning curves > T<-function(N,Lc) #Create a function to calc.time for Nth unit + { + N^(log(Lc,10)/log(2,10)) #Function + } > for (N in seq(2,10,2)) + {if (N==2){print(T(N,Lc)*100)}else{print(T(N,Lc),digits=3)}} [1] 70 75 80 85 90 95 [1] 0.490 0.562 0.6...
2000 Feb 27
0
[PATCH] Fix login.conf, expiration, BSD compatibility in OpenSSH
...254,6 +1254,7 @@ if (tv.tv_sec >= pw->pw_expire) return 0; } +#endif /* !__FreeBSD__ */ /* We found no reason not to let this user try to log on... */ return 1; } @@ -1268,6 +1269,12 @@ struct passwd *pw, pwcopy; int plen, ulen; char *user; +#ifdef LOGIN_CAP + login_cap_t *lc; + char *hosts; + const char *from_host, *from_ip; + int denied; +#endif /* LOGIN_CAP */ /* Get the name of the user that we wish to log in as. */ packet_read_expect(&plen, SSH_CMSG_USER); @@ -1338,6 +1345,38 @@ packet_disconnect("ROOT LOGIN REFUSED FROM %.200s", get...
2020 Oct 15
1
Dplyr question
Hi All, Trying to get familiar with dplyr so I have a basic question: How to summarise sum(Values) per species, maintaining Code column (each species has a Code): Species Values Code 1 Acanthocybium solandri 33 LC 2 Makaira nigricans 20 VU 3 Makaira nigricans 20 VU 4. Makaira nigricans 20 VU 5 Sarda sarda 2 LC 4 Lethrinus lentjan 12 LC 5 Raja pita...
2009 Jul 01
1
running count in data.frame
...1 0 1 2 3 4 > cumsum(sample(c(-1,1),20,replace=T)) [1] 1 2 1 0 -1 0 -1 -2 -1 -2 -1 -2 -1 -2 -3 -2 -3 -4 -5 -6 However that example doesn't have to read from the data.frame so I tried to leverage on some earlier help today but it isn't working for me. The goal is the MyFrame$lc keeps a running total of events in the MyFrame$l column, and likewise for $pc and $p. It seems that $lc starts off OK until it gets to a 0 and then resets back to 0 which I don't want. The $pc counter never seems to count. I also get a warning message I don't understand so clearly I'm d...
2005 Apr 30
3
How to extract function arguments literally
...ants is to pass R command arguments to XLisp subroutines (He has been an enthusiastic XLisp user for a long time and still tends to use R as a wrapper to XLisp). Is it possible, or should I advise him not to be so lazy? The following is his simple example to explain the situation. R function "lc" which passes its argument to an Xlisp function: lc=function(cmd){ cmd=as.character(substitute(cmd)) .XLisp("lcommand", cmd)} Corresponding XLisp function "lcommand": (defun lcommand (str) (eval (with-input-from-string (s str) (read s)))) If the argument cmd i...
2006 Nov 30
0
[765] trunk/wxruby2: Fixed item_data functions for ListCtrl, plus test
...b_obj, rb_intern("@__swig_dead__") ) == Qtrue ) +&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp return; </ins><span class="cx"> </span><ins>+&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspwxListCtrl* wx_lc = (wxListCtrl*) ptr; +&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspint count = wx_lc->GetItemCount(); +&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspif ( count == 0 ) return; </ins><span class="cx"> </span><ins&...
2006 Nov 03
1
Formal methods are not loaded from NAMESPACE in reloadedworkspace image
...ppreciated. Best, Bernhard >Dear R-Devel subscriber, > >I was hinted to the following problem with package 'urca': > >If one starts R and executes for instance: > >> library(urca) >> example(ur.df) >## output as expected, but omitted here >> class(lc.df) >[1] "ur.df" >attr(,"package") >[1] "urca" >> class(summary(lc.df)) >[1] "sumurca" >attr(,"package") >[1] "urca" >> > >everything works fine. Now, save the workspace image and quit R. After >star...
2011 May 10
2
[LLVMdev] building llvm-gcc on Ubuntu 11.04 Natty Narwhal
Duncan, Can you try another experiment please? I get: $ ls -l `which ld` lrwxrwxrwx 1 root root 7 2011-05-06 19:26 /usr/bin/ld -> ld.gold $ ld.gold -lc ld.gold: error: cannot find -lc $ ld.bfd -lc ld.bfd: warning: cannot find entry symbol _start; not setting start address What do you get? Thanks! Jay.
2017 May 20
0
test fails when requesting LC_CTYPE
I rebuilt R with export LC_CTYPE=en_US.UTF-8 and the test still fail. Surprisingly, when I run R from the bin directory and execute the test code, it runs without error: > oloc <- Sys.getlocale("LC_CTYPE") > mbyte.lc <- { + if(.Platform$OS.type == "windows") + "English_United...
2017 Oct 07
2
Bug 20871 -- is there a fix or work around?
...if (Subtarget.hasSinCos()) { setLibcallName(RTLIB::SINCOS_F32, "sincosf"); This will make the Legalizer choose the brute force approach below: void DAGTypeLegalizer::ExpandIntRes_MUL(SDNode *N, SDValue &Lo, SDValue &Hi) { ... if (LC == RTLIB::UNKNOWN_LIBCALL || !TLI.getLibcallName(LC)) { // We'll expand the multiplication by brute force because we have no other // options. This is a trivially-generalized version of the code from // Hacker's Delight (itself derived from Knuth's Algorithm M from section...
2009 Sep 17
1
Memory-management crash with UTF-8 on Windows (PR#13955)
...ent-Transfer-Encoding: quoted-printable Dear R-Bugs, thank you for your wonderful software, which we use a lot. We are having a = bit of difficulty right now because it crashes sometimes with Unicode=20 characters. Actual sessionInfo: R version 2.9.0 (2009-04-17)=20 i386-pc-mingw32=20 locale: LC=5FCOLLATE=3DGerman=5FGermany.1252;LC=5FCTYPE=3DGerman=5FGermany.1252;LC= =5FMONETARY=3DGerman=5FGermany.1252;LC=5FNUMERIC=3DC;LC=5FTIME=3DGerman=5FG= ermany.1252 attached base packages: [1] stats graphics grDevices utils datasets methods base=20 We can crash R by reading or copy-pasti...
2009 Oct 22
1
Help regarding removing Inf from dataframe, creating new dataframe with selected variables, count function
...nge in market cap represent by 0/1 so even if market cap status changed once, take value 1. 5. create output file containing some already existed variables and newly created variables. following is sample data: Date AssetId Name Country Liquidity MCName 2006_12_31 322833 YPF 'D' Argentina 1 LC 2006_12_31 321948 TELECOM ARGN.'B' Argentina 1 LC 2006_12_31 320205 TELEFONICA DE ARGN.'B' Argentina 1 LC 2007_12_31 874140 YPF 'D' Argentina 1 LC 2006_12_31 281678 PETROBRAS ENGA.PPC.'B' Argentina 1 LC 2006_12_31 992260 PETROBRAS ENERGIA 'B' Argentina 1 LC 2...