RE: [R] How to avoid automatic coercion to factor?

2003-09-03 Thread Dutky, Steve
evelopment environments. I certainly appreciate the generosity of your feedback and the availability of '[EMAIL PROTECTED]' Thanks, Steve Dutky -Original Message- From: Prof Brian Ripley [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 12:51 AM To: Deepayan Sarkar Cc: D

[R] How to avoid automatic coercion to factor?

2003-09-02 Thread Dutky, Steve
I have a function that manipulates a list of numeric and character components of equal length and wants to return a data.frame. EG, f<-function() { a<-list(Int1=1:5,Char1=letters[1:5],Char2=letters[6:10]) b<-data.frame(a) } How can I get the columns Char1, Char2, (...CharN) ret

[R] fractional seconds from format.POSIXct

2003-07-02 Thread Dutky, Steve
Is there a format that yields fractional seconds from format.POSIXct and/or related methods? I'm attempting to use irts with millisecond events. Thanks, Steve Dutky TF Rockville Network Services 301-545-4113 desk 301-325-8146 cell __ [EMAIL PROTECTED]

[R] Functions for bit manipulation in R/Splus

2003-06-26 Thread Dutky, Steve
Hi, I primarily use Splus for analysing TCP/IP traffic at the packet level. Several years ago, I hacked together functions using the .C call for bit operations: bitAnd, bitOr, bitFlip, bitShiftL, bitShiftR, bitXor and crc(char). Are there any more standard alternatives for these? If not, and,