[R] problem with "parse"
Marc Kirchner
marc.kirchner at iwr.uni-heidelberg.de
Tue Nov 22 11:19:23 CET 2005
Hello Antje,
> Is there anything I have overlooked? Can't I put special characters
> like "$" or "," into this test-character?
If I understand "?parse" correctly, you are supposed to pass a valid R
expression to it and
"u.g$par1, u.g$par2"
is not as the comma is not a valid delimiter here.
However,
> parse(text="u.g$par1; u.g$par2")
expression(u.g$par1, u.g$par2)
does work (note the semicolon instead of the comma) and
might be what you want.
Regards,
Marc
--
========================================================
Dipl. Inform. Med. Marc Kirchner
Interdisciplinary Centre for Scientific Computing (IWR)
Multidimensional Image Processing
INF 368
University of Heidelberg
D-69120 Heidelberg
Tel: ++49-6221-54 87 97
Fax: ++49-6221-54 88 50
marc.kirchner at iwr.uni-heidelberg.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://stat.ethz.ch/pipermail/r-help/attachments/20051122/06546549/attachment.bin
More information about the R-help
mailing list