Skip to content
Back to formatted view

Raw Message

Message-ID: <B10D9D93-F444-409E-BF34-EE0853BFCBE0@gmail.com>
Date: 2012-02-10T08:13:01Z
From: Peter Dalgaard
Subject: Importing a CSV file
In-Reply-To: <3435E783-A401-42C1-AE7D-E191BF3E0D9B@gmail.com>

On Feb 10, 2012, at 04:20 , sezgin ozcan wrote:

> I use mac.
> I tried this command also
> a<-read.table("clipboard",sep=?\t?,row.names=1,header=T)

Something is wrong with those quotes around \t... 

Also, last I needed this, using file="clipboard" to read from the clipboard didn't work on Mac, but file=pipe("pbpaste") did.

-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com