[R] Casting in R

2005-03-25 Thread Tuszynski, Jaroslaw W.
Hi, I am looking for functions that would allow me to access raw binary data of R vectors. One way would be to use: x = (1:10)*pi writeBin(x, temp.bin) r = readBin(temp.bin, raw, n=length(x)*8) Other to write my own C code. Is there any other simpler way? I this message

RE: [R] Casting in R

2005-03-25 Thread Berton Gunter
PROTECTED] On Behalf Of Tuszynski, Jaroslaw W. Sent: Friday, March 25, 2005 8:06 AM To: ([EMAIL PROTECTED]) Subject: [R] Casting in R Hi, I am looking for functions that would allow me to access raw binary data of R vectors. One way would be to use: x = (1:10)*pi writeBin

RE: [R] Casting in R

2005-03-25 Thread Tuszynski, Jaroslaw W.
25, 2005 11:28 AM To: 'Tuszynski, Jaroslaw W.'; r-help@stat.math.ethz.ch Subject: RE: [R] Casting in R Have you looked at the XML package on CRAN? -- Bert Gunter Genentech Non-Clinical Statistics South San Francisco, CA The business of the statistician is to catalyze the scientific learning