[R] I've forgotten, why is box() the default?

2004-08-31 Thread Simon Fear
-liner to justify this choice to a sceptic? It's something to do with not mis-interpreting the axes intersection as (0,0), isn't it? TIA, Simon Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379 65 email: [EMAIL PROTECTED] web: http

RE: [R] I've forgotten, why is box() the default?

2004-08-31 Thread Simon Fear
is recommended! -Original Message- From: Duncan Murdoch [mailto:[EMAIL PROTECTED] Sent: 31 August 2004 14:45 To: Simon Fear Cc: R-help Subject: Re: [R] I've forgotten, why is box() the default? Security Warning: If you are not sure an attachment is safe to open contact Andy on x234

RE: [R] Removing leading and trailing spaces (string manipulation)

2004-03-31 Thread Simon Fear
__ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379 65 email: [EMAIL

RE: [R] c() question

2004-03-29 Thread Simon Fear
] __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379

RE: [R] (marginal) dot diagram

2004-03-26 Thread Simon Fear
://www.R-project.org/posting-guide.html Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379 65 email: [EMAIL PROTECTED] web: http://www.synequanon.com Number of attachments included with this message: 0 This message (and any associated

RE: [R] imputation of sub-threshold values

2004-03-15 Thread Simon Fear
of the detection level, or half way between there and zero (for strictly positive parameters) are two methods commonly used in the pharma industry, if the proportion of results below detection level is small. Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379 65

RE: [R] Summary: do.call and environments

2004-03-12 Thread Simon Fear
wonder if the original poster really needed to get into this problem at all, what is wrong with fxy - function(x,y) print(x*y) ffxy - function(fun,x,y) fun(x,y) ffxy(fxy,2,3) IE just pass x as an argument. That works in all S. HTH Simon Simon Fear Senior Statistician Syne qua non Ltd Tel: +44

RE: [R] making operators act on rows of a data frame

2004-03-11 Thread Simon Fear
/posting-guide.html Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379 65 email: [EMAIL PROTECTED] web: http://www.synequanon.com Number of attachments included with this message: 0 This message (and any associated files) is confidential

RE: [R] row-echelon form (was no subject)

2004-03-05 Thread Simon Fear
Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379 65 email: [EMAIL PROTECTED] web: http://www.synequanon.com Number of attachments included with this message: 0 This message (and any associated files) is confidential and\...{{dropped

RE: [R] how to delete a matrix column

2004-03-03 Thread Simon Fear
1865 272866 (PA) Oxford OX1 3TG, UKFax: +44 1865 272595 __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Simon

RE: [R] Stuck in trying to convert repetitive code into a function

2004-03-03 Thread Simon Fear
/ajayshah Ministry of Finance, New Delhi __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Simon Fear Senior Statistician

RE: [R] pass by reference -- how to do it

2004-02-19 Thread Simon Fear
__ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379 65 email

RE: [R] pass by reference -- how to do it

2004-02-19 Thread Simon Fear
within a package, say. Simon PS also for the record, I stand corrected about S-Plus using - to assign to frame 1; it assigns to database 1. Sorry! -Original Message- From: Gabor Grothendieck [mailto:[EMAIL PROTECTED] Sent: 19 February 2004 13:33 To: Simon Fear; [EMAIL PROTECTED]; [EMAIL

[R] 0.1 + 0.2 != 0.3 revisited

2004-02-06 Thread Simon Fear
wrong ? Does the end of the internal binary for .1 get rounded up instead of truncated ? Why wouldn't that show in decbase(.1) ? Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379 65 email: [EMAIL PROTECTED] web: http://www.synequanon.com

RE: [R] Incomplete Factorial design

2004-02-06 Thread Simon Fear
://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379 65 email: [EMAIL PROTECTED] web: http://www.synequanon.com Number of attachments

RE: [R] Newbie question: histogram

2004-02-05 Thread Simon Fear
as you like, as in df - data.frame(x=1:10, y=1:10) with(df, {print(x) + print(y)}) [1] 1 2 3 4 5 6 7 8 9 10 [1] 1 2 3 4 5 6 7 8 9 10 Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379 65 email: [EMAIL PROTECTED] web: http

RE: [R] how to keep functions while remove all other commands

2004-02-02 Thread Simon Fear
in current analysis.however, with that application, functions I wrote are also removed. please let me know how to keep the thing you want while remove those you don't. Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379 65 email: [EMAIL PROTECTED

RE: [R] Loading packages at startup

2004-01-20 Thread Simon Fear
]] __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379 65 email

RE: [R] Analyzing dendograms??

2004-01-05 Thread Simon Fear
/mailman/listinfo/r-help __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Simon Fear Senior Statistician Syne qua non Ltd Tel: +44

RE: [R] Analyzing dendograms??

2004-01-05 Thread Simon Fear
would really appreciate if someone could give me a pointer. Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379 65 email: [EMAIL PROTECTED] web: http://www.synequanon.com Number of attachments included with this message: 0 This message

RE: [R] Set values in namespaces

2004-01-05 Thread Simon Fear
this is not as beautiful as you are trying to achieve, but it's there if you need a quick fix. Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379 65 email: [EMAIL PROTECTED] web: http://www.synequanon.com Number of attachments included with this message: 0

RE: [R] how to use apply on a two variable t-test

2003-12-31 Thread Simon Fear
://www.stat.math.ethz.ch/mailman/listinfo/r-help Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379 65 email: [EMAIL PROTECTED] web: http://www.synequanon.com Number of attachments included with this message: 0 This message (and any associated

RE: [R] Writing data frames

2003-12-30 Thread Simon Fear
, col.names=T, row.names=F, quote=F, append = FALSE) There's probably a nicer way to do the coercion but this works. HTH, Andy __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help Simon Fear Senior

