[BioC] How "eval" results returned by "paste0" ?
my1stbox
my1stbox at 163.com
Wed Aug 20 14:40:57 CEST 2014
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]]
More information about the Bioconductor
mailing list