Skip to content
Prev 764 / 3656 Next

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
littler: Incomplete Line! Need more code!
---<--------------------cut here---------------end--------------------->---

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


Cheers,