Message-ID: <CA+vqiLEcfn--F1hZXO5rz5vQ1L_U6ZRDrPbekOBvD_XhWW6Lqw@mail.gmail.com>
Date: 2015-08-04T15:12:20Z
From: Ista Zahn
Subject: write.csv file= question
In-Reply-To: <C9AF90CFBE3.000001DBjrkrideau@inbox.com>
On Tue, Aug 4, 2015 at 11:04 AM, John Kane <jrkrideau at inbox.com> wrote:
> You probably need to ask this on a RStudio forum but my guess is it is just a little 'refinement' that the RStudio people added. Similar in concept o the the matching "".
Really? write.csv(data,?/home/data.csv?) works for me in Rstudio, ESS,
Terminal, Rscript etc.
>
> John Kane
> Kingston ON Canada
>
>
>> -----Original Message-----
>> From: demmitba at gmail.com
>> Sent: Tue, 4 Aug 2015 08:51:24 -0600
>> To: r-help at r-project.org
>> Subject: [R] write.csv file= question
>>
>> Hello,
>>
>> I have a quick question about the ?file=? specification for the command
>> write.csv. When I run this command in Rstudio I do not need the
>> ?file=? specified. For example the below command works just fine.
>>
>> write.csv(data,?/home/data.csv?)
>>
>> However when I am running an Rscript from the terminal and putting it in
>> the background I need to specify ?file=?. So for the example above I
>> need to instead have
>>
>> write.csv(data,file=?/home/data.csv?)
>>
>> Any ideas why this is the case? Writing file= isn?t a problem, just
>> trying to get an idea of how R works better.
>>
>> Thanks!
>>
>> ______________________________________________
>> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>> 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.
>
> ____________________________________________________________
> Can't remember your password? Do you need a strong and secure password?
> Use Password manager! It stores your passwords & protects your account.
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.