# cat command from textbook is not working on my Ubuntu Natty

I am trying to reproduce the following command from my textbook on my system,

cat("2 3 4 5", "11 13 14 15", file="ex.dat", sep="\n")

but I keep getting this error:

bash: syntax error near unexpected token "2 3 4 5"'

-
Please don't forget to accept the answer –  Ulrich Dangel May 16 '12 at 0:56

This isn't bash syntax, but rather, is the syntax for the cat command in the R language (a programming language used for statistical computing):
cat(... , file = "", sep = " ", fill = FALSE, labels = NULL,  append = FALSE)

omg, I am actually learning R only; what happened is that when I saw cat I <somef####nhow> thought that perhaps the first line is creating a file using the linux cat command and the second one is showing how to read the input from the file using R's scan` command. GOD; this is silly. –  Wildling May 15 '12 at 17:20