Skip to content
Back to formatted view

Raw Message

Message-ID: <87r5y3n80w.fsf@patagonia.sebmags.homelinux.org>
Date: 2009-06-01T18:06:23Z
From: Sébastien Bihorel
Subject: piping to littler

Hi,

This code used to work well until a few months ago (I haven't used it
since), but now it's giving this:

---<--------------------cut here---------------start------------------->---
$ cat <<EOF | r -
locs <- read.csv(list.files(pattern="ds_.+_.+\\.csv"),
                 colClasses=c(rep("character", 2), "numeric", "character",
                 rep("numeric", 2), rep("character", 4), rep("numeric", 3),
                 rep("logical", 4)))
EOF
> > > > > Loading required package: methods
littler: Incomplete Line! Need more code!
---<--------------------cut here---------------end--------------------->---

It seems like a quoting issue but I can't pinpoint it.  Thanks.


Cheers,

-- 
Seb