Re: [R] quotes in cat() within function

2013-04-09 Thread Duncan Murdoch
On 13-04-09 6:06 AM, Daniel Caro wrote: Hello all, Sorry if this question has been answered in the past, but I could not find an answer. I am trying to print quotes within a cat output. The arguments are: file= "Data labels" directory= "/home/mylaptop/" The function returns: cat("The file", f

Re: [R] quotes in cat() within function

2013-04-09 Thread Hadley Wickham
On Tue, Apr 9, 2013 at 3:06 AM, Daniel Caro wrote: > Hello all, > > Sorry if this question has been answered in the past, but I could not find > an answer. > > I am trying to print quotes within a cat output. The arguments are: > > file= "Data labels" > directory= "/home/mylaptop/" > > The functio

Re: [R] quotes in cat() within function

2013-04-09 Thread arun
riginal Message - From: Daniel Caro To: r-help@r-project.org Cc: Sent: Tuesday, April 9, 2013 6:06 AM Subject: [R] quotes in cat() within function Hello all, Sorry if this question has been answered in the past, but I could not find an answer. I am trying to print quotes within a cat outpu

Re: [R] quotes in cat() within function

2013-04-09 Thread Adrian Duşa
Try: directory= "\"/home/mylaptop/\"" Hope this helps, Adrian On Tue, Apr 9, 2013 at 1:06 PM, Daniel Caro wrote: > Hello all, > > Sorry if this question has been answered in the past, but I could not find > an answer. > > I am trying to print quotes within a cat output. The arguments are: > >

[R] quotes in cat() within function

2013-04-09 Thread Daniel Caro
Hello all, Sorry if this question has been answered in the past, but I could not find an answer. I am trying to print quotes within a cat output. The arguments are: file= "Data labels" directory= "/home/mylaptop/" The function returns: cat("The file", file, "is located in directory", directory,