search for: ofil

Displaying 20 results from an estimated 92 matches for "ofil".

Did you mean: fil
2003 May 01
1
ldAIX4 does not generate Rlapack.exp (PR#2893)
...les/lapack/Makefile executes the tools/ldAIX4 script and supplies, as arguments to ldAIX4, several object file names with filename extensions of .lo. The ldAIX4 script did not generate the file etc/Rlapack.exp until I changed ldAIX4 as follows: Original context: # Check for object or archive files ofiles="" for arg; do case $arg in *.o) ofiles="$ofiles $arg";; esac case $arg in *.a) ofiles="$ofiles $arg";; esac done Changed context: # Check for object or archive files ofiles="" for arg; do case $arg in *.o) ofiles="$ofiles $arg";; esa...
2005 Jul 19
1
Minor "bug" in source()
...ling source(file, chdir=TRUE) with is.character(file) != TRUE, that is, with 'file' as a connection, will generate an error. Example: > file <- textConnection("cat('Hello world\n')") > source(file, chdir=TRUE) Error in source(file, chdir = TRUE) : Object "ofile" not found Of course, it does not make sense to change working directory, but quietly ignoring 'chdir' is better, I think. This is due to a simple coding mistake in source() [sorry, 56k modem => no R source => no diff]: <snip></snip> if (is.character(file))...
2000 Nov 10
1
cvs trunk vorbis/ compile patches
...e utils to make libvorbis # -# # -############################################################################### - -FLAGS=-I. -I../lib -I../include -OPT=-O20 $(FLAGS) -DEBUG=-g -Wall $(FLAGS) -PROFILE=-g -pg -O20 $(FLAGS) -CC=gcc -LD=gcc -LDFLAGS=$(FLAGS) -LIBS=-lm - -HFILES = ../lib/codebook.h vqgen.h vqext.h bookutil.h - -OFILES = vqgen.o vqsplit.o bookutil.o ../lib/sharedbook.o -ALLOFILES = $(OFILES) lspdata.o genericdata.o train.o build.o run.o\ - cascade.o partition.o metrics.o residue...
2014 Dec 03
2
[PATCH] test_compression.sh
...bably. Jan --- 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${E...
2000 Jul 07
0
vorbize and os_type patches + general build issues
...Index: cmdline/Makefile.in =================================================================== RCS file: /usr/local/cvsroot/vorbis/cmdline/Makefile.in,v retrieving revision 1.5 diff -r1.5 Makefile.in 28c28 < LIBS=@LIBS@ @pthread_lib@ --- > LIBS=@LIBS@ @pthread_lib@ getopt.a 30c30,31 < OFILES = getopt.o getopt1.o main.o --- > OFILES = main.o > GETOPT_OBJECTS = getopt.o getopt1.o 43,44c44,45 < target: $(OFILES) ../lib/libvorbis.a < $(LD) $(CFLAGS) $(OFILES) $(LDFLAGS) ../lib/libvorbis.a -o vorbis $(LIBS) --- > target: $(OFILES) getopt.a ../lib/libvorbis.a > $(LD)...
2000 Jul 06
1
R 1.1.0 dev.print()
Hi, I just upgraded to 1.1.0 from 1.0.1 this morning on my OSF/1 machine. I now have problems with the following code: %E /tmp 43% R --vanilla Version 1.1.0 (June 15, 2000) ... > test2 <- function () { plot(runif(30)) ofile <- "/tmp/newfile.ps" dev.print(file = ofile) } + + + + + > > test2() Error in device(...) : Object "ofile" not found However, if I just write the filename directly into the call to dev.print() rather than using a variable name, it works okay: > test1 <- fu...
2010 Nov 29
1
map() and pdf clipping
...hough I suppose they might be using the same rendering engine under the hood.) Any help would be greatly appreciated. Thanks and cheers, Ben ###### BEGIN library(maps) test.map <- function(to.file = c("pdf", "png", NA)[1], fill = TRUE){ if (!is.na(to.file)){ ofile = paste("test-map", to.file,sep = ".") do.call(to.file, list(file=ofile)) } xr <- c(-185, -155) yr <- c(45, 70) map(xlim = xr, ylim = yr) map.axes() m <- matrix(seq(0, 1, length = 40*40), nrow = 40) mr <- as.raster(m) rasterI...
2016 May 23
0
[PATCH 5/5] mllib: add a new run_command helper
...utput ]) @ + [ "--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 |] in + if run_command cmd <> 0 then e...
2010 Jun 11
4
setting the current working directory to the location of the source file
...does not have any legit way to learn about it's own location. I need this to make sure that the script will find its datafiles after I move the whole directory. (The datafiles are in the same directory.) Here is a hack I invented to work around it: print(getwd()) source_pathname = get("ofile",envir = parent.frame()) source_dirname = dirname(source_pathname ) setwd(source_dirname) print(getwd()) Question: Is there a better, cleaner way? Thanks, mrgomel [[alternative HTML version deleted]]
2007 Apr 23
1
Bug in R 2.4.1 ?
...ing hdf5 files to store results from intermediate calculations. These are usually part of a list, called "res". As I want the hdf-files to contain all the members of res in its top "directory", I used to do attach(res) do.call("hdf5save", args=c(fileout=file.path(dir, ofile), as.list(names(res)))) detach(res) which did what I wanted (R version 2.3.1 under ubuntu edgy). Since the upgrade to ubuntu feisty fawn which ships with R 2.4.1, the code above causes a crash: *** caught segfault *** address 0x11, cause 'memory not mapped' Traceback: 1: .Ex...
2009 Jul 03
1
Zimbra IMAP authentication - SOLVED
...cript. if [ -z "${1}" ];then echo "usage: $(basename ${0}) <accounts file name>" exit 5 fi read -p "What is the admin email account name? " ADMIN echo "Thank you" read -s -p "Now what is the admin's password? " APW LINE= OFILE="$(basename ${1}).pauth" : > "${OFILE}" while read EADD do echo "${EADD}" LINE="$(printf ${EADD}\000${ADMIN}\000${APW} | openssl base64 | tr -d '\n')" echo -e "${EADD}\t${LINE}\n" >> "${OFILE}" don...
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
2019 Apr 16
2
Measure network bandwidth per process
Hi, Is there a way to measure network bandwidth per process in CentOS Linux release 7.6.1810 (Core) using any utility? I was reading about nethogs but it does not have the option to run it in daemon mode so that we can take a look at historical data to figure out the process which was consuming high network bandwidth instead it is a good tool for Live monitoring. Please suggest. Thanks in
2000 Jul 06
0
Re: [R] R 1.1.0 dev.print() & dev.copy2eps -- bug{let} (PR#596)
...I just upgraded to 1.1.0 from 1.0.1 this morning on my OSF/1 StEgl> machine. I now have problems with the following code: StEgl> %E /tmp 43% R --vanilla StEgl> Version 1.1.0 (June 15, 2000) StEgl> ... >> test2 <- function () { plot(runif(30)) ofile <- "/tmp/newfile.ps" dev.print(file = ofile) } StEgl> + + + + + > > test2() StEgl> Error in device(...) : Object "ofile" not found StEgl> However, if I just write the filename directly into the call to StEgl> dev.print() rather th...
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 :
2010 Sep 29
2
Script auto-detecting its own path
...the "master" script must first know where it is (without me having to open it and retype the path every time I move it). Any ideas? Stu ps. I found this on the internet but a) I couldn't understand it, and b) it didn't work: frame_files <- lapply(sys.frames(), function(x) x$ofile) frame_files <- Filter(Negate(is.null), frame_files) PATH <- dirname(frame_files[[length(frame_files)]]) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Stu Field, PhD Postdoctoral Fellow Department of Biology Colorado State University 1878 Campus Delivery Fort Collins, CO 80523-1878 Office: E208 Anato...
2007 Dec 02
3
documenting yoru progress
Hello all: I have a function that writes a fairly elaborate report based on some survey data. For documentation and bookkeeping purposes, I'd like to write out in the report the function call that produced the report, or at least enough information to help me recreate the steps that led to that report. I've been generating all the reports with scripts, in order to be able to recreate
2015 Oct 23
2
[PATCH 1/2] resize: add --unknown-filesystems
Introduce a new option to control how virt-resize behaves when asking to expand a filesystem, either unknown to libguestfs or that virt-resize cannot expand. The default keeps the current behaviour, i.e. just warn. --- bash/virt-resize | 3 +++ resize/resize.ml | 65 ++++++++++++++++++++++++++++++++++++++++++++++++-- resize/virt-resize.pod | 28 +++++++++++++++++++++- 3 files
2017 Jan 16
2
^C doesnt work on ssh session
...stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0; -parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany -imaxbel -iutf8 opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0 isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke another query i had was on hiding arguments passed to ssh. I have a requirement to spawn some ssh command like (ssh ip -o password=221 ip ) which has password in arguments...
2017 Jul 12
2
submitting R scripts with command_line_arguments to PBS HPC clusters
...y I ask, how do you usually submit the R scripts with command line arguments to PBS HPC schedulers ? qsub -d $PWD -l nodes=1:ppn=4 -l vmem=10gb -m bea -M tanasa at gmail.com \ -v TUMOR="tumor.bam",GERMLINE="germline.bam",CHR="chr22" \ -e script.efile.chr22 \ -o script.ofile.chr22 \ script.R Thank you very very much ! -- bogdan [[alternative HTML version deleted]]