Re: [R] Help with readBin

2012-06-18 Thread kapo coulibaly
ing > > [1] "HEAD" > > ** ** > > $threeIntegers > > [1] 43 55 1 > > ** ** > > $recordMarkerB > > [1] 52 > > ** ** > > $junk > > [1] e8 49 00 00 > > ** ** > > $doubles &g

Re: [R] Help with readBin

2012-06-18 Thread kapo coulibaly
mail. > > ** ** > > Bill Dunlap > > Spotfire, TIBCO Software > > wdunlap tibco.com > > ** ** > > *From:* kapo coulibaly [mailto:kmcou...@gmail.com] > *Sent:* Monday, June 18, 2012 5:35 PM > *To:* William Dunlap > *Cc:* r-help@r-project.org >

Re: [R] Help with readBin

2012-06-18 Thread kapo coulibaly
n range (0, > 32] then 2.57 > ... > > Bill Dunlap > Spotfire, TIBCO Software > wdunlap tibco.com > > > > -Original Message- > > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > On Behalf > > Of kapo coulibaly > >

Re: [R] Help with readBin

2012-05-03 Thread kapo coulibaly
I did mention in my initial email that I tried little, big, swap and .Platform$endian without any success, I keep getting the same very small numbers. Thanks On Thu, May 3, 2012 at 2:36 PM, Duncan Murdoch wrote: > On 03/05/2012 1:57 PM, kapo coulibaly wrote: > >> I believe here is t

Re: [R] Help with readBin

2012-05-03 Thread kapo coulibaly
xt1) readBin(zz,what="integer",n=3,size=4)->N3 tnber<-N3[1]*N3[2] readBin(zz,what="integer",n=1,size=4) # record marker typical of fortran access="sequential" in gfortran readBin(zz,what=real(),n=tnber,size=4)->N4 readBin(zz,what="i

[R] Help with readBin

2012-05-03 Thread kapo coulibaly
I'm trying to read a binary file created by a fortran code using readBin and readChar. Everything reads fine (integers and strings) except for double precision numbers, they are read as huge or very small number (1E-250,...). I tried various endianness, swap, But nothing has worked so far. I also t

Re: [R] Problem reading binaries created with fortran

2009-12-20 Thread kapo coulibaly
available. > > -Don > > > At 4:35 PM -0500 12/17/09, kapo coulibaly wrote: > >> Duncan, >> I couldn't find clear details about the way fortran writes the binaries. I >> was hoping someone here has done it before. But the hexView package seems >> like a great

Re: [R] Problem reading binaries created with fortran

2009-12-17 Thread kapo coulibaly
Duncan, I couldn't find clear details about the way fortran writes the binaries. I was hoping someone here has done it before. But the hexView package seems like a great idea i'll give it a shot. Thanks a bunch On Thu, Dec 17, 2009 at 4:02 PM, Duncan Murdoch wrote: > On 17/12/2009

Re: [R] Problem reading binaries created with fortran (More infos)

2009-12-17 Thread kapo coulibaly
of Statistics > UC Berkeley > spec...@stat.berkeley.edu > > > > On Thu, 17 Dec 2009, kapo coulibaly wrote: > > Is it possible to read fortran binaries with R? I tried unsucessfully and >> my &g

[R] Problem reading binaries created with fortran

2009-12-17 Thread kapo coulibaly
Is it possible to read fortran binaries with R? I tried unsucessfully and my understanding is that fortran write binaries with leading and trailing bytes. I get numbers but not the right ones. Thanks ps: the binary I'm interested in reading is a MODFLOW output with a mix of character, double and i

[R] clim.pact question (annual cycle removal)

2009-07-20 Thread kapo coulibaly
I'm using the clim.pact package, I'm particularly interested in the EOF computation. I've noticed that whether I used the option to remove the annual cycle or not I get the same results. Am I missing something or the option hasn't been implemented yet? Thank you. [[alternative HTML versio

[R] rgl vertices

2009-06-10 Thread kapo coulibaly
I'm trying to make sense of the following example in the package rgl: vertices <- c( -1.0, -1.0, 0, 1.0, 1.0, -1.0, 0, 1.0, 1.0, 1.0, 0, 1.0, -1.0, 1.0, 0, 1.0 ) indices <- c( 1, 2, 3, 4 ) open3d() wire3d( qmesh3d(vertices,indices) ) One would think that each vert

[R] 3d layering

2009-03-17 Thread kapo coulibaly
Is it possible to render a volume like the one attached, in R using packages misc3d or rgl if I have the data for the individual surfaces (top and bottom for each layer). Thanks __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [R] 3D or 4D plot

2009-02-20 Thread kapo coulibaly
:50 AM, kapo coulibaly wrote: > >> I have data on a regular grid in the format: x y z data. I would like to >> be able to plot them in 3d kind of like a volume or a mesh with colors. Is >> that possible in R and how? >> > > There are lots of ways, depending on

[R] 3D or 4D plot

2009-02-20 Thread kapo coulibaly
I have data on a regular grid in the format: x y z data. I would like to be able to plot them in 3d kind of like a volume or a mesh with colors. Is that possible in R and how? Thanks [[alternative HTML version deleted]] __ R-help@r-project.or

[R] tcltk scrollbar

2007-10-08 Thread kapo coulibaly
For example, try to pack this label as follows: tkgrid(lbl.MainT,columnspan=2,sticky="nw") This worked once I changed columnspan=5, can you explain why. It seems i need to do the same for all widgets located above the ListBoxes. Thanks [[alternative HTML version deleted]] _

Re: [R] tcltk scrollbar

2007-10-08 Thread kapo coulibaly
to stick to the 1st ListBox!! On 10/8/07, Peter Dalgaard <[EMAIL PROTECTED]> wrote: > > kapo coulibaly wrote: > > The following code should give me (at least that's what I think) two > list > > boxes with their individual scrollbars. But instead both scrollbars

[R] tcltk scrollbar

2007-10-07 Thread kapo coulibaly
The following code should give me (at least that's what I think) two list boxes with their individual scrollbars. But instead both scrollbars stick to the same listbox even though they work as they should (scroll individual listboxes). When I remove all the widgets on top everything works perfectly