search for: srcfile

Displaying 20 results from an estimated 27 matches for "srcfile".

2013 Jun 24
0
sys.source() does not provide the parsing info to eval()
...(parse(text=code)) > OUTPUT: Dotted pair list of 3 $ : language eval(parse(text = code)) $ : language eval(expr, envir, enclos) $ :length 1 (function() print(str(sys.calls())))() ..- attr(*, "srcref")=Class 'srcref' atomic [1:8] 1 1 1 42 1 42 1 1 .. .. ..- attr(*, "srcfile")=Classes 'srcfilecopy', 'srcfile' <environment: 0x7f42951fc388> As you can see, when using eval() directly, the expression/call has the parsing information available in the "srcref" attribute, but not when using sys.source() Looking at sys.source() implem...
2007 Sep 24
1
parse in text function of plots, confusing behaviour
HI all, I'm failing to understand why the following is happening. In this plot I rely on two text functions both using parse. The second one works properly by writing a gamma symbol 5 times, the first one only works properly four times. The only difference is that I add a string to the paste function of that which does work properly. Why does it behave like this? thanks so much! Michael
2004 May 07
1
meetme conf-background.agi
...*********************************************************** #!/usr/bin/perl -w $aginame="conf-background.agi"; use File::Copy cp; use Asterisk::AGI; $AGI = new Asterisk::AGI; my %input = $AGI->ReadParse(); print STDERR "Dialing your number\n"; $srcfile="/tmp/mycall"; $dstfile="/var/spool/asterisk/outgoing/mycall"; open(MYCALL,">$srcfile") || die "Cant't open file :$srcfile $!\n"; print MYCALL "Channel:Zap/1/13\n"; print MYCALL "MaxRetries:2\n&quo...
2004 May 10
1
AGI.pm wait_for_digit() not working for me!!!
...$AGI->receive_char('600'); $char=chr($AGI->wait_for_digit('600')); print STDERR "input form rec char : $char\n"; if($char eq "*") { print STDERR "Dialing your number\n"; $srcfile="/tmp/mycall"; $dstfile="/var/spool/asterisk/outgoing/mycall"; open(MYCALL,">$srcfile") || die "Cant't open file :$srcfile $!\n"; print MYCALL "Channel:IAX2/bali:ba...
2013 Jun 30
1
why check f_path.mnt is equal for source and dest in btrfs_ioctl_clone()?
...therwise execute and with slight change of circumstances will actually execute fine. Imagine we have a btrfs on /dev/mapper/foobar with subvols /foo and /bar. Let’s also imagine top of said fs in mounted at /mnt. In this case, a cross-subvol clone of /mnt/foo/srcfile to /mnt/bar/dstfile will succeed. However, if only the individual subvols were mounted like this: /dev/mapper/foobar on /mnt (subvol=foo) /dev/mapper/foobar on /mnt2 (subvol=bar), then a clone of /mnt/srcfile to /mnt2/dstfile will fail...
2009 Nov 09
1
deparse() and the 'else' statement
......else' clause is used inside {...} (e.g. function body). Here is an example: ## if/else inside {} > cat(deparse(parse(text='function(){if (TRUE) {1} else {2}}')), sep='\n') structure(expression(function() { if (TRUE) { 1 } else { 2 } }), srcfile = <environment>) ## no {} > cat(deparse(parse(text='if (TRUE) {1} else {2}')), sep='\n') structure(expression(if (TRUE) { 1 } else { 2 }), srcfile = <environment>) I wonder if there is a way to let 'else' stay with '}' when deparsing the expre...
2007 May 16
1
Problem with Sweave
...ter} \end{document} I get the following error: xt4-tir:adams> echo 'Sweave("test.Rnw")' | R --vanilla --quiet > Sweave("test.Rnw") Writing to file test.tex Processing code chunks ... 1 : echo term verbatim Error: chunk 1 Error in parse(file, n, text, prompt, srcfile, encoding) : syntax error, unexpected $undefined in: " " Execution halted I really do not know where to begin to decipher the error messages. Any suggestions? Regards, Tom -- Thomas E Adams National Weather Service Ohio River Forecast Center 1901 South State Route 134 Wilming...
2003 Oct 24
1
rsync -vae ssh user@host1:/tmp/dir user@host2:/tmp/
I have legitimate ssh access to two remote machines. ssh directly from either machine to the other is blocked by firewalls which I cannot control. $ rsync -vae ssh user@host1:/tmp/dir user@host2:/tmp/ receiving file list ... done rsync: mkdir user@host2:/tmp: No such file or directory rsync error: error in file IO (code 11) at main.c(319) I would like this to copy
2016 Mar 16
2
[PATCH mesa 6/6] nouveau: codegen: Disable more old resource handling code
...300,12 @@ Converter::handleLOAD(Value *dst0[4]) > if (tgsi.getSrc(0).isIndirect(0)) > ld->setIndirect(0, 1, fetchSrc(tgsi.getSrc(0).getIndirect(0), 0, 0)); > } > - return; > + break; > + default: > + assert(!"Unsupported srcFile for LOAD"); > } > > +/* Keep this around for now as reference when adding img support > getResourceCoords(off, r, 1); > > if (isResourceRaw(code, r)) { > @@ -2363,6 +2371,7 @@ Converter::handleLOAD(Value *dst0[4]) > FOR_EACH_DST_ENABLED_CHANNEL(0...
2008 Jan 25
0
For-Loop faster than vectorized code?
...0.02 4.3 0.02 4.3 testfunc 0.00 0.0 0.46 100.0 ll.md.ub.mat 0.00 0.0 0.44 95.7 matrix 0.00 0.0 0.40 87.0 is.data.frame 0.00 0.0 0.34 73.9 source 0.00 0.0 0.02 4.3 srcfile 0.00 0.0 0.02 4.3 $by.total total.time total.pct self.time self.pct testfunc 0.46 100.0 0.00 0.0 ll.md.ub.mat 0.44 95.7 0.00 0.0 as.vector 0.40 87.0 0.02 4.3 matrix 0.40 87.0...
2013 Oct 24
0
TR: problem with ecdf : "missing C_R_approxfun" message
...attr(*, "class")= chr [1:3] "ecdf" "stepfun" "function" ..- attr(*, "call")=length 2 ecdf(test.moms[, "m.pxs"]) .. ..- attr(*, "srcref")=Class 'srcref' atomic [1:8] 12 1 12 36 1 36 12 12 .. .. .. ..- attr(*, "srcfile")=Classes 'srcfilecopy', 'srcfile' <environment: 0x07d7b3b0> [skip following structure...] In September I upgraded to R.3.0.1 under the same OS I need to use my previously recorded ecdfs again, and try to plot one as in : > plot(first.list[[1]]$size.ecdf,col=couleu...
2009 Jan 19
1
Cisco 7941G-GE with Asterisk and CTPSEP odyssee
.../usr/tmp/tftpClientSock > > > > NOT 09:28:49.324525 SECD: ctlRequestFile: Request > > > CTLSEP0019E7D16CD6.tlv > > > > NOT 09:28:49.327942 tftpClient: tftp request rcv'd from > > > > /usr/tmp/ctlSock, > > > > srcFile = CTLSEP0019E7D16CD6.tlv, dstFile = /usr/tmp/ CTLFile.tlv > > > > NOT 09:28:49.331598 tftpClient: auth server - tftpList[0] = > > > 10.10.10.10 > > > > NOT 09:28:49.332439 tftpClient: look up server - 0 > > > > WRN 09:28:49.335498 SECD:...
2016 Nov 27
3
A couple metrics of LLD/ELF's performance
...(however, I removed -O3 and --gc-sections) with a command like: ``` sudo perf record --event=cache-misses --call-graph=dwarf -- /home/sean/pg/llvm/release/bin/ld.lld @response.txt -o /tmp/t --no-threads ``` And then ``` sudo perf report --no-children --sort dso,srcfile ``` One annoying thing about these numbers from perf is that they don't sum to 100% usually; so just treat the numbers as relative to each other. Overall I'm not very happy with perf. I don't fully trust its output. Also, keep in mind that clang-fsds doesn't have debug info, so the...
2016 Mar 16
0
[PATCH mesa 6/6] nouveau: codegen: Disable more old resource handling code
...) continue; @@ -2295,9 +2300,12 @@ Converter::handleLOAD(Value *dst0[4]) if (tgsi.getSrc(0).isIndirect(0)) ld->setIndirect(0, 1, fetchSrc(tgsi.getSrc(0).getIndirect(0), 0, 0)); } - return; + break; + default: + assert(!"Unsupported srcFile for LOAD"); } +/* Keep this around for now as reference when adding img support getResourceCoords(off, r, 1); if (isResourceRaw(code, r)) { @@ -2363,6 +2371,7 @@ Converter::handleLOAD(Value *dst0[4]) FOR_EACH_DST_ENABLED_CHANNEL(0, c, tgsi) if (dst0[c] != def[c])...
2016 Mar 16
0
[PATCH mesa 6/6] nouveau: codegen: Disable more old resource handling code
...OAD(Value *dst0[4]) >> if (tgsi.getSrc(0).isIndirect(0)) >> ld->setIndirect(0, 1, fetchSrc(tgsi.getSrc(0).getIndirect(0), 0, 0)); >> } >> - return; >> + break; >> + default: >> + assert(!"Unsupported srcFile for LOAD"); >> } >> >> +/* Keep this around for now as reference when adding img support >> getResourceCoords(off, r, 1); >> >> if (isResourceRaw(code, r)) { >> @@ -2363,6 +2371,7 @@ Converter::handleLOAD(Value *dst0[4]) >>...
2009 Dec 11
1
Creating bibtex file of all installed packages?
Hi is there an easy and fast way, to generate a BibTeX file of all installed / loaded packages and R? I know about toBibtex(citation()) to extract the BibTeX for a single package, but how can I generate a file containg citations for all installed / loaded packages? Cheers, Rainer -- NEW GERMAN FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
2016 Mar 17
4
[PATCH mesa v2 1/3] nouveau: codegen: Disable more old resource handling code
Commit c3083c7082 ("nv50/ir: add support for BUFFER accesses") disabled / commented out some of the old resource handling code, but not all of it. Effectively all of it is dead already, if we ever enter the old code paths in handeLOAD / handleSTORE / handleATOM we will get an exception due to trying to access the now always zero-sized resources vector. Disable all the
2008 Dec 04
0
ERROR: ctfmerge: Cannot open output file isp for r/w: No such fil
...bject_file ctfmerge [-fgstv] -l label | -L labelenv -o outfile file ... ctfmerge [-fgstv] -l label | -L labelenv -o outfile -d uniqfile [-g] [-D uniqlabel] file ... ctfmerge [-fgstv] -l label | -L labelenv -o outfile -w withfile file ... ctfmerge [-g] -c srcfile destfile Thanks. -- This message posted from opensolaris.org
2004 Jun 03
5
4 important bugs again <;
hello everyone, thanks to todd 1.2.21 is out :) every release getting better, i would like to get consensus on these "important" bugs: #252078 logtail: should depend on perl >= 5.8 sarge as any other modern linux distro use perl 5.8.x, it''s even inside of its base. backports are under the peril of its author if no one voices up, i''ll close that bug in the next
2015 Jan 23
2
Simulación de modelo logit con interacción
Hola, ¿qué tal? Cierto, cierto, había un error en el código que publiqué. Pero el diagnóstico es parecido. Cuando los datos se generan con el coeficiente de x2 igual a 7, los coeficientes estimados tienen una distribución extraña, bimodal (aparentemente), en lugar de _normalmente_ distribuida alrededor del 7 como se espera. Supongo que depende del número de casos en que x2 = 1 e y = 0. Un