search for: pk

Displaying 20 results from an estimated 546 matches for "pk".

Did you mean: pkt
2008 Jul 14
3
Loop problem
Dear all, I want to write ck<-cbind(rep(pk[1,1],4),rep(pk[1,2],4),rep(pk[1,3],4)) state ment in a loop . How can I write it ? > pk [,1] [,2] [,3] [1,] -1.1354816 0.9808877 -0.9446314 [2,] 0.7787378 0.4536944 0.3204882 [3,] -1.7274907 1.5112011 1.4481839 [4,] 1.0629145 0.5976109 -0.5277638 > pk<-m...
2012 Jun 13
2
[LLVMdev] llvm-mc problem after a pass
...#39;m having some problem with llvm-mc on a program after applying a pass: ../../../build/Release+Asserts/bin/clang -emit-llvm -c -I./testprof/ -I./src/headers/ -I../libtommath-0.42.0/ -Wall -Wsign-compare -W -Wshadow -Wno-unused-parameter -DLTC_SOURCE -O0 -DLTC_NO_ASM -DUSE_LTM -DLTM_DESC -o src/pk/asn1/der/sequence/der_encode_sequence_ex.bc src/pk/asn1/der/sequence/der_encode_sequence_ex.c ../../../build/Release+Asserts/bin/opt -reg2mem -load ../../../build/Release+Asserts/lib/LLVMobfuscation.so -flattening src/pk/asn1/der/sequence/der_encode_sequence_ex.bc -o src/pk/asn1/der/sequence/der_en...
2009 May 17
3
build CONTENTS or 00Index.html without installing whole package
...'t exist already: so far they have all existed and it works for those. And the last line doesn't work, so I just install a package and then the indices get rebuilt.) #!/bin/bash # makes indexable help files for R packages, including pdf vignettes # usage inst.bat "[files]" for PKG in `ls $1` do echo $PKG tar xfz $PKG PK=`echo $PKG | /bin/sed -e 's/.tar.gz//' | cut -d"_" -f1` echo $PK mkdir -pv /usr/lib/R/library/$PK mkdir -pv /usr/lib/R/library/$PK/html # copy description (which contains version number) and CONTENTS...
2012 Jun 13
0
[LLVMdev] llvm-mc problem after a pass
...ng some problem with llvm-mc on a program after applying a pass: > > ../../../build/Release+Asserts/bin/clang -emit-llvm -c -I./testprof/ -I./src/headers/ -I../libtommath-0.42.0/ -Wall -Wsign-compare -W -Wshadow -Wno-unused-parameter -DLTC_SOURCE -O0 -DLTC_NO_ASM -DUSE_LTM -DLTM_DESC -o src/pk/asn1/der/sequence/der_encode_sequence_ex.bc src/pk/asn1/der/sequence/der_encode_sequence_ex.c > ../../../build/Release+Asserts/bin/opt -reg2mem -load ../../../build/Release+Asserts/lib/LLVMobfuscation.so -flattening src/pk/asn1/der/sequence/der_encode_sequence_ex.bc -o src/pk/asn1/der/sequence/d...
2004 May 17
1
Clock skew and net ads join problem
HI, when i try to execute the kinit command on my Red hat 9 system with samba 3 i get the following error [root@niit125 root]# kinit junaid@NIIT.EDU.PK Password for junaid@NIIT.EDU.PK: kinit(v5): Clock skew too great while getting initial credentials so how do i solve the clock skew problem cause i have checked the time on both of them it is the same. the net ads join command doesnt give any error but i still see nothing in the active dire...
2005 Mar 16
0
Sun One Directory Server 5.2 ldapclient init -v -a Problem
Hi All, I Have installed the Sun Directory Server 5.2 from JES 2004Q2 CD's with following options /etc/hosts 192.168.1.23 train01.tipu.com.pk train01 loghost DNS is running for tipu.com.pk on the same machine and here is /etc/resolv.conf domain tipu.com.pk nameserver 192.168.1.23 Directory Server installed using the following Suffix dc=tipu,dc=com,dc=pk when i run /usr/lib/ldap/idsconfig it's working fine below are the config...
2006 Jun 30
4
ActiveRecord Migrations, without autonumbered PK''s
I love using ActiveRecord Migrations to build tables. Sometimes, I don''t want to use autogenerated PK''s - I want to set them automatically (why? I''m importing read only data from a large list of medications, and want to use the PK''s assigned by the medication research company...). Is there anyway to do this using Migrations? I know that I don''t need to set...
2012 Jan 03
1
Error when using foreach package for parralelization
Hi, i tried to find the answer but didn't so my apologies if the question is obvious ! I'm trying to parallelize the following R code : pk2test = c(1:16,(12*16+1):(12*16+16),(16*16+1):(16*16+16),(20*16+1):(20*16+16)) score.mat = matrix(nc=16*4,nr=16*4) for(i in 1:(16*4)) { for(j in i:(16*4)) { score.mat[i,j] = score.mat[j,i] = computeScore(pk[[pk2test[i]]],pk[[pk2test[j]]],10,5)$score...
2006 May 09
1
2.3.0 problems
...t is deprecated 6: use of NULL environment is deprecated 7: use of NULL environment is deprecated 8: use of NULL environment is deprecated ------------------ What is NULL environment? 3. My files: > .First function() { editedOn <- "2006-04-28, 11:08" options(digits=6) pk <- .packages(all = TRUE) su <- substr(pk,1,3) pk1 <- pk[(su=="cwh") & (!is.na(su))] for (ii in pk1[pk1!="cwhmisc" & (sapply(pk1,function(x) !(" " %in% unlist(strsplit(x,NULL)))))]) # to avoid concatenation of names library(ii,characte...
2007 Nov 22
2
Active Record Question
hey! I have the following table structure in my DB | users | ------------ | (pk)id | | username | | pass | ------------ (1:n) | users_objects | | objectattributes | ------------------ ---------------------------------- | (fk,pk)user_id | (1:n) | (pk)attribute | |(fk,pk)object_id|...
2009 Mar 09
3
multiple columns primary key
Hi all, I have two tables: TABLE 1 A pk - fk (referencesc TABLE 2) B pk C pk D pk E F TABLE 2 A pk G H I L I don''t use incremental field (id). I''d like don''t use find_by_sql. How can I define both models to use correctly find method (with include)? With only one column primary key I haven''t problems....
2009 Oct 08
6
Eager Loading a Relationship That Has No PK/FK
I''m attempting to wrestle an old DB into Rails. This relationship is giving me trouble: class Show < AR::Base has_many :segments end class Segment < AR::Base belongs_to :show has_one :media #this has no PK/FK relation end A Segment is "linked" to Media by Media.name, which is the result of concatenating Segment.name and Segment.part. As I said there are is no PK/PK relation so the actual Segment class looks like this: class Segment < AR::Base def media @media ||= Media.find_by_na...
2010 May 17
2
best polynomial approximation
Dear R-users, I learned today that there exists an interesting topic in numerical analysis names "best polynomial approximation" (BSA). Given a function f the BSA of degree k, say pk, is the polynomial such that pk=arginf sup(|f-pk|) Although given some regularity condition of f, pk is unique, pk IS NOT calculated with least square. A quick google tour show a rich field of research and many algorithms proposed for computing such a task. I was wondered if some of you knows ab...
2002 Jul 04
1
doubt about DF in survival model
Hi all, I have this, Weibull distribution n= 1000 > anova(pk.m0) Df Deviance Resid. Df -2*LL P(>|Chi|) NULL NA NA 999 1451.31 NA > anova(pk.m0,pk.m1) Terms Resid. Df -2*LL Test Df Deviance P(>|Chi|) 1 1 998 1451.310 NA NA NA 2 seed 996 1229.714 2...
2006 Jun 09
3
sqlSave() and rownames=TRUE makes my Rgui crash
Hello, I created a table in MySQL with this command CREATE TABLE example (pk INT NOT NULL AUTO_INCREMENT,PRIMARY KEY(pk), id VARCHAR(30),col1 VARCHAR(30),col2 VARCHAR(30)) ### In R, I can connect to this table: library(DBI) library(RODBC) chan <- odbcConnect("MySQL51", uid="root", pwd="xxx") first <- sqlQuery(chan, "select * from...
2005 Jun 16
3
PostgreSQL Scaffold Doesn't Insert PK?
...ting an existing Web app. I am running the latest release on Tiger and PG8. Right now my single table has three attributes: id | integer | not null hotel_name | character varying(255) | not null hotel_location | character varying(255) | not null "hotels_pkey" PRIMARY KEY, btree (id) When I use the generated insert form, it sends this SQL: INSERT INTO hotels ("hotel_location", "hotel_name") VALUES(''Strip'', ''Bellagio'') Of course there is no PK there so the query fails and an exception is r...
1997 Apr 30
2
R-alpha: New Incomplete Beta Function
...a) - lgamma(b); y += log(w / a); t = exp(y); done: if (flag == 1) { if (t <= DBL_EPSILON) t = 1 - DBL_EPSILON; else t = 1 - t; } return t; } /* Continued fraction expansion #1 * for incomplete beta integral */ static double incbcf(double a, double b, double x) { double xk, pk, pkm1, pkm2, qk, qkm1, qkm2; double k1, k2, k3, k4, k5, k6, k7, k8; double r, t, ans, thresh; int n; k1 = a; k2 = a + b; k3 = a; k4 = a + 1; k5 = 1; k6 = b - 1; k7 = k4; k8 = a + 2; pkm2 = 0; qkm2 = 1; pkm1 = 1; qkm1 = 1; ans = 1; r = 1; n = 0; thresh = 3 * DBL_EPSILON; do {...
2006 Apr 07
2
has_one not using the pk?
Hello, im trying to wrap a fairly ugly legacy schema using AR. How to handle normalized informations which aren''t connected via the pk? create table what ( myid int, myclass int, ;; references blahclass.blahid mygender int ) create table blahclass ( blahid int, mdesc1 text, fdesc1 text) ) I would like to wrap this as class What < AR::Base has_one :blahclass class Blahclass < AR::Base belongs_to :who The...
2008 Nov 26
8
Mobile as FXO
...established I have to use Nokia 7610 for conversation. Is it possible to use softphone, dial via mobile phone and have conversation using softphone? Regards, Irfan Mali ================ Manager MIS TricastMedia Cell +92 321-6099155 PH: +92 42 5785703-8 Ext: 196 Web: www.tcm.com.pk -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081126/5b189200/attachment.htm
2008 Mar 28
0
Vacancy Principal Postdoc PK-PD modeling The Netherlands
________________________________ Principal Post-Doctoral Fellow PKPD modelling platform (full time) Leiden University, Leiden, The Netherlands <javascript:doredirect();> Job description ________________________________ TOP Institute Pharma (TI Pharma) has granted our proposal to set up a mechanism-based PK-PD modelling platform. This platform fo...