[R-sig-Debian] piping to littler

Sebastian P. Luque spluque at gmail.com
Mon Jun 1 20:06:23 CEST 2009


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



More information about the R-SIG-Debian mailing list