s-news
[Top] [All Lists]

Write.table

To: "'S-plus post'" <s-news@wubios.wustl.edu>
Subject: Write.table
From: "Park, Kyong H Mr. SBCCOM" <kyong.park@SBCCOM.APGEA.ARMY.MIL>
Date: Fri, 10 May 2002 10:45:08 -0400

Hello, S+ users, I have two questions regard with the write.table. First, is there a way to add one line of comment at the beginning of a table. A comment I like to put is for example, (arrive time: time1   depart time: time 2). In here time1 and time2 are numeric and read from a data table and was put together using data.frame, then converted to a vector. Main body of a table is a matrix(3 by9). Second, how I can send a table to a  designated directory? I tried write.table(data, file="c:\directory1\file",sep=",'"), but it didn't work.

Thanks in advance,

Kyong Park        US Army

<Prev in Thread] Current Thread [Next in Thread>
  • Write.table, Park, Kyong H Mr. SBCCOM <=