search for: liao

Displaying 20 results from an estimated 159 matches for "liao".

Did you mean: ciao
2020 Aug 03
1
[PATCH] virtio_pci_modern: Fix the comment of virtio_pci_find_capability()
From: Liao Pingfang <liao.pingfang at zte.com.cn> Fix the comment of virtio_pci_find_capability() by adding missing comment for the last parameter: bars. Fixes: 59a5b0f7bf74 ("virtio-pci: alloc only resources actually used.") Signed-off-by: Liao Pingfang <liao.pingfang at zte.com.cn> S...
2003 Mar 05
8
how to find the location of the first TRUE of a logical vector
without having to check the vector element by element? Thanks a lot! Jason ===== Jason G. Liao, Ph.D. Division of Biometrics University of Medicine and Dentistry of New Jersey 335 George Street, Suite 2200 New Brunswick, NJ 08903-2688 phone (732) 235-8611, fax (732) 235-9777 http://www.geocities.com/jg_liao
2004 Nov 07
3
Calling Other (non-C or Fortran) Programs from R
Hi! I wonder if anyone has experiences of calling other programs from R (i.e., not C or Fortran programs). Specifically I want to call LEM from R and execute it in a loop to process its output in R. Thanks, Tim Liao
2008 Feb 15
3
Error 'singular gradient' in nonlinear model fitting
..., R shows the error called 'singular gradient' in the model. Could anyone please help me to fix the error? I don't think there are any problems with my data because I can fit the same model to 2004 data without any problems using SAS. Thank you very much in advance. Hongsheng (Hank) Liao, Ph.D. Lab Manager Center for Quantitative Fisheries Ecology 800 West 46th Street Old Dominion University Norfolk, Virginia 23508 Phone:757.683.4571 Fax:757.683.5293
2009 Oct 09
0
Help from Bill Liao
Dear Matthieu or other friends, I want to select two unknown thresholds with the following function: grid<- selectSETAR(x1, m=1, thDelay=0, criterion=C("AIC","SSR"), nthresh=2) print(grid) plot(grid) where x1 is a price time series. However, it always shows the following error. Error in selectSETAR(x1, m = 1, thDelay = 0, criterion = C("AIC",
2003 Jul 23
5
Dismal R performance of Athlon moble CPU?
...imulation program and the new computer is only 30% faster, in fact slightly slower than a Celeron 1.50 GB laptop. I am very disappointed by this. What is your experience with Athlon? Should I stick to Intel in the future? Thanks. By the way, the OS is Windows XP home edtion. Jason ===== Jason G. Liao, Ph.D. Division of Biometrics University of Medicine and Dentistry of New Jersey 335 George Street, Suite 2200 New Brunswick, NJ 08903-2688 phone (732) 235-8611, fax (732) 235-9777 http://www.geocities.com/jg_liao
2005 Apr 18
2
when can we expect Prof Tierney's compiled R?
I am excited to learn that Prof. Tierney is bringing to us compiled R. I would like to learn when it will be available. This information will be useful in scheduling some of my projects. Thanks. Jason Jason Liao, http://www.geocities.com/jg_liao Dept. of Biostatistics, http://www2.umdnj.edu/bmtrxweb University of Medicine and Dentistry of New Jersey 683 Hoes Lane West, Piscataway‚ NJ 08854 phone 732-235-5429, School of Public Health office phone 732-235-9824, Cancer Institute of New Jersey office
2011 Feb 02
2
Using MathJax in R's help system
...p pages (i.e. options(help_type='html')) and it seems working with some minor modifications. The screenshot (rendered by Firefox 4.0 beta and with STIX fonts) of the help page in html format with MathJax enabled is at the following url: http://picasaweb.google.com/gongyi.liao/RDevel#5568989227748103346 (the corresponding R.css in this srceenshot is obtained from Yihui Xie http://yihui.name/en/2011/01/customizing-the-theme-of-your-r-html-help/ ) I made a simple modification on R-2.12.1/src/library/tools/R/Rd2HTML.R with diff: 435c435 <...
2004 Jul 22
2
gcc on AIX is not compatile with R-1.9.1
...es, Does the successful compilation for R-1.9.1 on AIX 5.1 depend on the IBM AIX compiler for C and C++ (xlc/xlC)? gcc on AIX is not compatible with R1.9.1. Kexiao -----Original Message----- From: Uwe Ligges [mailto:ligges at statistik.uni-dortmund.de] Sent: Sunday, July 18, 2004 8:19 AM To: Liao, Kexiao Cc: r-help at stat.math.ethz.ch Subject: Re: [R] Install R on AIX 5.2 64 Bit Liao, Kexiao wrote: > Hi your guys, > > Recently, I installed R-1.9.1 on AIX 5.2 with 64 bits environment; I > already have following software installed on AIX before I compile > R-1.9.1 sourc...
2009 Sep 24
2
more strange behavior of Revolution R 1.3.0
...m(x)=c(n,n) + y = solve(x) + } > > setMKLthreads(1) > system.time(for(i in 1:n.simu) func1()) user system elapsed 69.48 2.42 71.91 > > setMKLthreads(8) > system.time(for(i in 1:n.simu) func1()) user system elapsed 179.06 17.90 41.70 Jason Liao [[alternative HTML version deleted]]
2008 Jan 31
3
fastest way to compute the squared Euclidean distance between two vectors in R
...of shows is the bottleneck. I wondered if there is any faster way than my own simple function distance2 = function(x1, x2) { temp = x1-x2 sum(temp*temp) } I have searched the R-help archives and can not find anything except when the arguments are matrices. Thanks for any lead. Jason Jason Liao, http://www.geocities.com/jg_liao Associate Professor of Biostatistics Drexel University School of Public Health 1505 Race Street, Mail Stop 1033 Bellet Building, 6th Floor Philadelphia, PA 19102 phone 215-762-3934 ______________________________________________________________________...
2020 Jan 10
4
u2f / libfido2 version
Hi, So I finally have time to test the u2f support but so far I haven't been very successful, Specifically, current HEAD has SSH_SK_VERSION_MAJOR 0x00040000 and I can't seem to find a matching libfido2 version, current HEAD of Yubico/libfido2 is 0x00020000 Is there a more up to date libfido2 or a particular commit of openssh-portable I should be using? thanks Sean
2001 May 01
2
6 times faster by eliminating apply
...eliminating all the apply(). It turns out that apply is slow, is slower than direct loop, it is an order slower than a matrix operation alternative. Here is one example. The first apply version runs 19 seconds, the second loop version runs 13 seconds, the third matrix version runs 1 second. Jason Liao rm(list=ls(all=TRUE)) test1 <- function() { u <- runif(n*m); dim(u) <- c(n,m); v <- apply(u, 2, crossprod); } test2 <- function() { u <- runif(n*m); dim(u) <- c(n,m); v <- numeric(m); for(j in 1:m) v[j] <- crossprod(u[, j]); }...
2001 Sep 04
2
fastest way to multiply each column of a matrix by a single vlaue
...the fastest vectorized code for doing for(j in 1:n) A[, j] <- A[, j]/b[j] ? solution 1: t(t(A)/b) solution 2: B <- matrix( rep(b, m), byrow=T, nrow=m ) A/B anything else? I have a program that uses this kind of operation million of times and I appreciate your input. Thanks. Jason Liao ===== Jason G. Liao Department of Biometry and Epidemiology Medical University of South Carolina 135 Rutledge Ave., STE 1148, Charleston, SC 29425 phone (843) 876-1114, fax (843) 876-1126 http://www.geocities.com/jg_liao/index.html __________________________________________________ Do You Yaho...
2008 Mar 03
2
How to make a break on y-axis of a histogram chart using R?
Attached is a histogram chart with a break on y-axis which my friend made for me using phot shop. Do anyone know how to make such a break using R? Thanks in advance. (See attached file: 2007 age distribution.doc) Hongsheng (Hank) Liao, Ph.D. Lab Manager Center for Quantitative Fisheries Ecology 800 West 46th Street Old Dominion University Norfolk, Virginia 23508 Phone:757.683.4571 Fax:757.683.5293
2006 May 10
3
new package error message
...it) it gave the error message Error in library(GeneLogit) : 'GeneLogit' is not a valid package -- installed < 2.0.0? It runs on R 1.9.0 just fine. It seems that others have encountered same problem but no solution is found by googling How can I fix this problem? Many thanks. Jason Liao, http://www.geocities.com/jg_liao Dept. of Biostatistics, http://www2.umdnj.edu/bmtrxweb University of Medicine and Dentistry of New Jersey 683 Hoes Lane West, Piscataway? NJ 08854 phone 732-235-5429, School of Public Health office phone 732-235-9824, Cancer Institute of New Jersey office
2004 Nov 15
3
glim in R?
...ion I wrote a few years ago in S, which calls glim numerous times. I'd like to port it to R, but glm works differently from glim, which takes as part of its input an X design matrix. I probably could write a function to convert glim to glm, but hope this wouldn't be necessary... Tim Liao
2006 Aug 24
4
extremely slow recursion in R?
...icit none integer n, k double precision value if(k>n) then value = 0. elseif(k==0) then value = 1. else if(k==n) then value = 1. else value = choose(n-1, k) + choose(n-1, k-1) end if end function program main write(*,*) choose(30, 15) end program Jason Liao, http://www.geocities.com/jg_liao Department of Epidemiology and Biostatistics Drexel University School of Public Health 245 N. 15th Street, Mail Stop 660 Philadelphia, PA 19102-1192 phone 215-762-3934
2012 Dec 17
0
[LLVMdev] LLVMdev Digest, Vol 98, Issue 33
...gt; llvmdev-owner at cs.uiuc.edu > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of LLVMdev digest..." > > > Today's Topics: > > 1. Generate data16 assembly instruction for TLS with PIC > (Wei-zhi Liao) > 2. Re: Generate data16 assembly instruction for TLS with PIC > (Cameron McInally) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sat, 18 Aug 2012 00:27:22 +0800 > From: Wei-zhi Liao <giggle at zillians.co...
2007 Feb 21
2
how much performance penalty does this incur, scalar as a vector of one element?
I have been comparing R with other languages and systems. One peculiar feature of R is there is no scalar. Instead, it is just a vector of length one. I wondered how much performance penalty this deign cause, particular in situations with many scalars in a program. Thanks. Jason Liao, http://www.geocities.com/jg_liao Associate Professor of Biostatistics Drexel University School of Public Health 245 N. 15th Street, Mail Stop 660 Philadelphia, PA 19102-1192 phone 215-762-3934 ____________________________________________________________________________________ TV dinner...