search for: ptm

Displaying 20 results from an estimated 54 matches for "ptm".

Did you mean: pte
2009 Apr 24
2
Error building package: LaTeX error when creating PDF version
...sed, (hyperref) setting the option has no effect on input line 315. ) (/usr/share/texmf-texlive/tex/latex/base/makeidx.sty) Writing index file GLMsData-manual.idx (./GLMsData-manual.aux) (/usr/share/texmf-texlive/tex/latex/base/ts1cmr.fd) (/usr/share/texmf-texlive/tex/latex/psnfss/t1ptm.fd) (/usr/share/texmf-texlive/tex/latex/hyperref/nameref.sty (/usr/share/texmf-texlive/tex/latex/oberdiek/refcount.sty)) (./GLMsData-manual.out) (./GLMsData-manual.out) (/usr/share/texmf-texlive/tex/latex/psnfss/t1phv.fd) (./GLMsData-manual.toc [1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}]...
2010 Apr 02
1
Problems with PDF/Latex when building a package
Dear R People: I'm building a packages on an Ubuntu Karmic Koala 9.10 system and am getting the following errors: * checking PDF version of manual ... WARNING LaTeX errors when creating PDF version. This typically indicates Rd problems. LaTeX errors found: ! Font T1/ptm/m/n/10=ptmr8t at 10.0pt not loadable: Metric (TFM) file not found . <to be read again> relax l.7 \begin{document} ! Font T1/ptm/m/n/24.88=ptmr8t at 24.88pt not loadable: Metric (TFM) file not f ound. <to be read again> relax l.8 \chapter*{} ! Font T...
2009 Mar 25
3
very fast OLS regression?
...; xxi<- solve(t(x)%*%x) b<-as.vector(xxi%*%xy) ## I will need these later, too: ## res<-y-as.vector(x%*%b) ## soa[i]<-b[2] ## sigmas[i]<-sd(res) b; } MC=500; N=10000; set.seed(0); x= matrix( rnorm(N*MC), nrow=N, ncol=MC ); y= matrix( rnorm(N*MC), nrow=N, ncol=MC ); ptm = proc.time() for (mc in 1:MC) byhand(y[,mc],x[,mc]); cat("By hand took ", proc.time()-ptm, "\n"); ptm = proc.time() for (mc in 1:MC) bybuiltin(y[,mc],x[,mc]); cat("By built-in took ", proc.time()-ptm, "\n");
2004 Sep 13
2
calculating memory usage
I am comparing two different algorithms in terms of speed and memory usage. I can calculate the processing time with proc.time() as follows but am not sure how to calculate the memory usage. ptm <- proc.time() x <- rnorm(1000000) proc.time() - ptm I would like to be within R itself since I will test the algorithm several hundred times and in batch mode. So manually looking up 'top' may not be feasible. help.seach("memory") suggests memory.profile and gc but I...
2009 Jul 09
0
Hanging ssh sessions with openssh-5.1p1 and Solaris 8 & 10
...e machine and noticed one reading & writing as I pasted in a large quantity of text to a file (/tmp/sshd.test_test): # ./opensnoop -n sshd UID PID CMD D BYTES FILE 12962 9649 sshd R 1056 <unknown> 12962 9649 sshd W 1022 /devices/pseudo/clone at 0:ptm 12962 9649 sshd R 480 <unknown> 12962 9649 sshd W 386 /devices/pseudo/clone at 0:ptm 12962 9649 sshd R 512 /devices/pseudo/clone at 0:ptm 12962 9649 sshd R 9712 <unknown> 12962 9649 sshd R 512 /devices/pseudo/clone at...
2013 May 16
1
To List or Not To List
...it worth it to assemble the data frames into a list and then process them, putatively more quickly than going data frame by data frame, which does not require the up-front assembly. A look at the empirical results shows executing this set of functions df by df consumes 44.15 of elapsed time. > ptm <- proc.time() > > > ROCFunc<-function(DF){ + if(nrow(DF)>129){DF$Mo129<-ROC(DF[,"Close"],n=129)} + if(nrow(DF)> 65){DF$Mo65 <-ROC(DF[,"Close"],n= 65)} + if(nrow(DF)> 21){DF$Mo21 <-ROC(DF[,"Close"],n= 21)} + if(nrow(DF)> 10){DF$Mo10...
2010 Sep 21
1
reshape is re-ordering my variables
...99999 99999 99999 ... This data frame needs to be converted to long format with 5 variables repeating over 4 observations. > rcl <- reshape(rcw,idvar="ICU",varying=2:21,direction="long",v.names=c("init","FTy","FTm","PTy","PTm")) > str(rcl) 'data.frame': 92 obs. of 7 variables: $ ICU : int 1 18 17 9 22 19 6 16 25 26 ... $ time: int 1 1 1 1 1 1 1 1 1 1 ... $ init: int 0 0 0 0 0 0 0 6 0 0 ... $ FTy : int 0 8 12 3 9 1 5 16 5 5 ... $ FTm : int 0 0 0 0 0 0 0 0 0 0 ... $ PTy : int 2 0 0 1 2...
2013 Jul 16
1
[LLVMdev] Instantiating Target-Specifc ASM Parser
Hello, I am working on backend development and would like to utilize my target's MCAsmParser inside of an MCInst-level class implementation. I noticed that the AsmParser is registered with the target registry however I am having no luck grepping for a "template" of how to instantiate it and have yet to find specific documentation on how it is done. Any ideas or help is greatly
2016 Apr 18
8
[Bug 2565] New: High baud rate gets sent, solaris closes pty
https://bugzilla.mindrot.org/show_bug.cgi?id=2565 Bug ID: 2565 Summary: High baud rate gets sent, solaris closes pty Product: Portable OpenSSH Version: 7.1p2 Hardware: Sparc OS: Solaris Status: NEW Severity: minor Priority: P5 Component: sshd Assignee: unassigned-bugs at
2010 Aug 05
2
Multiply each depth level of an array with another vector element
Suppose x <- array(c(1,1,1,1,2,2,2,2), dim = c(2,2,2)) y <- c(5, 10) Now I would like to multiply x[, , 1] with y[1] and x[, , 2] with y[2]. Possible solution is a for-loop: for (i in 1:2) { x[, , i] * y[i] } Another possible solution is this construction: as.vector(t(replicate(nrow(x) * ncol(x), y))) * x I find that these two solutions have a relatively large computation
2006 Jun 10
3
sparse matrix, rnorm, malloc
...below. I'm trying to generate very large sparse matrices (< 1% non-zero entries per row). I have a sparse matrix function below which works well until the row/col count exceeds 10,000. This is being run on a machine with 32G memory: sparse_matrix <- function(dims,rnd,p) { ptm <- proc.time() x <- round(rnorm(dims*dims),rnd) x[((abs(x) - p) < 0)] <- 0 y <- matrix(x,nrow=dims,ncol=dims) proc.time() - ptm } When trying to generate the matrix around 20,000 rows/cols on a machine with 32G of memory, the error message I rec...
2010 Mar 19
2
strptime(): on Linux system it seems to call system time?
...One strange feature of this command running on Linux is that there are repeated calls to system time (as was revealed in a trace of system calls), which considerably affect performance. These system calls end up taking almost 75% of the execution time, and are completely unnecessary. Code: ptm <- proc.time() for (i in 1:100000) strptime("2010-03-10 17:00:00", "%F %H:%M:%S") (proc.time() -ptm) Output on Windows Box (32-bit R 2.9.1 running on Intel X5472 @ 3.0 GHz): user system elapsed 1.31 0.02 1.30 Output on Linux Box (64-bit R 2.10.1 runn...
2012 Sep 06
2
choose() function returning anomalous results (zero instead of one)
...s, i.e.: ------ Browse[2]> pprime <- sum(testma) Error: object 'testma' not found Browse[2]> Browse[2]> loopvar <- loopvar + 1 Browse[2]> debug at #3: partial1 <- (((1 - f11) * (1 - f12))^(Qone - nn)) * ((f11 + (1 - f11) * f12)^nn) Browse[2]> print(proc.time() - ptm) user system elapsed 0.33 0.11 0.59 ----- Everything was generated by the program, I didn't type any of it in; browser() is not in the code below, but I generally put it somewhere in ugly_function() to check on choose(), but it looks like ugly finishes executing and goes back to b...
2010 Aug 06
1
Latex errors when checking package
...I just run R CMD check on an update of one of my packages. All seems fine but after having gone through all the Rd-file and example checking and so on, I get the following kind of errors: LaTeX errors when creating PDF version. This typically indicates Rd problems. LaTeX errors found: ! Font T1/ptm/m/n/10=ptmr8t at 10.0pt not loadable: Metric (TFM) file not found . <to be read again> relax l.7 \begin{document} ! Font T1/ptm/m/n/24.88=ptmr8t at 24.88pt not loadable: Metric (TFM) file not f ound. <to be read again> (and similar ones) l.18 ...ian Hennig \email...
2005 Oct 06
0
chan_capi configuration with AVM C2 card
...etc/capi.conf reads C2 c2.bin DSS1 - - - - P2P C2 - DSS1 - - - - P2P We see no traffic if P2P is not set in /etc/capi.conf. Surprisingly (to me, at least) if I set isdnmode=ptp in /etc/asterisk/capi.conf asterisk will not pick up incoming calls. Incoming ISDN calls *are* answered when isdnmode=ptm is set. We have not yet been able to negotiate an outgoing call. Each attempt is rejected by the telco with a reason code of 0x3302. Here's the dial command : exten => s,1,Dial(CAPI/xxxxxx:b$OUTNUM$) and the capi.conf : [general] nationalprefix=0 internationalprefix=00 rxgain=0.8 txga...
2010 Mar 25
1
*** caught segfault *** address 0x18, cause 'memory not mapped'
...ul for the prox. > > source("f02.R") #here the function kappas.and.deriv(n, > > source("fsimbiasIGLDP.R") #it to compute de bias of jacknife and bootstrap > > source("f01P.R") #in this is "fmainsimbiasP" > > ptm<-proc.time() > sink("out22031001.txt") > > fmainsimbiasP(10000,100) proc.time()-ptm *** caught segfault *** address 0x18, cause 'memory not mapped' Traceback: 1: nlm(f = fprof_deriv, x = x, p = parHInt, b = parFIX, hessian = T, iterlim = 2000, check.analytical...
2008 Mar 27
3
kernel memory and zfs
...rvers, web servers, and ftp servers running in the various zones. I understand that using ZFS will increase kernel memory usage, however I am a bit concerned at this point. root at servername:~/zonecfg #mdb -k Loading modules: [ unix krtld genunix specfs dtrace uppc pcplusmp ufs md mpt ip indmux ptm nfs ] ::memstat Page Summary Pages MB %Tot ---- Kernel 4108442 16048 49% Anon 3769634 14725 45% Exec and libs 9098 35 0% Page cache 29612 115 0% Free (cachelist) 99437 388 1% Free (freelist) 369040 1441 4% Total 8385263 32754 Physical 8176401 31939 Out of 32GB of RAM, 16GB is being used by the k...
2011 Aug 15
0
Stopping criterion in option "control" of BBsolve( )
...nk I should have the BBsolve() function run about 2 seconds and then successfully converge. I specified maxit and noimp as large as 10000. However, the BBsolve function returns nonconvergence only after 0.25 seconds and after 100 iterations. > tst.fn = function(x) { if((proc.time() - R.ptm)[3] > 2) { cat("overtime.\n"); return(c(0,0)); } else { return(c(2,2)); } } > system.time( { R.ptm = proc.time(); tst = BBsolve(par=c(1,1), fn = tst.fn , control = list(maxit = 10000, noimp=10000)) } ) Unsuccessful convergence. user system elapsed 0.25 0.00 0....
2010 Mar 18
0
strptime(): on Linux system it seems to call system time?
...One strange feature of this command running on Linux is that there are repeated calls to system time (as was revealed in a trace of system calls), which considerably affect performance. These system calls end up taking almost 75% of the execution time, and are completely unnecessary. Code: ptm <- proc.time() for (i in 1:100000) strptime("2010-03-10 17:00:00", "%F %H:%M:%S") (proc.time() -ptm) Output on Windows Box (32-bit R 2.9.1 running on Intel X5472 @ 3.0 GHz): user system elapsed 1.31 0.02 1.30 Output on Linux Box (64-bit R 2.10.1 runn...
2005 May 24
2
capi.conf
Good day all I need some help What is the device= in capi.conf How will it look for a 4 port card? I have a section for each msn...but how do I tell witch msn is witch port because in the extensions.conf I dail "CAPI@msnnum" Please give me a example of more than one file Thanks Altus