search for: shitao

Displaying 20 results from an estimated 31 matches for "shitao".

Did you mean: hitao
2007 May 18
1
How to extract R codes that embedded in a HTML file
> -------- Original Message -------- > Subject: Re: [R] How to extract R codes that embedded in a HTML file > using Stangle? > Date: Thu, 17 May 2007 17:01:30 +0000 > From: Tao Shi <shitao at hotmail.com> > To: ligges at statistik.uni-dortmund.de, lecoutre at stat.ucl.ac.be > CC: r-help at stat.math.ethz.ch > : <jmcconnell at applied-insights.co.uk> > Hi Uwe, > Thanks for the answer, but I still need a bit more clearification. I > always...
2010 Apr 29
3
Can't load "doSMP" from REvolutionR in regular R2.11.0
Hi list, I was testing out the "doSMP" package from REvolutionR in my regular R2.11.0 installation and I got the following error message.? Well, one obvious thing is that R2.11.0 was built using "i386-pc-mingw32" which is different from what revoIPC used.? I could just use REvolutionR, but all my R peripherals were set up to work with the regular R2.11.0.? So, I really want
2006 Sep 13
2
an error message with 't.test' with R under Unix
Hi list,Could you please help me to explain the following error messages with 't.test' in R Unix 2.1.1? I don't see it in R under Windows (R 2.3.0) or Unix (R2.3.1). Is it really due to the different R versions?Thanks,...TaoUnix session: (R.2.1.1)========================> R.version _ platform x86_64-unknown-linux-gnuarch x86_64 os
2004 Apr 25
5
a simple suggestion for the next version of R windows
Is it possible to replace the word "R Console" on the title bar (is it what it's called? It's the blue area above menu bar) with the name of the work space file you're using or loaded, so people who are runing multple R sessions at same time can identify them immediately. I'm using 1.9.0 in SDI mode. Thanks, ...Tao
2004 Apr 25
5
a simple suggestion for the next version of R windows
Is it possible to replace the word "R Console" on the title bar (is it what it's called? It's the blue area above menu bar) with the name of the work space file you're using or loaded, so people who are runing multple R sessions at same time can identify them immediately. I'm using 1.9.0 in SDI mode. Thanks, ...Tao
2008 Jun 26
2
a question regarding package building
Hi List, In Windows, if I do " R CMD build mypkg", then I'll get 'mypkg_1.0.tar.gz'. Any option in R CMD build lets me to change the version, i.e. gives me 'mypkg_2.0.tar.gz"? It seems "-version" option doesn't do anything for me. Is it OK if I just change the version number in the file name manually? Thanks, ...Tao
2010 May 05
1
'matplot' for matrix with NAs: broken lines
Hi list, I know that points involving NAs are not plotted in 'matplot', but when I plot them as lines, I still want the lines to connect all the points (i.e. not broken where there are NAs).? Please see the example below.? How can I achieve this in 'matplot'?? If I can't, any good alternatives so I don't have to use 'plot' + 'lines' and loop through all the
2010 Feb 26
1
wrap long lines in table using "latex" in Hmisc
Hi list, Is there a way to control long-line wrapping in a table using "latex" function in Hmisc or any other functions?? It seems I can't find any examples. Thank you very much! ...Tao _________________________________________________________________ Hotmail: Trusted email with Microsoft?s powerful SPAM protection.
2003 Jul 16
1
The two chisq.test p values differ when the contingency table is transposed! (PR#3486)
Full_Name: Tao Shi Version: 1.7.0 OS: Windows XP Professional Submission from: (NULL) (149.142.163.65) > x [,1] [,2] [1,] 149 151 [2,] 1 8 > c2x<-chisq.test(x, simulate.p.value=T, B=100000)$p.value > for(i in (1:20)){c2x<-c(c2x,chisq.test(x, simulate.p.value=T,B=100000)$p.value)} > c2tx<-chisq.test(t(x), simulate.p.value=T, B=100000)$p.value > for(i in
2003 Aug 21
0
The two chisq.test p values differ when the contingency table (PR#3896)
>>>>> dmurdoch writes: >> Date: Wed, 16 Jul 2003 01:27:25 +0200 (MET DST) >> From: shitao@ucla.edu >>> x >> [,1] [,2] >> [1,] 149 151 >> [2,] 1 8 >>> c2x<-chisq.test(x, simulate.p.value=T, B=100000)$p.value >>> for(i in (1:20)){c2x<-c(c2x,chisq.test(x, >> simulate.p.value=T,B=100000)$p.value)} >>> c2tx<-chisq....
2007 Dec 06
1
updating a helper function in a R package
Hi list, Sorry for the vague title, but here is the scenario. I?m writing an R package, let?s say, ?pkg1?, which contains 3 functions: f1, f2, f3. f2 and f3 are helper functions for f1, i.e. f1 calls f2 which in turn calls f3. f1 <- function(?) { ?. f2() ? } f2 <- function(?){ ? f3(?) ? } f3 <- function(...){ .... } Then, I wrote a new version of f3 and I want to
2008 Oct 08
1
follow up on "[Rd] NAMESPACE & methods guidance, please" ( http://tolstoy.newcastle.edu.au/R/e4/devel/08/06/1901.html )
This is a follow-up on the discussion originally posted on the R-devel list ( http://tolstoy.newcastle.edu.au/R/e4/devel/08/06/1901.html ), as I have encountered the exact same issue mentioned in Martin's email. Here is a simplified version of my problem: ##================================================================= ## I created a package, say, "tmpA", with a NAMESPACE with
2007 Jul 26
2
Creating windows binary R package (PowerArchiver vs. zip -r9X)
Hi list,I apologize if you see funny fonts, b/c I'm using the new Windows Live Hotmail and don't know how to turn off the "rich text" mode.....I have successfully built and installed a R package in windowsXP for R-2.5.1. But when I tried to create a .zip file so I can use "Packages/install package(s) from local .zip files..." to install it, it seems R only recognizes
2009 Jan 22
2
"latex" in Hmisc: cell formating
Hi list, Could you explain the error I see here? Thanks! ## I'm using R 2.8.0 on WinXP, Hmisc_3.4-3 > table1 <- matrix(10, 180,7) > cell.format <- matrix("", ncol=7, nrow=180) > cell.format[c(seq(3,180,6),seq(4,180,6)),] <- "color{red}" > cell.format[c(seq(5,180,6),seq(6,180,6)),] <- "color{green}" > > latex(table1,
2006 May 31
2
a problem 'cor' function
Hi list, One of my co-workers found this problem with 'cor' in his code and I confirm it too (see below). He's using R 2.2.1 under Win 2K and I'm using R 2.3.0 under Win XP. =========================================== > R.Version() $platform [1] "i386-pc-mingw32" $arch [1] "i386" $os [1] "mingw32" $system [1] "i386, mingw32" $status
2009 Feb 10
1
need help with installRExcel()
Struggled a whole day, but still could not get DCOM working on my machine. What I did is: 1. Installed R 2.8.1 under folder "../R/R-2.8.1" 2. Installed R_Scilab_DCOM3.0-1B5 under folder ".. \R\(D)COM Server" 3. Installed packages: rscproxy_1.0-12, RExcelInstaller_3.0-10, rcom_2.0-4... 4. run the following commands: library(rscproxy) library(rcom)
2003 May 25
1
segmentation fault when loading MASS library
Hi, all: There are two versions of R installed on our Linux cluster: 1.6.2 and 1.7.0 and both of them have problems with the MASS library. For the R 1.6.2, whenever I load MASS library by typing library(MASS), there is a "segmentation fault" and it automatically exit R. For the R 1.7.0, for some reasons, there is no MASS library (there are also other libraries came with the R
2003 Jul 15
1
Why two chisq.test p values differ when the contingency table is transposed?
I'm using R1.7.0 runing with Win XP. Thanks, ...Tao ???????????????????????????????????????????????????????? >x [,1] [,2] [1,] 149 151 [2,] 1 8 >t(x) [,1] [,2] [1,] 149 1 [2,] 151 8 >chisq.test(x, simulate.p.value=T, B=100000) Pearson's Chi-squared test with simulated p-value (based on 1e+05 replicates) data: x X-squared = 5.2001, df =
2004 Mar 05
0
a question regarding 'cor' function
I'm a little bit confused with how exactly the 'cor' function handles missing values. Should the last two function calls give the same results? Thanks, ...Tao ========================================== >x=rnorm(10) >y=rnorm(10) >x[1]=NA >y[2]=NA >cor(x,y,method="spearman") [1] -0.006060606
2004 Sep 10
0
hclust, centroid
Does anyone know how hclust (stats) calculates centroid linkage if only a distance matrix can be used as the input? ...Tao