similar to: Problem reading binaries created with fortran

Displaying 20 results from an estimated 300 matches similar to: "Problem reading binaries created with fortran"

2009 Dec 17
1
Problem reading binaries created with fortran (More infos)
The structure of the file is clear (see below) the first line is made of integers and doubles with the fifth being a text string followed by arrays of double precision number.: int1 int2 double1 double2 text int3 int4 int5 (array of double) here is an example of file: 1 1 1.0 1.0 "HEAD" 160 224 3 23.4 34.5 ...... I tried to read the first line with readBin (results are copied below):
2012 May 03
2
Help with readBin
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 tried on R 64 bit for linux and windows (R 2.14) and R 2.11 on windows XP 32 bit. Any help would
2009 Feb 20
3
3D or 4D plot
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]]
2012 Apr 18
0
new package: hydroPSO 0.1-54-1
Dear R and hydrological/environmental community, I would like to draw your attention to hydroPSO, a newly developed R package for the calibration/optimisation of (complex) environmental models. hydroPSO implements a state-of-the-art Particle Swarm Optimisation (PSO) algorithm, which is a global optimisation technique with a surge of attention given its flexibility, ease of implementation and
2012 Apr 18
0
new package: hydroPSO 0.1-54-1
Dear R and hydrological/environmental community, I would like to draw your attention to hydroPSO, a newly developed R package for the calibration/optimisation of (complex) environmental models. hydroPSO implements a state-of-the-art Particle Swarm Optimisation (PSO) algorithm, which is a global optimisation technique with a surge of attention given its flexibility, ease of implementation and
2013 Jan 10
0
hydroPSO 0.3-0 on CRAN
Dear R and hydrological/environmental community, A major release of hydroPSO is now available on CRAN. This new release: -) implements the Standard Particle Swarm 2011 (SPSO-2011) -) is parallel-capable, to alleviate the computational burden of complex models with "long" execution time -) has an improved performance (33% - 38% faster) -) allows normalization, when the parameter space
2013 Jan 10
0
hydroPSO 0.3-0 on CRAN
Dear R and hydrological/environmental community, A major release of hydroPSO is now available on CRAN. This new release: -) implements the Standard Particle Swarm 2011 (SPSO-2011) -) is parallel-capable, to alleviate the computational burden of complex models with "long" execution time -) has an improved performance (33% - 38% faster) -) allows normalization, when the parameter space
2007 Oct 08
3
tcltk scrollbar
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. Any help would be highly apprecciated. ps: all subsequent listboxes and scrollbars work
2005 Jun 27
1
ks.test() output interpretation
I'm using ks.test() to compare two different measurement methods. I don't really know how to interpret the output in the absence of critical value table of the D statistic. I guess I could use the p-value when available. But I also get the message "cannot compute correct p-values with ties ..." does it mean I can't use ks.test() for these data or I can still use the D
2009 Nov 25
3
Test Binary File
I've got an error with the way I'm using readBin on a binary file of unknown internal structure. I know the structure consists of rows and columns, but I'm not sure how many of each. So, does anyone know of a valid test set of binary data that I could reference while trying to figure out the technique of using readBin? It would be really helpful to try out readBin on a readily
2003 Sep 24
8
VIA vs Intel
Has anyone successfully run asterisk with a VIA processor ? I have tried unsucessfully, do I have to run make with any specific switches ?
2007 Jun 18
2
Large Binary file reader for Simple minds
I'm more like a caveman when it comes to programming tools. So, with that in mind, is there a way to use readBin in a batch format to read in pieces of a large binary file? Thank you for the consideration of my question. Todd Remund
2020 Feb 03
3
Stroring and extracting AICs from an ARIMA model using a nested loop
Hello I am trying to extract AICs from an ARIMA estimation with different combinations of p & q ( p =0,1,2,3 and q=0,1.2,3). I have tried using the following code unsucessfully. Can anyone help? code: storage1 <- numeric(16) for (p in 0:3){ ? ? for (q in 0:3){ ? ? ? storage1[p]? <- arima(x,order=c(p,0,q), method="ML")} } storage1$aic [[alternative HTML version deleted]]
2007 Sep 19
4
fontsize in mosaic plot lables
Hi List, I am trying unsucessfully to modify the fontsize of lables in mosaic: require(vcd) mosaic(Titanic, pop=FALSE, labeling_args=list(rot_labels=c(bottom=90,top=90), set_varnames = c(Sex = "Gender"), gp_text=gpar(fontsize=20))) #can't get it to resize text tab <- ifelse(Titanic < 6, NA, Titanic) # it works for labeling_cells labeling_cells(text = tab,
2004 Jan 22
2
ETSI PRI ISDN Signalling
Hi All, I've bought a R2Adapter to convert R2Digital to ISDN. I am trying to config E100P card but D-Channel is down. I know R2Adapter uses ETSI ISDN Protocol so I tried unsucessfully setup switchtype to EuroISDN. Any clue? Daniel
2020 Feb 03
2
Stroring and extracting AICs from an ARIMA model using a nested loop
It works!!! Thank you so much for your help! Sent from my iPhone > On Feb 3, 2020, at 3:47 AM, Rui Barradas <ruipbarradas at sapo.pt> wrote: > > ?Hello, > > You can solve the problem in two different ways. > > 1. Redefine storage1 as a matrix and extract the aic *in* the loop. > > storage1 <- matrix(0, 4, 4) > for(p in 0:3){ > for(q in 0:3){ >
2003 Jul 23
2
executing an agi script after a successful Dial
I would like to run an agi script (to calculate the cost of a long distance or international call) right after I execute a Dial app. Can this be configured in extensions.conf? It seems the entries right after a Dial app get executed only if the Dial app was executed unsucessfully. Would I have to execute the dial app from the agi script? Thanks in advance. Dan -------------- next part
2020 Feb 04
2
Stroring and extracting AICs from an ARIMA model using a nested loop
I am nowaware that I should not post this type of questions on this group. However, Iwould like to have some clarifications related to the response you've?alreadyprovided. The code you provided yields accurate results, however I still haveissues grasping the loop process in case 1 & 2. In case1,?the use of?"p+1" and "q+1" is still blurry tome? Likewise "0L"
2004 Jul 27
1
Hook-flash timing
Hi, Is there any documentation on the fields prewink, preflash, wink, flash, rxwink, rxflash, start and debounce in zapata.conf? The "Recall" button on my phone doesn't seem to trigger a transfer via my shiny new TDM40B. However, tapping the hook does, but only if I tap it for long enough. Presumably the "Recall" button's timing is too short? Further, most users who
2007 Aug 09
1
plot table with sapply - labeling problems
Hi List, I am trying to label a barplot group with variable names when using sapply unsucessfully. I can't seem to extract the names for the indiviual plots: test<-as.data.frame(cbind(round(runif(50,0,5)),round(runif(50,0,3)),roun d(runif(50,0,4)))) sapply(test, table)->vardist sapply(test, function(x) round(table(x)/sum(table(x))*100,1) )->vardist1 par(mfrow=c(1,3))