Re: [R] read.table with data in specific formats

2006-05-18 Thread Xiao Liu
The Johns Hopkins University __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html *** Xiao Liu Stanford

[R] R/Splus--Perl Interface ssh

2005-04-27 Thread XIAO LIU
control in this shell. Fatal error: you must specify `--save', `--no-save' or `--vanilla' XIAO LIU wrote: Hi: I'm using RSPerl_0.6-3 calling R from Perl under UNIX system. My perl programs with the RSPerl work well in my computer. However, if submitting to GNQS system, these programs

[R] R/Splus--Perl Interface

2005-04-25 Thread XIAO LIU
Hi: I'm using RSPerl_0.6-3 calling R from Perl under UNIX system. My perl programs with the RSPerl work well in my computer. However, if submitting to GNQS system, these programs do not work. It requires defining '--vanilla'. Can anyone tell me what I should do? Thank in advance Xiao

Re: [R] Varying x-axes ticks

2004-12-30 Thread XIAO LIU
x - c(0:24, (25:104-24)/(104-24)*25+24) y - 0.5*(104-104:0)/104 plot(x,y, xaxt = n) axis(1, at = 0:49, labels = c(0:24, (25:49-24)*(104-24)/25+24)) - Original Message - From: Anthony Gichangi [EMAIL PROTECTED] Date: Tuesday, December 28, 2004 12:57 pm Subject: [R] Varying x-axes ticks

[R] package.skeleton()

2004-12-17 Thread XIAO LIU
Hi, R people: I generated a package using package.skeleton(). But I can not load it using library(). package.skeleton(RDIPcor, list = c(ROCAUC.i, cor.i), path = /home/xiao) Creating directories ... Creating DESCRIPTION ... Creating READMEs ... Saving functions and data ... Making help files

[R] direction of axes of plot

2004-06-27 Thread XIAO LIU
R users: I want X-Y plotting with axes in reverse direction such as (0, -1, -2, -3, ). How can I do it? Thanks in advance Xiao __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

[R] Perl--R interface

2004-06-23 Thread XIAO LIU
R users: My R is 1.8.1 in Linux. How can I call R in Perl process? And call Perl from R? Thanks Xiao __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide!

[R] Killed

2004-04-11 Thread XIAO LIU
I tried bootstrap on a sample of 13,000 observations: It works fine when R = 200: boot(data, cor.i, R = 200) However, when R = 400, I got: boot(data, cor.i, R = 400) Killed Any suggestions/ideas? Thank you very much Xiao __ [EMAIL PROTECTED]

Re: [R] abline

2004-03-08 Thread XIAO LIU
x - c(1,2,3,6,4,8,4,7) y - c(3,2,7,4,5,4,5,6) h - c(3,5,7) plot(x,y) abline(y=h) abline(h=h) will work. __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide!

[R] Apply a function to each cell of a ragged matrix

2004-02-17 Thread XIAO LIU
R-Helpers: There are a matrix x and a factor f. nrow(x) == length(f), e.g.: x - matrix(1:6, nrow = 3) f - factor(c(daytime, daytime, night)) I want the sum of all elements of rows of x for each corresponding level in factor f, In this case, I want output like: daytime [1]

[R] Kurtosis function

2003-12-01 Thread XIAO LIU
Hi, Which R package contains Kurtosis function? Where can I get it? Thank you very much. Xiao __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help