Displaying 20 results from an estimated 50 matches for "testm".
Did you mean:
test
2009 May 22
2
Step by step: Making an R package with Fortran 95
...dle on the whole Makevars file
and whatever else I might need to get things working to build a new R
package. By the way, I'm using R 2.8.1 and Windows XP (and sometimes
Linux).
Let's take this simple situation. Suppose I'm using Windows XP and place
the Folder for the package "Testme" in C:\Program
Files\R\R-2.8.1\src\library\Testme
Files and folders:
DESCRIPTION file -- I understand this file
NAMESPACE file: This one has the contents
useDynLib("Testme")
exportPattern("^[^\\.]")
man directory: I put my *.Rd files here....
2006 May 27
1
Trouble passing list or non-list to function using ...
Hello,
Simply put, I'm trying to call a function "testme" with value "age=NA". I wish to use "dotlist<-list(...)" inside the function and have dotlist become:
$age
[1] NA
I'm modifying existing code and need to minimize changing that code so it's easiest to conform
how I call the existing function.
My sample cod...
2006 May 08
2
On the speed of apply and alternatives?
Dear all,
I have to handle a large matrix (1000 x 10001) where in the
last column i have a value that all the preceding values in the same row
has to be compared to.
I have made the following code :
# generate a (1000 x 10001) matrix, testm
# generate statistics matrix 1000 x 4:
qnt <- c(0.01, 0.05)
cmp_fun <- function(x)
{
LAST <- length(x)
smpls <- x[1:(LAST-1)]
real <- x[LAST]
ret <- vector(length=length(qnt)*2)
for (i in 1:length(qnt))
{
q_i <- quantile(smpls, qnt[i]) # the quan...
2007 Aug 14
2
OpenSSH public key problem with Solaris 10 and LDAP users?
...he Sun pam_ldap stuff.
Strange thing is, that I *am* able to login to this machine with
pubkey authentication as /some/ users. But it does not work for /all/
the users; also not for (test) accounts I just created.
What did I do? In LDAP, I added a test account:
version: 1
# LDIF Export for: uid=testme,ou=People,ou=RACE,o=cmp
# Generated by phpLDAPadmin ( http://phpldapadmin.sourceforge.net/ ) on August 14, 2007 10:43 am
# Server: RACE LDAP Server (winds06)
# Search Scope: base
# Search Filter: (objectClass=*)
# Total Entries: 1
dn: uid=testme,ou=People,ou=RACE,o=cmp
cn: Test User
gidNumber: 10...
2012 Apr 17
0
Problems with samba as PDC
...Master
--------- -------
DB HP4
HARAPARTNERS HP1
WORKGROUP PRINTSTATION
[wynkoop at dt0 ~]$
I was also able to join the FreeBSD workstation to the Samba Domain as evidenced
by the output of wbinfo:
[wynkoop at dt0 ~]$ wbinfo -u
nobody
wynkoop
testme
www
alish
[wynkoop at dt0 ~]$
Note that users testme www and alish do not exist on the workstation.
They only
exist on the Samba Server which is FreeBSD 9 with samba 3.6.
I have the following in /etc/pam.d/sshd
#
# $FreeBSD: releng/9.0/etc/pam.d/sshd 197769 2009-10-05 09:28:54Z des $...
2009 Jul 30
1
stepwise variable selection method wanted
...umns")}
else {
#currently function only performs cophenC on gower with ward, but this can be adjusted easily to other metrics/methods
require(cluster)
require(ade4)
dta->dta.sic
lhs<-dta
for(j in 1:ncol(dta)){
print(paste("round", j))
as.data.frame(matrix(ncol=4, nrow=0))->testm
for(i in 0:ncol(lhs)) {
if(i == 0){
daisy(lhs, metric="gower")->d.all
agnes(lingoes(d.all),method="ward")->agnes.d.all
cophenetic(agnes.d.all)->d1
cor(d1,d.all)->cc
testm<-data.frame(varID=0,cophenC=round(cc,3),varsdel=NA,round=0)
}...
2007 Jan 15
2
[LLVMdev] llc c backend can produce code that doesn't compile on gcc 4.x
...ke to ask the llvm developers to have a look at http://
llvm.org/bugs/show_bug.cgi?id=918 .
This bug has been reported 4 month ago but is none the less a
somewhat serious one.
Below I have pasted the test case and output of the issue running on
my ppc machine.
thank you
Eric
pb:~ eric$ cat testme.ll;llvm-as -f testme.ll;llc -march=c -f
testme.bc;gcc -c testme.cbe.c ;gcc --version;llc --version
%structtype_s = type { i32 }
%fixarray_array3 = type [3 x %structtype_s]
define i32 %witness(%fixarray_array3* %p) {
%q = getelementptr %fixarray_array3* %p, i32 0, i32 0, i32 0
%v = loa...
2009 May 05
1
Users
Hi All,
I am confused about users. IIRC, ftp users are just ordinary users on
the system (/etc/passwd)
Is there an add user wizard from the command-line?
I dont quite get all of the steps to add a user, dont let login except
FTP, etc, etc
-Jason
2016 Apr 26
2
How to print the frequency table (produced by the command "table" to Excel
...a b c
1 0 0 1
2 0 1 0
3 1 0 0
> test<-table(df[,c("y","z")])
> as.data.frame(test)
y z Freq
1 1 a 0
2 2 a 0
3 3 a 1
4 1 b 0
5 2 b 1
6 3 b 0
7 1 c 1
8 2 c 0
9 3 c 0
> as.matrix(test)
z
y a b c
1 0 0 1
2 0 1 0
3 1 0 0
> testm<-as.matrix(test)
> testm
z
y a b c
1 0 0 1
2 0 1 0
3 1 0 0
> typeof(testm)
[1] "integer"
[[alternative HTML version deleted]]
2007 Mar 22
1
tilde in mbox:, when used in non-system user db
Originally I've thought that this is related to INBOX field,
but it turned out it happens only when you specify mbox.
Consider following passwd-file:
testms::10000:10000:imap,,,:/home/vmail/ppgk.com.pl/testms/./::userdb_mail=mbox:~/Mail:INBOX=/home/vmail/ppgk.com.pl/%u/inbox
or following line from userdb static:
args = uid=10000 gid=10000 home=/home/vmail/ppgk.com.pl/%u/./ mail=mbox:~/Mail:INBOX=/home/vmail/ppgk.com.pl/%u/inbox
In both cases, in us...
2007 Mar 21
1
Double homedirs and tilde problems in case of chroot in passwd-file / static dbs.
Recently I've made the post about "double homedir" problem,
but I couldn't recreate it later. Here're the exact steps to
make it happen (configuration is at the bottom):
1) set configuration as below with passwd-files
2) clean testms dir (not necessary though)
3) reload dovecot (HUP is enough)
4) access the server with any client using testms user
(make sure no other user accesses server before you)
- on the first access, dovecot will create
/home/vmail/ppgk.com.pl/testms/Maildir under
/home/vmail/ppgk.com.pl/testms...
2010 Jan 18
2
sendmail alias
Hi,
how are mails forwarded, if I do have the same alias pointing to two
different users like this (two entries, two lines):
bon.aqua: coke
bon.aqua: pepsi
Will coke and pepsi get the mail adressed to bon.aqua or will only the
first entry get the mail?
I know, that "bon.aqua: coke, pepsi" will forward the mails to coke and
pepsi,
Cheers,
G?tz
--
G?tz Reinicke
IT-Koordinator
2016 Apr 26
0
How to print the frequency table (produced by the command "table" to Excel
...ot;)])
>> as.data.frame(test)
> y z Freq
> 1 1 a 0
> 2 2 a 0
> 3 3 a 1
> 4 1 b 0
> 5 2 b 1
> 6 3 b 0
> 7 1 c 1
> 8 2 c 0
> 9 3 c 0
>> as.matrix(test)
> z
> y a b c
> 1 0 0 1
> 2 0 1 0
> 3 1 0 0
>> testm<-as.matrix(test)
>> testm
> z
> y a b c
> 1 0 0 1
> 2 0 1 0
> 3 1 0 0
>> typeof(testm)
> [1] "integer"
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org m...
2007 Apr 18
20
dependency and communication between defined classes
Hi,
i wanted to know how you handle case when classes or define need to
communicate between them. For exemple i got an ftpd define and a
apachevhost define. Both need to know the path where the vhost is set
and this path is defined by the ftpuser home''s directory. How can i ask
information from other define or other classes ? we allready seen that
tag are not reliable as they
2007 Aug 30
2
define-based exported virtual resources
Can you use exported virtual resources with custom definitions? As an
example, with the following definition:
define vr-tester() {
file {
"/tmp/vr-success.txt":
content => ''foobar'';
}
}
this code is working for me:
class testme {
@vr-tester { "foobar": ; }
Vr-tester <||>
}
but this is not:
class testme {
@@vr-tester { "foobar": ; }
Vr-tester <<||>>
}
Using a standard puppet type like ''file'' is working fine for me as an
exported resource.
-Steve
2007 Jan 06
2
Question about AGI and variable storage
Hi all,
I just finished writing the bulk of an AGI interface to FirebirdSQL
databases and I noticed that when assigning a variable through AGI (I
assume this also applies within the dialplan), you have to enclose it in
quotes if there are any space.
Does Asterisk strip off the quotes when storing the value?
Just curious.
Thanks,
--
Warm Regards,
Lee
2014 Sep 08
0
is pattern matching inside macro valid?
Can't we use pattern matching inside a macro?
Because when I am trying to do so call is terminating even for a very
simple dummy dialplan.
[demo3]
exten=>98,1,NoOp()
exten=>98,2,Macro(testme)
exten=>h,1,NoOp(terminating call);
[macro-testme]
exten=>s,1,Playback(Digits/2)
exten=>s,2,WaitExten(15)
exten=>s,3,NoOp()
exten=>_X,1,NoOp(${EXTEN})
exten=>_X,2,Goto(s,3)
Even for this code when execution reaches the line 2 in macro 'testme' it
terminates as soon as...
2011 Jan 03
23
Managing cronjobs as a file in solaris with appendifnosuchline for specific servers
I want to manage cronjobs as a " file " in solaris through puppet and
not using the puppet cron resource.
I will be managing the file /var/spool/cron/crontabs/root.
I want the cron file to be same across all servers except some servers
will have additional cron entries.
How can I append to the file /var/spool/cron/crontabs/root , something
like appendifnosuchline in cfengine?
Can
2013 Jan 29
3
how to suppress the intercept in an lm()-like formula method?
...r")
x <- model.matrix(mt, mf, contrasts)
# fixup to remove intercept???
z <- if (is.null(w))
cancor.default(x, y, ...)
else stop("weights are not yet implemented") # lm.wfit(x, y, w, ...)
z$call <- cl
z$terms <- mt
z
}
TESTME <- FALSE
if (TESTME) {
# need to get latest version, 0.6-1 from R-Forge
install.packages("candisc", repo="http://R-Forge.R-project.org")
library(candisc)
data(Rohwer)
# this bombs: needs intercept removed
cc <- cancor.formula(cbind(SAT, PPVT, Raven) ~ n + s + ns + na...
2008 Apr 29
1
winbindd hangs up while retreiving usernames.
...in AD achieved proper DNS-name field, but didn't achieve
any of OS type fileds.
I've restarted winbindd (with /usr/local/etc/rc.d/samba restart) - OK
I've pinged winbindd with
wbinfo -p - Success
wbinfo -t returns "checking the trust secret via RPC calls succeeded"
wbinfo -a testme%testme returns
plaintext password authentication succeeded
challenge/response password authentication succeeded
wbinfo -s successfuly converts SIDs to object-names.
however, wbinfo -u and wbinfo -g returns lists only after 20-30 seconds.
wbinfo -r testme doesn't work, hanging up, so squid'...