This works if you type it in from the R console:

> s <- readline()
this is my string

> s
[1] "this is my string"



On Sat, Nov 29, 2008 at 9:41 AM, Jinsong Zhao <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> I hope to use a string as an input in my function, however, I don't want
> to input the quotation mark. Is it possible?
>
> Thanks in advance.
>
> Regards,
> Jinsong
>
> ______________________________________________
> 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.

Reply via email to