how about: ?write
something like:
your.text <- c(date(), "insert name of your R object", "====
end ====")
write(your.text, "your-text.txt", append=TRUE)
date() and "==== end ====" should help you to separate your daily
changing
character vectors.
HTH,
Bernhard
> I am using R 1.7.1 on Windows, running a program on a daily
> basis which produces a vector of text results, where the
> length of the vector may be different each day.
>
> While I can display this vector in the R console using a cat
> instruction, I am presently unable to either print it out on
> a printer (item 2.9 in the R for Windows FAQ says I need to
> use 'File | Print' but I've failed to find any function
> listed under that name),
File | Print works fine for me; have you checked your printer
settings?
> or to store this vector in a
> textfile alongside previous days' results because they are
> not all of the same length and cannot therefore be
> collectively handled as a matrix or dataframe.
>
how about: ?write
something like:
your.text <- c(date(), "insert name of your R object", "====
end ====")
write(your.text, "your-text.txt", append=TRUE)
date() and "==== end ====" should help you to separate your daily
changing
character vectors.
HTH,
Bernhard
> Any help with regard to either of these problems would be
> greatly appreciated!
>
> Phil
>
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
>
----------------------------------------------------------------------
If you have received this e-mail in error or wish to read our e-mail
disclaimer statement and monitoring policy, please refer to
http://www.drkw.com/disc/email/ or contact the sender.