[R] A question about dput
Gabor Grothendieck
ggrothendieck at gmail.com
Fri Feb 2 09:27:47 CET 2007
Try control=NULL :
> dput(list(x=rnorm(3),N=3), control = NULL)
list(x = c(-0.254393363810571, -0.650328028909466, -1.20888767858120
), N = 3)
On 2/2/07, Tong Wang <wangtong at usc.edu> wrote:
> 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]737472756374757265286C6973742878 structure(list(x
> [00000010]203D2063282D302E3336333136313033 =c(-0.36316103
>
> Did I do something wrong here ? Thanks a lot for any help
>
> tong
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
More information about the R-help
mailing list