[R] A question about dput

Tong Wang wangtong at usc.edu
Fri Feb 2 08:38:19 CET 2007


Hi, 
   I am trying to output a R data set for use in WinBugs,  I used
         dput(list(x=rnorm(100),N=100),file="bug.dat") 
But I can't get the intended format:    list(x=c(.......),N=100), instead, I got 
something like this (copied the first two lines):

[00000000]737472756374757265286C6973742878    structure(list(x
[00000010]203D2063282D302E3336333136313033    =c(-0.36316103

Did I do something wrong here ?  Thanks a lot for any help

tong



More information about the R-help mailing list