Displaying 20 results from an estimated 7437 matches for "capturing".
2005 Mar 15
2
Samba and Preallocated Files
A question about capturing videos to a Samba share...
When Apple's Final Cut Pro captures video files, it pre-allocates file space
on the destination volume.
If you capture to a local volume that's physically attached to a Macintosh,
or if you capture to a network volume via AFP (Apple File Sharing Protocol...
2015 Nov 23
1
capturing warnings using capture.output
>From the Details section of ?capture.output:
Messages sent to stderr() (including those from message, warning and stop)
are captured by type = "message". Note that this can be "unsafe" and should
only be used with care.
Capturing messages works as expected:
capture.output(message("!!!"), type = "message")
## [1] "!!!"
Capturing warnings doesn't seems to work:
capture.output(warning("!!!"), type = "message")
## character(0)
## Warning message:
## In eval(expr, envir, e...
2015 Aug 14
3
capture.output() duplicates last line unless newline (R-devel bug)
In R-devel (2015-08-12 r69024), capture.output() incorrectly
duplicates the last line unless it ends with a newline. I don't see
this in R 3.2.2 RC (2015-08-13 r69049). It seems to have started
fairily recently; I spotted this yesterday after starting to get
errors in my R.utils check that use capture.output(), cf.
2013 Sep 22
1
type="message" possibility for capture.output() ?
As far as I can tell, there's no built-in way to get
capture.output() to capture messages (stderr) instead of
stdout ... suggested, fairly trivial, patch below.
f <- function() {
message("abc")
cat("def\n")
}
x <- capture.output(f())
## prints 'abc'
x ## value: "def"
source("~/R/r-devel/src/library/utils/R/capture.output.R")
x
2016 May 30
5
[GSoC 2016] Capture Tracking Improvements - BackgroundInformation
Hey Scott,
There has been quite a lot of research on capture tracking (aka escape
analysis) for Java and other dynamic languages.
See e.g.:
https://wiki.openjdk.java.net/display/HotSpot/EscapeAnalysis
http://docs.oracle.com/javase/7/docs/technotes/guides/vm/performance-enhancements-7.html
http://dl.acm.org/citation.cfm?doid=320384.320386
Nuno
-----Original Message-----
From: Scott Egerton via
2016 Jun 09
2
[GSoC 2016] Capture Tracking - False Positives
Hello Anna,
I've been looking into compiling a list of all of the false positives
in the current Capture Tracking Analysis, but I'm having a bit of
trouble getting my head around it all. I feel like I understand it at a
theoretical level but jumping into the implementation is quite
daunting.
I would appreciate any advice you could give to point me in the right
direction.
Many thanks,
2005 Aug 16
2
data manipulation help
Hellow everybody,
I have a dataframe with 468 individuals (rows) that I captured at least once
during 28 visits (columns), it looks like:
mortality[1:10,]
X18.10.2004 X20.10.2004 X22.10.2004 X24.10.2004 X26.10.2004 X28.10.2004
X30.10.2004 X01.11.2004 X03.11.2004 X07.11.2004
1 1 0 0 0 1 1
1 0 0
2007 Dec 29
1
capture.output(), truncated last output without \n (PR#10534)
Full_Name: Philippe Grosjean
Version: 2.6.1
OS: MacOS X; Windows XP
Submission from: (NULL) (81.243.237.235)
Last output from capture.output() is truncated if it does not end with a
carriage return:
> capture.output(cat("text\n")) # Fine
[1] "text"
> capture.output(cat("text")) # Missing output!
character(0)
>
2007 Dec 29
2
(PR#10534 capture.output(), truncated last output without
This only happens if 'file' is a text connection, and is the expected
behaviour in that case: you cannot capture an incomplete line to a text
connection.
There seems no reason to break the documented behaviour in other cases to
change something that you consider to a bug when file=NULL and the user
does not produce complete output. It would be possible to make use of
isIncomplete()
2016 Jun 09
2
[GSoC 2016] Capture Tracking Improvements - BackgroundInformation
On Tue, Jun 7, 2016 at 4:02 PM, Philip Reames via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> (+CC LLVM dev - I'd dropped it in my original reply unintentionally and
> just noticed.)
>
> On 06/07/2016 01:35 PM, Philip Reames wrote:
>
>> (This was written in a rush. There may be mistakes; if so I'll try to
>> correct later.)
>>
>> At the
2008 Aug 02
4
RE SHAPE package question.
Hi there,
I am trying to reorganized my data sets so that it is easy for MARK to read
it.
Basically I have the encounter histories of 1837 butterflies
The data looks like this the first 4 columns are the occasions and the last
two code for male and female
> t1 t2 t3 t4 M F
> 1 0 0 0 1 0 male capture on time1 but not seen on time 2, 3
> and 4
> 1 0 0 0
2011 Jun 24
4
How to capture console output in a numeric format
Hi,
I would like to know how to capture the console output from running an algorithm for further analysis. I can capture this using capture.output() but that yields a character vector. I would like to extract the actual numeric values. Here is an example of what I am trying to do.
fr <- function(x) { ## Rosenbrock Banana function
on.exit(print(f))
x1 <- x[1]
x2 <- x[2]
2011 Apr 12
4
Anyone knows how microsoft AEC can deal with mismatches between clocks of capture and render streams?
...ynchronized to a same sample rate. However, I found that this restriction is removed in microsoft AEC from Windows XP SP1. Anyone knows how microsoft AEC do it? This technology is much helpful for us to implement AEC in common PC. We know that most low-cost soundcards have different sample rates in capturing and rendering which prevents LMS based AEC from being used in most computer.
http://msdn.microsoft.com/en-us/library/ff536174(VS.85).aspx
In Windows XP, the clock rate must be matched between the capture and render streams. The AEC system filter implements no mechanism for matching sample rates acr...
2006 Aug 29
1
Capturing warnings with capture.output
Is there any way to include warnings in the output from capture.output? eg:
a <- capture.output(warning("test"))
all.equal(a, "Warning message: \n test ")
Conceptually, this seems like redirecting stderr to stdout, or somehow
changing warning to simple print it's output. I've had a look at
tryCatch and using a warning handler, but this terminates execution at
the
2011 Feb 25
0
Named capture in regexp
Dear R core developers,
One feature from Python that I have been wanting in R is the ability
to capture groups in regular expressions using names. Consider the
following example in R.
> notables <- c(" Ben Franklin and Jefferson Davis","\tMillard Fillmore")
> name.rex <- "(?<first>[A-Z][a-z]+) (?<last>[A-Z][a-z]+)"
> (parsed <-
2017 May 31
8
OT: Want to capture all SIP messages
I want to capture all SIP messages.
I have about 30 hosts in about 6 colos.
My first thought was dumpcap, but the output file name format bugs me.
What do you use for long term SIP capture?
--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
2011 Nov 24
1
capture.output(eval(..., envir)) not evaluate in the expected(?) environment
I've noticed the following oddity where capture.output() prevents
eval() from evaluating an expression in the specified environment.
I'm not sure if it is an undocumented feature or a bug. It caused me
many hours of troubleshooting. By posting it here, it might save
someone else from doing the same exercise.
Start by defining foo() which evaluates an expression locally in a
given
2015 Aug 14
0
capture.output() duplicates last line unless newline (R-devel bug)
The fix for PR#16481 had a side effect involving capture.output(), so this may be transient, please recheck whether the issue has disappeared in the meantime.
-pd
On 14 Aug 2015, at 11:09 , Henrik Bengtsson <henrik.bengtsson at ucsf.edu> wrote:
> In R-devel (2015-08-12 r69024), capture.output() incorrectly
> duplicates the last line unless it ends with a newline. I don't see
2013 Sep 23
1
Capture output of install.packages (pipe system2)
Is there any way to capture output (both stdout and stderr) from
install.packages? Solutions like sink and capture.output don't work
because the install.packages calls out to system2 which is executed in
a separate process:
test <- capture.output(install.packages("MASS"))
The system2 function does have arguments stdout and stderr but afaik
these cannot be controlled via
2013 May 27
0
[LLVMdev] RFC: Converting byref captures into bycopy
Hi all,
I have been looking at how to convert by-reference captures into by-copy captures for captured statements and possibly C++ lambdas, and am looking for some feedback on my approach. The motivation for trying to use copy captures is to avoid unnecessary loads that are otherwise required inside the outlined function. This can be important when the outlined function represents the body of a