|
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
|