Re: [R] system() not accepting strings from cat()

2009-03-10 Thread Rolf Turner
On 11/03/2009, at 9:34 AM, culpritNr1 wrote: I meant charm, not sharm! (how embarrasing...) If you're embarrassed by ***that*** you need to watch more Monty Python! :-) cheers, Rolf Turner ## A

Re: [R] system() not accepting strings from cat()

2009-03-10 Thread culpritNr1
embarrasSing, not embarrasing. You see how I became culpritNr1? culpritNr1 wrote: > > I meant charm, not sharm! > > (how embarrasing...) > > > > > culpritNr1 wrote: >> >> OH! The joy! >> >> It worked like a sharm. >> >> Thank you. >> >> culpritNr1 >> >> >> >> >> >> baptiste au

Re: [R] system() not accepting strings from cat()

2009-03-10 Thread culpritNr1
I meant charm, not sharm! (how embarrasing...) culpritNr1 wrote: > > OH! The joy! > > It worked like a sharm. > > Thank you. > > culpritNr1 > > > > > > baptiste auguie-2 wrote: >> >> >> try >> ?paste >> >> >> baptiste >> >> On 10 Mar 2009, at 20:01, ig2ar-s...@yahoo.co.uk wrote:

Re: [R] system() not accepting strings from cat()

2009-03-10 Thread culpritNr1
OH! The joy! It worked like a sharm. Thank you. culpritNr1 baptiste auguie-2 wrote: > > > try > ?paste > > > baptiste > > On 10 Mar 2009, at 20:01, ig2ar-s...@yahoo.co.uk wrote: > >> >> Hi again R-ists, >> >> How do you construct a string that you can pass to system()? >> >> For inst

Re: [R] system() not accepting strings from cat()

2009-03-10 Thread baptiste auguie
try ?paste baptiste On 10 Mar 2009, at 20:01, ig2ar-s...@yahoo.co.uk wrote: Hi again R-ists, How do you construct a string that you can pass to system()? For instance. Say I do system("echo Hello!") Hello! That works. Now the alternative: I need to construct the string like this

[R] system() not accepting strings from cat()

2009-03-10 Thread ig2ar-saf1
Hi again R-ists, How do you construct a string that you can pass to system()? For instance. Say I do > system("echo Hello!") Hello! That works. Now the alternative: I need to construct the string like this > a <- "echo" > b <- "Hello!" > c <- "\n" > cat(a, b, c) echo Hello! Looks nice... but