[R] How to unquote string in R

2010-11-03 Thread lord12


s= Hey
a = Hello
table = rbind(s,a)
write.table(table,paste(blah,.PROPERTIES,sep = ),row.names =
FALSE,col.names = FALSE)

In my table, how do I output only the words and not the words with the
quotations?

-- 
View this message in context: 
http://r.789695.n4.nabble.com/How-to-unquote-string-in-R-tp3025654p3025654.html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] How to unquote string in R

2010-11-03 Thread Henrique Dallazuanna
Put the quote = FALSE argument in write.table

On Wed, Nov 3, 2010 at 2:13 PM, lord12 trexi...@yahoo.com wrote:



 s= Hey
 a = Hello
 table = rbind(s,a)
 write.table(table,paste(blah,.PROPERTIES,sep = ),row.names =
 FALSE,col.names = FALSE)

 In my table, how do I output only the words and not the words with the
 quotations?

 --
 View this message in context:
 http://r.789695.n4.nabble.com/How-to-unquote-string-in-R-tp3025654p3025654.html
 Sent from the R help mailing list archive at Nabble.com.

 __
 R-help@r-project.org mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide
 http://www.R-project.org/posting-guide.html
 and provide commented, minimal, self-contained, reproducible code.




-- 
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40 S 49° 16' 22 O

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] How to unquote string in R

2010-11-03 Thread Erik Iverson



lord12 wrote:


s= Hey
a = Hello
table = rbind(s,a)
write.table(table,paste(blah,.PROPERTIES,sep = ),row.names =
FALSE,col.names = FALSE)

In my table, how do I output only the words and not the words with the
quotations?



You read the help page for the function you're using :).

From ?write.table:

   quote: a logical value (‘TRUE’ or ‘FALSE’) or a numeric vector.  If
  ‘TRUE’, any character or factor columns will be surrounded by
  double quotes.  If a numeric vector, its elements are taken
  as the indices of columns to quote.  In both cases, row and
  column names are quoted if they are written.  If ‘FALSE’,
  nothing is quoted.

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.