[R] Interacting with the Operating System
Sarah Goslee
sarah.goslee at gmail.com
Fri Mar 9 23:52:32 CET 2012
No, that was your answer, not a request for clarification.
Type
?system
at an R prompt and read the help file.
Sarah
On Fri, Mar 9, 2012 at 5:45 PM, Julio Sergio <juliosergio at gmail.com> wrote:
> Sarah Goslee <sarah.goslee <at> gmail.com> writes:
>
>>
>> ?system
>>
>> On Fri, Mar 9, 2012 at 5:30 PM, Julio Sergio <juliosergio <at> gmail.com>
> wrote:
>> > Is there any way to issue operating system commands and geting back the
> results,
>> > in R?
>> >
>> > I mean, for instance, in Linux, to execute from R the 'ls' command and
> getting
>> > back a list of files in the current directory, or, equivalently, in
> Windows/DOS,
>> > the 'dir' command?
>> >
>> > I'm not interested in the 'ls' or 'dir' commands it is just an example.
>> >
>> > Do you have any comments on this matter?
>> >
>> > Thanks,
>> >
>> > --Sergio.
>> >
>>
>
> Basically, I'm interested on Linux and Windows/DOS (Windows 7)
>
--
Sarah Goslee
http://www.functionaldiversity.org
More information about the R-help
mailing list