powered by
Converts a character vector to an object of class "stream"
as.stream(obj)# S3 method for stream print(x, ...)
# S3 method for stream print(x, ...)
The character vector to be converted to a "stream" object
The "stream" object to be printed.
Ignored
The same character vector, only it now inherits from class "stream"
print: Prints an object of class "stream" by removing quotes from the strings and printing each element of the character vector on its own line.
print
# NOT RUN { aStream <- c("string1", "string2", "string3") aStream # Note how it prints after we convert it to a stream object: as.stream(aStream) # }
Run the code above in your browser using DataLab