余舟 wrote:
Huhu,
Thank you for all you guys. readline works.
I hope R can be more and more powerful to deal with strings.
Strings and power come from regular expressions, check out ?regexpr.
cheers,
Paul
Thank you so much;
Zhou
2010/4/14 Erik Iverson
David Scott wrote:
Erik I
Huhu,
Thank you for all you guys. readline works.
I hope R can be more and more powerful to deal with strings.
Thank you so much;
Zhou
2010/4/14 Erik Iverson
> David Scott wrote:
>
>> Erik Iverson wrote:
>>
>>> ?? wrote:
>>>
Thank you for your reply.
My objective is simple. Ass
David Scott wrote:
Erik Iverson wrote:
?? wrote:
Thank you for your reply.
My objective is simple. Assume I have a constant vector, say Vector.
in C++ code, I want to do:
int index;
cout<<"Please enter the index of the element you want to look at
Vector :";
cin>>index
cout
Erik Iverson wrote:
?? wrote:
Thank you for your reply.
My objective is simple. Assume I have a constant vector, say Vector. in
C++ code, I want to do:
int index;
cout<<"Please enter the index of the element you want to look at Vector :";
cin>>index
cout
?readline
HTH
Lukas Schefczyk
--
From: "??"
Sent: Thursday, April 15, 2010 2:40 AM
To: "Erik Iverson"
Cc:
Subject: Re: [R] R interactive input like C++
Thank you for your reply.
My objective is simple. Assume I have a
?? wrote:
Thank you for your reply.
My objective is simple. Assume I have a constant vector, say Vector. in
C++ code, I want to do:
int index;
cout<<"Please enter the index of the element you want to look at Vector :";
cin>>index
cout
Thank you for your reply.
My objective is simple. Assume I have a constant vector, say Vector. in C++
code, I want to do:
int index;
cout<<"Please enter the index of the element you want to look at Vector :";
cin>>index
cout<
> ?? wrote:
>
>> Hi,
>>
>> Does R have some way to function as the c
?? wrote:
Hi,
Does R have some way to function as the cin object in C++
like I generate a integer variable x in R, and I want the user to input the
value x, like in C++
cin>>x
See ?scan
__
R-help@r-project.org mailing list
https://stat.ethz.ch/ma
Hi,
Does R have some way to function as the cin object in C++
like I generate a integer variable x in R, and I want the user to input the
value x, like in C++
cin>>x
I have been using R as a statistics graduate students for 2 years but never
know any function similar like this. Any suggestion w
9 matches
Mail list logo