RE: [R] Problems with read.table()

2003-12-22 Thread Simon Fear
https://www.stat.math.ethz.ch/mailman/listinfo/r-help Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379 65 email: [EMAIL PROTECTED] web: http://www.synequanon.com Number of attachments included with this message: 0 This message

RE: [R] what does this mean in R-1.8.1 release notes?

2003-11-21 Thread Simon Fear
://www.stat.math.ethz.ch/mailman/listinfo/r-help Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379 65 email: [EMAIL PROTECTED] web: http://www.synequanon.com Number of attachments included with this message: 0 This message (and any associated files

RE: [R] method names conflict.

2003-11-21 Thread Simon Fear
]] __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379 65 email: [EMAIL PROTECTED] web: http://www.synequanon.com Number of attachments included

RE: [R] ISOdate returns incorrect date?

2003-11-20 Thread Simon Fear
not to submit it, given that relying on the OS, and particularly its timezone settings, obviously wasn't robust enough for a cross-platform implementation. Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379 65 email: [EMAIL PROTECTED] web: http

RE: [R] Copula calculation in R?

2003-11-19 Thread Simon Fear
://www.stat.math.ethz.ch/mailman/listinfo/r-help Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379 65 email: [EMAIL PROTECTED] web: http://www.synequanon.com Number of attachments included with this message: 0 This message (and any associated files

RE: [R] ISOdate returns incorrect date?

2003-11-19 Thread Simon Fear
__ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help Simon Fear Senior Statistician Syne qua

RE: [R] ISOdate() and strptime()

