Re: [R] Writing a file to the disk

2007-12-12 Thread Richard M. Heiberger
Since your target is a spreadsheet on Windows, consider writing directly to the spreadsheet. Use either the package xlsReadWrite or the RExcel interface which allows you to embed R functions inside Excel cells. Look at the main RExcel/rcom site http://sunsite.univie.ac.at/rcom/ and consider joini

Re: [R] Writing a file to the disk

2007-12-12 Thread Richard M. Heiberger
Since your target is a spreadsheet on Windows, it would make sense to write directly to the spreadsheet. You can use either the xlsReadWrite package, Description: Read and write Excelfiles natively (v97-2003/BIFF8) or RExcel, which allows you to imbed R functions inside Excel cells. Look at the

Re: [R] Writing a file to the disk

2007-12-11 Thread Duncan Murdoch
On 11/12/2007 5:13 PM, Thomas L Jones, PhD wrote: > I am having difficulty writing the code for the following operation: > I have a numeric vector pred_out of length 156. (N = 156). Under Windows XP, > I need to write it to the disk in text format. Perhaps some kind soul would > provide the code

[R] Writing a file to the disk

2007-12-11 Thread Thomas L Jones, PhD
I am having difficulty writing the code for the following operation: I have a numeric vector pred_out of length 156. (N = 156). Under Windows XP, I need to write it to the disk in text format. Perhaps some kind soul would provide the code fragment. The file name is sheet_vec.txt. Please see [1]