search for: ifil

Displaying 20 results from an estimated 46 matches for "ifil".

Did you mean: fil
2006 Sep 27
2
Single Precision (4 byte) floats with readBin
I would like to use readBin to read a binary data file. Most of the data is 4-byte floating point but, for some reason, only double precision appears to be offered. I tried fVariable=readBin(iFile,what=single()); and got 35.87879 which looks believable except that the correct value is 3.030303. I then tried fVariable=readBin(iFile,what=single(),4); and got [1] 3.831111e+10 6.657199e+10 -5.592394e+29 -5.592397e+29 For the second call, there were two more single precision floats of value...
2014 Dec 03
2
[PATCH] test_compression.sh
...test_compression.sh.orig Wed Dec 3 22:53:11 2014 +++ test_compression.sh Wed Dec 3 23:01:16 2014 @@ -23,24 +23,22 @@ PATH=`pwd`/../src/flac:$PATH echo "Using FLAC binary :" $(which flac) -date=`date "+%Y%m%dT%H%M%S"` -fname="comp${date}.flac" +ofile=`mktemp`.$$ +ifile="noisy-sine.wav" -last_k=0 -last_size=$(wc -c < noisy-sine.wav) +prevcomp=0 +prevsize=`wc -c < $ifile` +echo "Original file size $prevsize bytes." -echo "Original file size ${last_size} bytes." +for comp in 0 1 2 3 4 5 6 7 8 ; do + flac${EXE} -f -$comp --sil...
2014 Dec 03
7
[PATCH] Improve LPC order guess
Hi, This patch improves compression a very tiny bit on average, but up to 0.1 percentage point for classical music. I haven't found any tracks that show worsening compression with this patch. -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-Improve-LPC-order-guess.patch Type: text/x-patch Size: 0 bytes Desc: not available Url :
2001 May 10
2
Scanning data lines with blanks in character vars
Hello, I'm trying to read data in from a file using scan(). The last field is a character string that contains blanks. I had read it in in S-Plus using this code: ifile <- list(entry=0,measure=0,st=0,count=0,score=0, error=0,inmsq=0,instd=0,outms=0,outstd=0,displc=0,ptbis=0,a=0, r="",name="") if.widths <- c(1, 5, 8, 3, 6, 7, 7, 7, 7, 7, 7, 7, 7, 2, 2, 85) d1 <- scan(file=fd,ifile,flush=T,skip=0,widths=if.widths) Th...
2016 May 23
0
[PATCH 5/5] mllib: add a new run_command helper
...| Some output -> [ "--output"; output ]) @ + [ "--add"; cmdline.arg ] in + exit (run_command (Array.of_list cmd)) | `Delete_cache -> (* --delete-cache *) (match cmdline.cache with @@ -550,14 +549,14 @@ let main () = let ifile = List.assoc `Filename itags in let ofile = List.assoc `Filename otags in message (f_"Copying"); - let cmd = sprintf "cp %s %s" (quote ifile) (quote ofile) in - if shell_command cmd <> 0 then exit 1 + let cmd = [| "cp"; ifile; ofile...
2010 Sep 29
0
temp Rscript file collision on Windows
...tm = getenv("TMP"); if (!isDir(tm)) { tm = getenv("TEMP"); if (!isDir(tm)) tm = getenv("R_USER"); /* this one will succeed */ } } srand( (unsigned) time(NULL) ); sprintf(ifile, "%s/Rscript%x%x", tm, rand(), rand()); ifp = fopen(ifile, "w+b"); if(!ifp) R_Suicide(_("creation of tmpfile failed -- set TMPDIR suitably?")); } Because the seed is set to whatever is returned by time(), it's very easy to have 2 concurrent Rter...
2016 May 23
7
[PATCH 1/5] mllib: make external_command echo the command executed
Add an optional parameter to disable this behaviour, so the Curl module in v2v won't print user-sensible data (like passwords). --- builder/checksums.ml | 1 - builder/downloader.ml | 1 - builder/sigchecker.ml | 1 - mllib/common_utils.ml | 4 +++- mllib/common_utils.mli | 7 +++++-- v2v/curl.ml | 2 +- 6 files changed, 9 insertions(+), 7 deletions(-) diff --git
2016 Jan 30
8
[Bug 93934] New: DRI_PRIME=1: DeadIsland crashes when loading finish
https://bugs.freedesktop.org/show_bug.cgi?id=93934 Bug ID: 93934 Summary: DRI_PRIME=1: DeadIsland crashes when loading finish Product: Mesa Version: 11.0 Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: Drivers/DRI/nouveau Assignee: nouveau at
2007 Apr 26
2
SweaveInput and absolute paths
...ude a command like \SweaveInput{/Resources/Affymetrix/libload.Rnw} If I try that (in R 2.4.0 on either Windows or UNIX), however, I get an error message to the following effect: -------------------------------- Writing to file affyExample.tex Processing code chunks ... Error in SweaveReadFile(c(ifile, file), syntax) : no Sweave file with name './/Resources/Affymetrix/libload.Rnw' found In addition: Warning message: list.files: './/Resources/Affymetrix' is not a readable directory -------------------------------- Of course it cannot find the files if it insists on looking in th...
2017 Oct 03
0
[PATCH v2 2/2] builder: Choose better weights in the planner.
...f "mv" + | `Move -> printf "mv" | `Pxzcat -> printf "pxzcat" | `Virt_resize -> printf "virt-resize" | `Disk_resize -> printf "qemu-img resize" @@ -570,7 +616,7 @@ let main () = let cmd = [ "cp"; ifile; ofile ] in if run_command cmd <> 0 then exit 1 - | itags, `Rename, otags -> + | itags, `Move, otags -> let ifile = List.assoc `Filename itags in let ofile = List.assoc `Filename otags in let cmd = [ "mv"; ifile; ofile ] in diff --git a/com...
2012 Feb 02
9
sqldf for Very Large Tab Delimited Files
Hi All, I have a very (very) large tab-delimited text file without headers. There are only 8 columns and millions of rows. I want to make numerous pieces of this file by sub-setting it for individual stations. Station is given as in the first column. I am trying to learn and use sqldf package for this but am stuck in a couple of places. To simulate my requirement, I have taken iris dataset as an
2014 Jan 27
0
[PATCH INCOMPLETE] Rewrite virt-make-fs in C (originally Perl).
...ed tar achive\n"), + program_name, input); + return -1; + } + + if (strstr (line, "compress")) { + if (strstr (line, "compress'd")) { + + + + +} + +/* Prepare the input source. If the input is a regular tar file, this + * just sets ifile = input. However normally the input will be either + * a directory or a compressed tarball. In that case we set up an + * external command to do the tar/uncompression to a temporary pipe, + * and set ifile to the name of the pipe. + */ +static int +prepare_input (const char *input, const char *i...
2011 Oct 29
1
Sweave absolute path versus relative path
...ed that I couldn't put the file in as an > absolute path but it had to be a relative path. I.e > > \SweaveInput{/home/tdavies/Dropbox/CollapseRecovery_Shared/trevor/afterAFS/writing/sweave/blah.tex} > gave the error: > > R CMD Sweave hitmiss.Rnw > Error in SweaveReadFile(c(ifile, file), syntax, encoding = encoding) : > no Sweave file with name > './/home/tdavies/Dropbox/CollapseRecovery_Shared/trevor/afterAFS/writing/sweave/blah.tex' > found > Calls: <Anonymous> -> Sweave -> SweaveReadFile -> SweaveReadFile > Execution halted > m...
2014 Jan 27
2
[PATCH INCOMPLETE] Rewrite virt-make-fs in C (originally Perl).
I thought it would be easy to rewrite virt-make-fs in C. Two days later ... The Perl program uses a lot of external commands, which makes it pretty tedious to implement in C. Rich.
2008 Mar 01
4
Some bugs in various programs
Hi, first off, I'd like to thank the wine dev team for such a great project, because of which I have switched completely to Linux :D As for the main subject of this message, I have found some bugs in some programs that I usually use... Here is a list of what I have found so far: Code: Bug report: Macromedia Dreamweaver 8: Text boxes do not update until mouse is moved Macromedia Flash
2006 Jul 20
4
non-bootable dvd image
Hi all; I downloaded the centos 4.3 image onto my linux box and used k3b to burn a DVD iso image. It seemed to work fine. I have an SuSE laptop and I want to setup a CentOS VM via Vmware 5.5 If I insert the dvd and boot the new vm I get 'no operating system found' It seems to be a non-bootable dvd. Is there something additional I need to do when burning the dvd image to make it
2005 Aug 29
1
Previewing oggvorbis files in GNOME...
...that ogg files do not sound is because my version of sox may not have oggvorbis support, but this is not the case because I can play them using the "play" command easily at the command line. Also when I type "sox -h" I get: sox: Version 12.17.7 Usage: [ gopts ] [ fopts ] ifile [ fopts ] ofile [ effect [ effopts ] ] gopts: -e -h -p -v volume -V fopts: -r rate -c channels -s/-u/-U/-A/-a/-i/-g/-f -b/-w/-l/-d -x effect: avg band bandpass bandreject chorus compand copy dcshift deemph earwax echo echos fade filter flanger highp highpass lowp lowpass mask mcompand noisepr...
2009 Jan 06
8
for loop and if problem
Hi, I'm heaving difficulties with a dataset containing gene names and positions of those genes. Not such a big problem, but each gene has multiple exons so it's hard to say where de gene starts and where it ends. I want the starting and ending position of each gene in my dataset. Attached is the dataset: http://www.nabble.com/file/p21312449/genlistchrompos.csv genlistchrompos.csv Column
2006 Nov 01
0
[719] trunk/wxruby2: Hide unsupported PrinterDC class on GTK (Alex Fenton)
...y?(filespec)}) - if(File.extname(filename) == ''.i'') - classes << File.basename(filename, ''.i'') - end - end - #puts classes </del><ins>+ classes = FileList[ "#{$classes_dir}/*.i" ] + classes.map! { | ifile| File.basename(ifile, ''.i'') } + classes -= $excluded_classes </ins><span class="cx"> return classes.sort </span><span class="cx"> end </span><span class="cx"> </span></span></pre></div&...
2012 Nov 02
4
vanilla rsync 3.0.9 hangs after transferring ~2000 files
Hello rsync folks I'm trying to use rsync for backing up our servers. This mostly works extremely well, with no problems. However, 1 server is giving me a lot of trouble. It has a directory with (currently) 734088 files in it, and every time I try to backup this dir, rsync hangs after transferring roughly 2000 files. Sometimes it's around 1800, sometimes it's over 2100 (I think), but