2003-11-17 Thread Simon Fear
needs to pre-process incomplete date-times in R, rather than leave them to any default interpretation (even if that default was strictly fixed). -Original Message- From: Jason Turner [mailto:[EMAIL PROTECTED] Sent: 15 November 2003 06:17 To: Simon Fear Cc: [EMAIL PROTECTED] Subject: Re

RE: [R] ISOdate() and strptime()

2003-11-14 Thread Simon Fear
(self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UKFax: +44 1865 272595 __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help Simon Fear Senior Statistician

RE: [R] xlims of barplot

2003-11-13 Thread Simon Fear
can apply it to the subsequent ones? Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379 65 email: [EMAIL PROTECTED] web: http://www.synequanon.com Number of attachments included with this message: 0 This message (and any associated

RE: [R] column extraction by name ?

2003-11-12 Thread Simon Fear
, which would return index of the column given name ? Ryszard __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0

RE: [R] relationship between two discrete variables

2003-11-11 Thread Simon Fear
, following Tom B's comment, the only way I know to break lines in emails using Explorer is to actually type returns - is what I always do here and is a pain in the . If anyone knows how to overcome this I'd be very grateful. [I don't have a choice about using Explorer] Simon Fear Senior

RE: [R] Finding the name ob an object

2003-11-10 Thread Simon Fear
| __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379 65 email: [EMAIL PROTECTED] web: http://www.synequanon.com Number of attachments

RE: [R] attaching data to any object

2003-11-10 Thread Simon Fear
/mailman/listinfo/r-help Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379 65 email: [EMAIL PROTECTED] web: http://www.synequanon.com Number of attachments included with this message: 0 This message (and any associated files

RE: [R] converting column to factor *within* a data frame

2003-11-05 Thread Simon Fear
can help it. It's an accident waiting to happen. Get used to typing dataFrame$varname instead of just varname - that way you will always get what you expect. Or use with() instead of attach() in almost every case. HTH Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69

RE: [R] Weird problem with median on a factor

2003-10-31 Thread Simon Fear
somebody give me a hint? TIA Best regards, Christoph __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379

RE: [R] Weird problem with median on a factor

2003-10-31 Thread Simon Fear
the best way to deal with this bug would be to make calling median with a factor argument be an immediate error. Or just trust users never to attempt such a thing ... Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379 65 email: [EMAIL PROTECTED] web

RE: [R] x[c(1,2,1)] - 1:3

2003-10-24 Thread Simon Fear
__ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379 65 email: [EMAIL PROTECTED] web: http://www.synequanon.com Number of attachments included with this message

RE: [R] select text using only the keyboard

2003-10-22 Thread Simon Fear
/listinfo/r-help Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379 65 email: [EMAIL PROTECTED] web: http://www.synequanon.com Number of attachments included with this message: 0 This message (and any associated files) is confidential

RE: [R] aliases for R constructs?

2003-10-22 Thread Simon Fear
most of the programming advantages of macros with substitute and eval, but this is presumably slower rather than faster. -thomas __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help Simon Fear

RE: [R] indexing a particular element in a list of vectors

2003-10-17 Thread Simon Fear
__ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379 65 email: [EMAIL PROTECTED] web: http://www.synequanon.com Number

RE: is.na(v)-b (was: Re: [R] Beginner's query - segmentation fault)

2003-10-15 Thread Simon Fear
://www.stat.math.ethz.ch/mailman/listinfo/r-help Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379 65 email: [EMAIL PROTECTED] web: http://www.synequanon.com Number of attachments included with this message: 0 This message (and any associated files

RE: [R] how to seperate R's input and output screen?

2003-10-13 Thread Simon Fear
to seperate R's input and output screen?I mean just like SAS or some others, the commands does not mixed with results. thank you __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help Simon Fear Senior Statistician

RE: [R] help with gsub and grep functions

2003-10-13 Thread Simon Fear
PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379 65 email: [EMAIL PROTECTED] web: http://www.synequanon.com Number of attachments included with this message: 0 This message

RE: is.na(v)-b (was: Re: [R] Beginner's query - segmentation fault)

2003-10-09 Thread Simon Fear
value. For example: a-1:10 is.na(a) - 1:5 a [1] NA NA NA NA NA 6 7 8 9 10 Wow. I really hate that. Someone tell me again why this is better than a[1:5] - NA ?? Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379 65 email: [EMAIL PROTECTED] web

RE: is.na(v)-b (was: Re: [R] Beginner's query - segmentation fault)

2003-10-08 Thread Simon Fear
it does matter.] Also if a is a character vector, a[2] - NA coerces the NA to as.character(NA); again, just as one would hope/expect. I have to echo Richard O'K's remark: if - NA can ever go wrong, is that not a bug rather than a feature? Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0

RE: is.na(v)-b (was: Re: [R] Beginner's query - segmentation fault)

2003-10-08 Thread Simon Fear
behind the function, anyway. Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379 65 email: [EMAIL PROTECTED] web: http://www.synequanon.com Number of attachments included with this message: 0 This message (and any associated files) is confidential

RE: [R] how calculate mean for each group

2003-10-02 Thread Simon Fear
October 2003 15:37 attach(df) aggregate(as.data.frame(treatment), list(group = group, duplicate = duplicate), mean) ### Remember to 'detach(df)'. Doing it this way, 'treatment' retains the name attribute when passed to aggregate, rather than as a vector. Simon Fear Senior

RE: [R] CI on median

2003-09-29 Thread Simon Fear
lowlim - x.ranked[lowrank] highlim - x.ranked[min(highrank, nobs)] if (do.print) print(paste(median.hat, (, lowlim, , , highlim, ), sep = )) invisible(return(median.hat, lowlim, highlim)) } Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379 65 email

RE: [R] checking generic/method consistency

2003-09-26 Thread Simon Fear
support for your .* proposal ... and I'm certainly not going to rewrite my old code... [EMAIL PROTECTED] (nice S4 class syntax) Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379 65 email: [EMAIL PROTECTED] web: http://www.synequanon.com Number

[R] packages and libraries

2003-09-18 Thread Simon Fear
packages libraries. Think I have done on this list, in fact, even though I do know better. Too much Splus. Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379 65 email: [EMAIL PROTECTED] web: http://www.synequanon.com Number of attachments included

RE: Just don't do it, surely? (was RE: [R] Retrieve ... argument values)

2003-09-17 Thread Simon Fear
with a ylim in ... intended for par. That's just too horrible to contemplate. Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379 65 email: [EMAIL PROTECTED] web: http://www.synequanon.com Number of attachments included with this message: 0 This message

RE: Just don't do it, surely? (was RE: [R] Retrieve ... argument values)

2003-09-17 Thread Simon Fear
?? Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379 65 email: [EMAIL PROTECTED] web: http://www.synequanon.com Number of attachments included with this message: 0 This message (and any associated files) is confidential and\...{{dropped

RE: [R] Retrieve ... argument values

2003-09-16 Thread Simon Fear
? Thanks a lot. Huan This message and any attachments (the message) is\ intende...{{dropped}} __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help Simon Fear Senior Statistician Syne qua non Ltd

RE: [R] Retrieve ... argument values

2003-09-16 Thread Simon Fear
. -Original Message- From: Ben Bolker [mailto:[EMAIL PROTECTED] Sent: 16 September 2003 16:18 To: Simon Fear Cc: [EMAIL PROTECTED]; R help list Subject: RE: [R] Retrieve ... argument values Security Warning: If you are not sure an attachment is safe to open please contact Andy on x234

RE: [R] all values from a data frame

2003-09-05 Thread Simon Fear
/listinfo/r-help Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379 65 email: [EMAIL PROTECTED] web: http://www.synequanon.com Number of attachments included with this message: 0 This message (and any associated files) is confidential and\...{{dropped

RE: [R] I don't understand this

2003-09-03 Thread Simon Fear
enlightening discussion for me. At least, I thought I was learning something, until at the next prompt I experimented with (foo)(x) - 10 Error: couldn't find function H-ì- Now where did THAT error message come from?? (I am running R version 0.1 on a PDP 8. Same result with 1.7.0 under Win98) Simon

RE: [R] extract numerical variables from a data frame

2003-08-29 Thread Simon Fear
__ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379 65 email: [EMAIL PROTECTED] web: http://www.synequanon.com Number

RE: [R] R and pointer

2003-08-29 Thread Simon Fear
/listinfo/r-help Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379 65 email: [EMAIL PROTECTED] web: http://www.synequanon.com Number of attachments included with this message: 0 This message (and any associated files) is confidential and\...{{dropped

[R] seeking help with with()

2003-08-27 Thread Simon Fear
this: fnx(airquality, airquality$Month) but this will not work generically - e.g. in my real application the dataset gets subsetted and by.vars needs to refer to the subsets. So redefine like this: fny - function(x, by.vars=Month) { attach(x) print(by(x, by.vars, summary)) detach(x) } Simon

RE: [R] seeking help with with()

2003-08-27 Thread Simon Fear
August 2003 14:08 To: Simon Fear Cc: [EMAIL PROTECTED] Subject: Re: [R] seeking help with with() Security Warning: If you are not sure an attachment is safe to open please contact Andy on x234. There are 0 attachments with this message

RE: [R] Subsetting a dataframe

2003-08-26 Thread Simon Fear
of the Introduction to R manual - a suggestion for future releases? Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379 65 email: [EMAIL PROTECTED] web: http://www.synequanon.com Number of attachments included with this message: 0 This message (and any

RE: [R] capturing output from Win 98 shell

2003-08-14 Thread Simon Fear
for. Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379 65 email: [EMAIL PROTECTED] web: http://www.synequanon.com Number of attachments included with this message: 0 This message (and any associated files) is confidential and\...{{dropped

RE: [R] capturing output from Win 98 shell

2003-08-14 Thread Simon Fear
/c bit?? Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379 65 email: [EMAIL PROTECTED] web: http://www.synequanon.com Number of attachments included with this message: 0 This message (and any associated files) is confidential and\...{{dropped

RE: [R] capturing output from Win 98 shell

2003-08-14 Thread Simon Fear
forgetting about file.* and friends. Platform independent too. Still leaves me asking the bigger question though: how do I capture DOS command output in general? Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379 65 email: [EMAIL PROTECTED] web: http

RE: [R] Integer precision etc.

2003-08-14 Thread Simon Fear
print( 9007199254740994-1, digits=20) [1] 9007199254740992 Here subtracting one makes a difference of two ... but the numbers look like integers. Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379 65 email: [EMAIL PROTECTED] web: http

[R] grep and gsub on backslash and quotes

2003-08-14 Thread Simon Fear
in the target, when it is being passed as an argument to gsub or grep? How would I know how many levels of doubling up to use for any other functions? (I got to 4 consecutive \ by trial and error in this case, but have a dim memory of having read about it somewhere.) TIA Simon Fear Senior Statistician

RE: [R] grep and gsub on backslash and quotes

2003-08-14 Thread Simon Fear
the examples posted will be of as much use to others as they are to me.) Simon -Original Message- From: Prof Brian Ripley [mailto:[EMAIL PROTECTED] Sent: 12 August 2003 17:13 To: Simon Fear Cc: [EMAIL PROTECTED] Subject: Re: [R] grep and gsub on backslash and quotes Security

RE: [R] Problem with data.frames

2003-08-04 Thread Simon Fear
Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379 65 email: [EMAIL PROTECTED] web: http://www.synequanon.com Number of attachments included with this message: 0 This message (and any associated files) is confidential and\...{{dropped

RE: [R] Problem with data.frames

2003-08-04 Thread Simon Fear
To: Simon Fear Cc: Peter Dalgaard BSA; Andreas Eckner; [EMAIL PROTECTED] Subject: RE: [R] Problem with data.frames On Mon, 4 Aug 2003, Simon Fear wrote: Peter is right, but there is a point here: it would be nice if attach(my.dframe) would do nothing - or at least warn - if my.dframe

RE: [R] Problem with data.frames

2003-08-04 Thread Simon Fear
) depending how many times you've called f(). I'm beginning to go off the idea of attach()ing dataframes altogether, the more I think about it. Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379 65 email: [EMAIL PROTECTED] web: http://www.synequanon.com

RE: [R] Problem with data.frames

2003-08-04 Thread Simon Fear
Ripley [mailto:[EMAIL PROTECTED] Sent: 04 August 2003 14:34 To: Simon Fear Cc: [EMAIL PROTECTED] Subject: RE: [R] Problem with data.frames Security Warning: If you are not sure an attachment is safe to open please contact Andy on x234. There are 0 attachments with this message

RE: [R] Plotting a function with curve()

2003-07-30 Thread Simon Fear
R1.7.0 under Windows XP. Damon Wischik. __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379 65 email: [EMAIL PROTECTED

RE: [R] excel files and R

2003-06-25 Thread Simon Fear
list https://www.stat.math.ethz.ch/mailman/listinfo/r-help Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379 65 email: [EMAIL PROTECTED] web: http://www.synequanon.com Number of attachments included with this message: 0 This message (and any

RE: [R] excel files and R

2003-06-25 Thread Simon Fear
://www.stat.math.ethz.ch/mailman/listinfo/r-help Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379 65 email: [EMAIL PROTECTED] web: http://www.synequanon.com Number of attachments included with this message: 0 This message (and any associated files

RE: [R] Numbers that look equal, should be equal,but if() doesn'tsee as equal (repost with code included)

2003-05-29 Thread Simon Fear
applications; be prepared to reduce this. Simon Fear equal.enough - function(x, y, sig.figs=15, d.p.zero=-Inf) { # set argument d.p.zero to a real but small number (e.g. 1e-15) to overide # the sig.figs setting in favour of decimal places for comparison of extremely small numbers # (if appropriate

RE: [R] Numbers that look equal, should be equal,but if() doesn'tsee as equal (repost with code included)

2003-05-29 Thread Simon Fear
Fear Cc: [EMAIL PROTECTED] Subject: Re: [R] Numbers that look equal, should be equal, but if() doesn'tsee as equal (repost with code included) Next time on useless R tips: 1 + 1 = 3 Barry Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 69 Fax: +44 (0) 1379 65 email