Closed renkun-ken closed 10 years ago
An example is
> z <- Pipe(list(name="Ken",age=24))$c(type="A")
> str(z)
$value :
List of 3
$ name: chr "Ken"
$ age : num 24
$ type: chr "A"
With Pipe.header = FALSE
, the output is
> str(z)
List of 3
$ name: chr "Ken"
$ age : num 24
$ type: chr "A"
The following code works too.
> str(Pipe(1:3),header = FALSE)
int [1:3] 1 2 3
As @ramnathv requested in #22,
str.Pipe
can be implemented to make it easier to see the internal structure of the value stored inPipe
object.