How "eval" results returned by "paste0" ?
"my1stbox"<my1stbox-9Onoh4P/[email protected]>
| Newsgroups | gmane.science.biology.informatics.conductor |
|---|---|
| Message-ID | <[email protected]> |
Hi All,
It seem that I can never get the returned values of 'paste0' been evaluated , as well as any characters that have been quoted. Do I have to use 'substr' or 'gsub' to remove these quotation marks ?
Bests,
Allen Chiu
> eval(paste0('1','+','1'))
[1] "1+1"
> eval(expression(paste0('1','+','1')))
[1] "1+1"
> eval(expression("1+1"))
[1] "1+1"
> eval("1+1")
[1] "1+1"
> eval(expression(1+1))
[1] 2
> eval(1+1)
[1] 2
2014-08-20
[[alternative HTML version deleted]]
_______________________________________________
Bioconductor mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/bioconductor
Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor