Gundala Viswanath wrote:
Hi,
How can I change the back quoted strings below
print(x)
[1] "foo"
[1] "bar"
into
[1]`foo`
[2]`bar`
Because later I want to access a named list
with this string:
mylist$`foo`
mylist$`bar`
I can't do it with:
mylist$"foo"
mylist$"bar"
In fact you want to use
mylist[["foo"]]
Uwe Ligges
- Gundala Viswanath
Jakarta - Indonesia
______________________________________________
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.
______________________________________________
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.