On Jul 21, 2009, at 7:19 PM, Benjamin Tyner wrote:

Is there a way to do this? I tried

Do what?

> writeBin(pi, raw())
[1] 18 2d 44 54 fb 21 09 40

Why would you want to "source" _that_?
source() is for parse-able and executable R code.


 x <- writeBin(pi, raw())
 dump("x","x.R")
 source("x.R")

but is seems x.R is not source()-able, as it contains an unexpected symbol.

Thanks
Ben



David Winsemius, MD
Heritage Laboratories
West Hartford, CT

______________________________________________
R-help@r-project.org 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.

Reply via email to