Re: [R] raw input prompt

2012-06-02 Thread Bert Gunter
... or On Sat, Jun 2, 2012 at 11:29 AM, J Toll wrote: > On Fri, Jun 1, 2012 at 1:01 PM, meatloafthefrog > wrote: >> I want a prompt that asks the user for the file name of the table, >> the response to which will be the name of the table in R. >> >> So I did something like: >> >> file_name = fun

Re: [R] raw input prompt

2012-06-02 Thread J Toll
On Fri, Jun 1, 2012 at 1:01 PM, meatloafthefrog wrote: > I want a prompt that asks the user for the file name of the table, > the response to which will be the name of the table in R. > > So I did something like: > > file_name = function()                                         #This > function,

Re: [R] raw input prompt

2012-06-02 Thread David Winsemius
On Jun 1, 2012, at 2:01 PM, meatloafthefrog wrote: Ah. I'm very new to this and I definitely wasn't clear enough about what I'm trying to do... sorry. I am extracting information (in this case, DNA sequences to be exported to a fasta file) from just two columns of a table that has a lot of

Re: [R] raw input prompt

2012-06-01 Thread meatloafthefrog
Ah. I'm very new to this and I definitely wasn't clear enough about what I'm trying to do... sorry. I am extracting information (in this case, DNA sequences to be exported to a fasta file) from just two columns of a table that has a lot of extraneous... stuff. I want a prompt that asks the user

Re: [R] raw input prompt

2012-05-30 Thread David Winsemius
On May 30, 2012, at 4:38 PM, R. Michael Weylandt wrote: Perhaps readline()? Or possibly ( depending on what exactly the undescribed Python function does) ... x <- scan() # defaults to numeric but can be used for character input with correct parameters Best, Michael On Wed, May 3

Re: [R] raw input prompt

2012-05-30 Thread R. Michael Weylandt
Perhaps readline()? Best, Michael On Wed, May 30, 2012 at 2:31 PM, meatloafthefrog wrote: > Hello, > > I was wondering if there is a way to make a prompt for the user (exactly > like raw_input() in Python), the response to which can then be used as an > object. > > Thanks, > > Abir > > -- > View

[R] raw input prompt

2012-05-30 Thread meatloafthefrog
Hello, I was wondering if there is a way to make a prompt for the user (exactly like raw_input() in Python), the response to which can then be used as an object. Thanks, Abir -- View this message in context: http://r.789695.n4.nabble.com/raw-input-prompt-tp4631852.html Sent from the R help m