Re: [R] \Sexpr in MikTex

2006-12-21 Thread Blanchard, Suzette
Thank you for your help.  With your fix I was able to get the correct result 
once but then I would have to close R.
If I go back to R-2.3.1 Everything seem to work fine. Best to everyone that 
helped.
Suzette



From: Duncan Murdoch [mailto:[EMAIL PROTECTED]
Sent: Thu 12/21/2006 5:31 AM
To: Duncan Murdoch
Cc: Blanchard, Suzette; r-help@stat.math.ethz.ch
Subject: Re: [R] \Sexpr in MikTex



Wow, that's a lot of errors in my post.  Sorry about that.  You should
probably just ignore it completely.

Duncan Murdoch

On 12/20/2006 10:05 PM, Duncan Murdoch wrote:
> On 12/20/2006 6:26 PM, Blanchard, Suzette wrote:
>> Greetings,   \Sexpr{} has worked on MikTex with earlier versions of R, I can 
>> not seem to get it to work with
>> R-2.4.0.  I run Sweave with MikTex using the following statement in Run 
>> under Accessories.
>> latex -include-directory="C:\Program Files\R\R-2.4.0\share\texmf" 
>> "C:\Documents and Settings\Suzette\Desktop\MyFile\MyProgram.tex"
>
> There should be two hyphens in the option, i.e. --include-directory,
> shouldn't there?
>
> This should be automatically put in place if you used
>
> R CMD Sweave MyProgram.tex
>
> from a command line.
>
> Duncan Murdoch
>
>> 
>> Any advice would be much appreciated,
>> Suzette
>> 
>> 
>> Suzette Blanchard, Ph.D.
>> Assistant Professor, Dept. of Biostatistics
>> City of Hope National Medical Center
>>   and Beckman Research Institute
>> 1500 East Duarte Road, Duarte, CA 91010-3000
>> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>> ph: (626) 256-4673 ext: 64446
>> 
>>
>> "EMF " made the following annotations.
>> --
>> SECURITY/CONFIDENTIALITY WARNING:  This message and any atta...{{dropped}}
>>
>> __
>> R-help@stat.math.ethz.ch mailing list
>> 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.
>
> __
> R-help@stat.math.ethz.ch mailing list
> 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.





[[alternative HTML version deleted]]

__
R-help@stat.math.ethz.ch mailing list
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.


Re: [R] \Sexpr in MikTex

2006-12-21 Thread Duncan Murdoch
Wow, that's a lot of errors in my post.  Sorry about that.  You should 
probably just ignore it completely.

Duncan Murdoch

On 12/20/2006 10:05 PM, Duncan Murdoch wrote:
> On 12/20/2006 6:26 PM, Blanchard, Suzette wrote:
>> Greetings,   \Sexpr{} has worked on MikTex with earlier versions of R, I can 
>> not seem to get it to work with
>> R-2.4.0.  I run Sweave with MikTex using the following statement in Run 
>> under Accessories. 
>> latex -include-directory="C:\Program Files\R\R-2.4.0\share\texmf" 
>> "C:\Documents and Settings\Suzette\Desktop\MyFile\MyProgram.tex"
> 
> There should be two hyphens in the option, i.e. --include-directory, 
> shouldn't there?
> 
> This should be automatically put in place if you used
> 
> R CMD Sweave MyProgram.tex
> 
> from a command line.
> 
> Duncan Murdoch
> 
>>  
>> Any advice would be much appreciated,
>> Suzette
>>  
>>  
>> Suzette Blanchard, Ph.D.
>> Assistant Professor, Dept. of Biostatistics
>> City of Hope National Medical Center
>>   and Beckman Research Institute
>> 1500 East Duarte Road, Duarte, CA 91010-3000
>> [EMAIL PROTECTED]  
>> ph: (626) 256-4673 ext: 64446
>>  
>> 
>> "EMF " made the following annotations.
>> --
>> SECURITY/CONFIDENTIALITY WARNING:  This message and any atta...{{dropped}}
>> 
>> __
>> R-help@stat.math.ethz.ch mailing list
>> 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.
> 
> __
> R-help@stat.math.ethz.ch mailing list
> 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.

__
R-help@stat.math.ethz.ch mailing list
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.


Re: [R] \Sexpr in MikTex

2006-12-21 Thread Doran, Harold
I don't run the program this way so I don't know. But it makes me wonder if the 
problem is with \Sexpr{} or the way she is trying to run Sweave and compile. 
So, is it possible that code chunks are working but not \Sexpr{}?

If you have something like

<<>>=
R code here
@

Do you get that output?



-Original Message-
From: [EMAIL PROTECTED] on behalf of Duncan Murdoch
Sent: Wed 12/20/2006 10:05 PM
To: Blanchard, Suzette
Cc: r-help@stat.math.ethz.ch
Subject: Re: [R] \Sexpr in MikTex
 
On 12/20/2006 6:26 PM, Blanchard, Suzette wrote:
> Greetings,   \Sexpr{} has worked on MikTex with earlier versions of R, I can 
> not seem to get it to work with
> R-2.4.0.  I run Sweave with MikTex using the following statement in Run under 
> Accessories. 
> latex -include-directory="C:\Program Files\R\R-2.4.0\share\texmf" 
> "C:\Documents and Settings\Suzette\Desktop\MyFile\MyProgram.tex"

There should be two hyphens in the option, i.e. --include-directory, 
shouldn't there?

This should be automatically put in place if you used

R CMD Sweave MyProgram.tex

from a command line.

Duncan Murdoch

>  
> Any advice would be much appreciated,
> Suzette
>  
>  
> Suzette Blanchard, Ph.D.
> Assistant Professor, Dept. of Biostatistics
> City of Hope National Medical Center
>   and Beckman Research Institute
> 1500 East Duarte Road, Duarte, CA 91010-3000
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
> ph: (626) 256-4673 ext: 64446
>  
> 
> "EMF " made the following annotations.
> --
> SECURITY/CONFIDENTIALITY WARNING:  This message and any atta...{{dropped}}
> 
> __
> R-help@stat.math.ethz.ch mailing list
> 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.

__
R-help@stat.math.ethz.ch mailing list
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.


[[alternative HTML version deleted]]

__
R-help@stat.math.ethz.ch mailing list
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.


Re: [R] \Sexpr in MikTex

2006-12-20 Thread Duncan Murdoch
On 12/20/2006 6:26 PM, Blanchard, Suzette wrote:
> Greetings,   \Sexpr{} has worked on MikTex with earlier versions of R, I can 
> not seem to get it to work with
> R-2.4.0.  I run Sweave with MikTex using the following statement in Run under 
> Accessories. 
> latex -include-directory="C:\Program Files\R\R-2.4.0\share\texmf" 
> "C:\Documents and Settings\Suzette\Desktop\MyFile\MyProgram.tex"

There should be two hyphens in the option, i.e. --include-directory, 
shouldn't there?

This should be automatically put in place if you used

R CMD Sweave MyProgram.tex

from a command line.

Duncan Murdoch

>  
> Any advice would be much appreciated,
> Suzette
>  
>  
> Suzette Blanchard, Ph.D.
> Assistant Professor, Dept. of Biostatistics
> City of Hope National Medical Center
>   and Beckman Research Institute
> 1500 East Duarte Road, Duarte, CA 91010-3000
> [EMAIL PROTECTED]  
> ph: (626) 256-4673 ext: 64446
>  
> 
> "EMF " made the following annotations.
> --
> SECURITY/CONFIDENTIALITY WARNING:  This message and any atta...{{dropped}}
> 
> __
> R-help@stat.math.ethz.ch mailing list
> 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.

__
R-help@stat.math.ethz.ch mailing list
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.


Re: [R] \Sexpr in MikTex

2006-12-20 Thread Doran, Harold
Suzette

I have not experienced any problems with \Sexpr{} and new R versions. It might 
be helpful if you could provied a minimal example of your .Rnw and how \Sexpr{} 
is used within.

It is obvious what OS you're using given the path dirctories below, but 
normally it might be useful to be explicit about thata s well.


-Original Message-
From: [EMAIL PROTECTED] on behalf of Blanchard, Suzette
Sent: Wed 12/20/2006 6:26 PM
To: r-help@stat.math.ethz.ch
Subject: [R] \Sexpr in MikTex
 
Greetings,   \Sexpr{} has worked on MikTex with earlier versions of R, I can 
not seem to get it to work with
R-2.4.0.  I run Sweave with MikTex using the following statement in Run under 
Accessories. 
latex -include-directory="C:\Program Files\R\R-2.4.0\share\texmf" "C:\Documents 
and Settings\Suzette\Desktop\MyFile\MyProgram.tex"
 
Any advice would be much appreciated,
Suzette
 
 
Suzette Blanchard, Ph.D.
Assistant Professor, Dept. of Biostatistics
City of Hope National Medical Center
  and Beckman Research Institute
1500 East Duarte Road, Duarte, CA 91010-3000
[EMAIL PROTECTED]  
ph: (626) 256-4673 ext: 64446
 

"EMF " made the following annotations.
--
SECURITY/CONFIDENTIALITY WARNING:  This message and any atta...{{dropped}}

__
R-help@stat.math.ethz.ch mailing list
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.


[[alternative HTML version deleted]]

__
R-help@stat.math.ethz.ch mailing list
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.