sink Questions

2

Solved

I am looking to redirect stderr and stdout messages to an output file. Here's what I tried: sink("outputFile" ,type = c("output", "message")) print("using print") cat("using cat\n") message("using...
Immaculate asked 9/1, 2018 at 16:51

4

Solved

In order to see the console messages output by a function running in a foreach() loop I followed the advice of this guy and added a sink() call like so: library(foreach) library(doMC) cores &l...
Rushton asked 10/10, 2014 at 9:35

4

Solved

I know that the sink() function can be used to divert R output into a file, e.g. sink('sink-closing.txt') cat('Hello world!') sink() Is there a simple command to close all outstanding sinks? Be...
Trumpet asked 10/9, 2013 at 23:45

1

Solved

I'm going to implement Serilog within .net standard 2.0 library. I'm looking for a way to choose which sink(s) should be used for each log line. Lets say that we define 2 sinks within the configura...
Leary asked 8/1, 2021 at 11:40

2

class A { has $.n; # If this method is uncommented then the clone won't be sunk # method clone { # my $clone = callwith(|%_); # return $clone; # } method sink(-->Nil) { say "sinking......
Ruthenian asked 20/8, 2020 at 5:55

1

I'm using R's sink() function to capture errors, warnings, messages and console output into a single text file. I'm wondering if simultaneously sinking both message and output types to a single op...
Silkweed asked 30/11, 2019 at 22:16

3

i'm in a project using spark 2.2 struct streaming to read kafka msg into oracle database. the message flow into kafka is about 4000-6000 messages per second . when using hdfs file system as sin...
Bridwell asked 6/11, 2017 at 5:24

1

Solved

As a step in switching from NLog to Serilog, I want to redirect the standard wiring underlying standard invocations of NLog's LogManager.GetLogger(name) to Bridge any code logging to NLog to forwar...
Delly asked 31/3, 2018 at 20:59

1

I am trying to log the errors and warnings of an R script into an external file. At the same time I want to be able to see the errors and warnings in the console in RStudio (useful to develop and d...
Humiliate asked 28/12, 2017 at 15:39

1

Solved

I'm following this short tutorial to print my R script directly as an HTML document. It should be pretty straightforward. With a few small changes to the header and comments of an otherwise normal ...
Woodhouse asked 19/7, 2016 at 10:18

1

Solved

I have the following statement in my Startup.cs: Log.Logger = new LoggerConfiguration() .MinimumLevel.Debug() .WriteTo.ColoredConsole() .WriteTo.MSSqlServer("Server=(localdb)\\MSSQLLocalDB;Data...
Vitiated asked 15/6, 2016 at 23:6

2

Solved

In R, I'm wondering if it's possible to temporarily redirect the output of the console to a variable? p.s. There are a few examples on the web on how to use sink() to redirect the output into a fi...
Historiographer asked 3/5, 2013 at 11:59

1

Solved

I am in the middle of generating a HTML report in Rstudio via pandoc for a collaborator. However pander is hitting the sink limit in R when trying to generate the output for the following summary o...
Atheist asked 23/6, 2014 at 6:35

1

Solved

I have the following request library(RCurl) res=getURL("http://www.google.com/search?hl=en&lr=&ie=ISO-8859-1&q=RCurl&btnG=Search", .opts=list(verbose = TRUE) ) and would like t...
Ictinus asked 14/11, 2013 at 15:47
1

© 2022 - 2024 — McMap. All rights reserved.