[R] problem with unmatched quotes

2009-12-14 Thread Alfredo Alessandrini
Hi, I've a problem with unmatched quotes with a bash script within a R script: system(awk 'NR2 {FS= ;print$1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12;}' phenology.txt) Errore: unexpected string constant in system(awk 'NR2 {FS= ;print$1 Alfredo __

Re: [R] problem with unmatched quotes

2009-12-14 Thread Uwe Ligges
Escape the inner quotes. Uwe Ligges Alfredo Alessandrini wrote: Hi, I've a problem with unmatched quotes with a bash script within a R script: system(awk 'NR2 {FS= ;print$1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12;}' phenology.txt) Errore: unexpected string constant in system(awk 'NR2 {FS=