Re: [R] problem with "parse"

From: Marc Kirchner <>
Date: Tue 22 Nov 2005 - 21:19:23 EST

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.


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

______________________________________________ mailing list PLEASE do read the posting guide!

Received on Tue Nov 22 21:25:18 2005

This archive was generated by hypermail 2.1.8 : Tue 22 Nov 2005 - 23:23:31 EST