Marianne Stephan hotmail.com> writes:
> A statistician performed an analysis in SAS for me which I would
> like to replicate in R. I have however problems in figuring out the
> R code to do that. As I understood it was a "covariance regression
> model". In the analysis, baseline was used as cov
Thanks Josh and Dan!
I got it to work using the following code that Dan had suggested.
x """D:\Program Files\R\R-2.9.2\bin\R.exe"" --no-save --quiet <
""&rsource.\Rtest.R"" > ""&rsource.\Rtest.log""";
Thanks for your help!! :)
Sarah
On Wed, Sep 15, 2010 at 2:58 PM, Joshua Wiley wrote:
> Hi
Hi Sarah,
Just a couple additional notes to what's been said:
1) It seems like R CMD BATCH might be easier
2) If the space in Program Files is causing issues, you can use the
Windows environment variable %PROGRAMFILES% (which also means you do
not need the drive letter.
3) I find it handy to defi
> -Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
> project.org] On Behalf Of Sarah Jilani
> Sent: Wednesday, September 15, 2010 10:44 AM
> To: r-help@r-project.org
> Subject: [R] Sas to R
>
> Hi,
>
> I need to call an R program from Sas. I have tried usi
David Winsemius wrote:
On Sep 15, 2010, at 1:44 PM, Sarah Jilani wrote:
Hi,
I need to call an R program from Sas. I have tried using the following
code
in Sas using the x command but it just calls up dos and says
I went searching for a worked example and found this:
http://www.nesug.or
On Sep 15, 2010, at 1:44 PM, Sarah Jilani wrote:
Hi,
I need to call an R program from Sas. I have tried using the
following code
in Sas using the x command but it just calls up dos and says
I went searching for a worked example and found this:
http://www.nesug.org/proceedings/nesug08/sa/
Sarah,
This is a SAS question, not R. However, it seems clear that it
has something to do with the fact that there are spaces in the
command that you're sending to Windows.
Maybe try calling with the 'short directory name' notation,
I forget what that's called in Windows.
Or else follow-up on
Marc Schwartz wrote:
> On Fri, 2007-12-28 at 11:21 -0600, Frank E Harrell Jr wrote:
>> Wensui Liu wrote:
>>> while I move data between SAS and R all the time, personally I don't
>>> think your recommendation is very practical. Instead, I feel SAS
>>> transport file is much better than csv.
>>>
>>>
On Fri, 2007-12-28 at 11:21 -0600, Frank E Harrell Jr wrote:
> Wensui Liu wrote:
> > while I move data between SAS and R all the time, personally I don't
> > think your recommendation is very practical. Instead, I feel SAS
> > transport file is much better than csv.
> >
> > Plus, the sas dataset
Wensui Liu wrote:
> while I move data between SAS and R all the time, personally I don't
> think your recommendation is very practical. Instead, I feel SAS
> transport file is much better than csv.
>
> Plus, the sas dataset created on unix can't be opened by sas viewer on
> windows. It is even und
while I move data between SAS and R all the time, personally I don't
think your recommendation is very practical. Instead, I feel SAS
transport file is much better than csv.
Plus, the sas dataset created on unix can't be opened by sas viewer on
windows. It is even undoable if the dataset is large.
11 matches
Mail list logo