nuget server logo nuget api documents
↑

API Docs / REnv / RContentOutput

RContentOutput

Full name SMRUCC.Rsharp.Runtime.RContentOutput Assembly REnv Members 18

R# I/O redirect and interface for Rserve http server

00 Remarks

a TextWriter sub class object.

01 Syntax

SMRUCC.Rsharp.Runtime.RContentOutput

02 Methods

NameOverloadsSummary
openSink 1 open a new log file session
LoggingDriver 1 just write the message text data
WriteLine 2
Write 3
splitLogging 1
closeSink 1
Flush 1
WriteStream 1

03 Properties

NameOverloadsSummary
isLogOpen 1 check of the RContentOutput.logfile which is opened by base.sink()) function is existed or not?
env 1
recommendType 1
stream 1
Encoding 1

04 Fields

NameOverloadsSummary
stdout 1 usually be the console standard output
logfile 1 save the print content to the *.log local file

05 Members

method openSink #
openSink(String, Boolean, Boolean)

open a new log file session

Parameters
NameTypeDescription
logfileString

-

splitBoolean

-

appendBoolean

-

method LoggingDriver #
LoggingDriver(String, String, MSG_TYPES)

just write the message text data

Remarks

use Constants.vbBack for indicates that use the write function instead of writeline.

Parameters
NameTypeDescription
header$String

-

message$String

-

levelMSG_TYPES

-

method WriteLine overload 2 #
WriteLine(String)

Writes a string followed by a line terminator to the text string or stream.

Parameters
NameTypeDescription
messageString

The string to write. If value is null, only the line terminator is written.

method Write overload 2 #
Write(String, String)

xml/json/csv, etc...

Parameters
NameTypeDescription
messageString

-

content_type$String

-

property isLogOpen #
isLogOpen

check of the RContentOutput.logfile which is opened by base.sink() function is existed or not?

field stdout #
stdout

usually be the console standard output

field logfile #
logfile

save the print content to the *.log local file

property env #
env
property recommendType #
recommendType
property stream #
stream
property Encoding #
Encoding
method splitLogging #
splitLogging(Stream)
method closeSink #
closeSink()
method Flush #
Flush()
method WriteLine #
WriteLine()
method Write overload 3 #
Write(String)
method Write #
method WriteStream #
WriteStream(Action(Of Stream), String)