Re: [R-SIG-Mac] checking for pdflatex

2015-03-17 Thread John Fox
: Dear Simon, -Original Message- From: Simon Urbanek [mailto:simon.urba...@r-project.org] Sent: March-16-15 3:57 PM To: j...@mcmaster.ca Cc: Berend Hasselman; r-sig-mac@r-project.org Subject: Re: [R-SIG-Mac] checking for pdflatex On Mar 16, 2015, at 3:43 PM, John Fox j

Re: [R-SIG-Mac] checking for pdflatex

2015-03-17 Thread John Fox
...@r-project.org] Sent: March-16-15 10:39 AM To: John Fox Cc: Ian Gow; r-sig-mac@r-project.org Subject: Re: [R-SIG-Mac] checking for pdflatex John, see R for Mac FAQ 10.13: I get “command not found” in the GUI yet it works in the Terminal – why? Cheers, Simon

Re: [R-SIG-Mac] checking for pdflatex

2015-03-17 Thread Simon Urbanek
, John -Original Message- From: Simon Urbanek [mailto:simon.urba...@r-project.org] Sent: March-17-15 10:34 AM To: JJ Allaire Cc: j...@mcmaster.ca; Berend Hasselman; r-sig-mac@r-project.org Subject: Re: [R-SIG-Mac] checking for pdflatex JJ, this is unrelated - this is about apps

Re: [R-SIG-Mac] checking for pdflatex

2015-03-17 Thread Simon Urbanek
] Sent: March-16-15 3:57 PM To: j...@mcmaster.ca Cc: Berend Hasselman; r-sig-mac@r-project.org Subject: Re: [R-SIG-Mac] checking for pdflatex On Mar 16, 2015, at 3:43 PM, John Fox j...@mcmaster.ca wrote: Dear all, I've now implemented Simon's solution, setting the path in the .onLoad

Re: [R-SIG-Mac] checking for pdflatex

2015-03-17 Thread John Fox
[mailto:simon.urba...@r-project.org] Sent: March-16-15 3:57 PM To: j...@mcmaster.ca Cc: Berend Hasselman; r-sig-mac@r-project.org Subject: Re: [R-SIG-Mac] checking for pdflatex On Mar 16, 2015, at 3:43 PM, John Fox j...@mcmaster.ca wrote: Dear all, I've now implemented Simon's solution

Re: [R-SIG-Mac] checking for pdflatex

2015-03-17 Thread John Fox
: March-16-15 3:56 PM To: j...@mcmaster.ca; 'Berend Hasselman' Cc: r-sig-mac@r-project.org Subject: Re: [R-SIG-Mac] checking for pdflatex Note that it not just MacTex which uses /usr/texbin. /usr/texbin is a link to /Library/TeX/Distributions/Programs/texbin which is an /etc/alternatives

Re: [R-SIG-Mac] checking for pdflatex

2015-03-17 Thread John Fox
Dear Simon, -Original Message- From: Simon Urbanek [mailto:simon.urba...@r-project.org] Sent: March-17-15 10:48 AM To: j...@mcmaster.ca Cc: JJ Allaire; Berend Hasselman; r-sig-mac@r-project.org Subject: Re: [R-SIG-Mac] checking for pdflatex On Mar 17, 2015, at 10:41 AM, John

Re: [R-SIG-Mac] checking for pdflatex

2015-03-17 Thread Prof Brian Ripley
- From: Prof Brian Ripley [mailto:rip...@stats.ox.ac.uk] Sent: March-16-15 3:56 PM To: j...@mcmaster.ca; 'Berend Hasselman' Cc: r-sig-mac@r-project.org Subject: Re: [R-SIG-Mac] checking for pdflatex Note that it not just MacTex which uses /usr/texbin. /usr/texbin is a link to /Library/TeX

Re: [R-SIG-Mac] checking for pdflatex

2015-03-16 Thread John Fox
Dear Simon, -Original Message- From: Simon Urbanek [mailto:simon.urba...@r-project.org] Sent: March-16-15 3:57 PM To: j...@mcmaster.ca Cc: Berend Hasselman; r-sig-mac@r-project.org Subject: Re: [R-SIG-Mac] checking for pdflatex On Mar 16, 2015, at 3:43 PM, John Fox j

Re: [R-SIG-Mac] checking for pdflatex

2015-03-16 Thread John Fox
-16-15 10:39 AM To: John Fox Cc: Ian Gow; r-sig-mac@r-project.org Subject: Re: [R-SIG-Mac] checking for pdflatex John, see R for Mac FAQ 10.13: I get “command not found” in the GUI yet it works in the Terminal – why? Cheers, Simon On Mar 15, 2015, at 6:21 PM, John Fox j

Re: [R-SIG-Mac] checking for pdflatex

2015-03-16 Thread David Winsemius
for this. Please see below: -Original Message- From: Ian Gow [mailto:iand...@gmail.com] Sent: March-15-15 5:07 PM To: John Fox Cc: r-sig-mac@r-project.org Subject: Re: [R-SIG-Mac] checking for pdflatex I think it's driven by the PATH variable, which appears to differ for me

Re: [R-SIG-Mac] checking for pdflatex

2015-03-16 Thread Simon Urbanek
...@gmail.com] Sent: March-15-15 5:07 PM To: John Fox Cc: r-sig-mac@r-project.org Subject: Re: [R-SIG-Mac] checking for pdflatex I think it's driven by the PATH variable, which appears to differ for me between RStudio and R from Terminal on the one hand and R.app on the other. Yes, I

Re: [R-SIG-Mac] checking for pdflatex

2015-03-16 Thread John Fox
Dear Gabor, -Original Message- From: Gábor Csárdi [mailto:csardi.ga...@gmail.com] Sent: March-16-15 12:39 PM To: John Fox Cc: Simon Urbanek; R-SIG-Mac Subject: Re: [R-SIG-Mac] checking for pdflatex John, my guess is that on OSX, 95% of the users have https://tug.org/mactex

Re: [R-SIG-Mac] checking for pdflatex

2015-03-16 Thread John Fox
Dear Berend, -Original Message- From: Berend Hasselman [mailto:b...@xs4all.nl] Sent: March-16-15 1:27 PM To: j...@mcmaster.ca Cc: Simon Urbanek; r-sig-mac@r-project.org Subject: Re: [R-SIG-Mac] checking for pdflatex On 16-03-2015, at 17:25, John Fox j...@mcmaster.ca wrote

Re: [R-SIG-Mac] checking for pdflatex

2015-03-16 Thread Berend Hasselman
John, On 16-03-2015, at 18:53, John Fox j...@mcmaster.ca wrote: Dear Berend, …. For what it’s worth: I have the following code in the .First function in ~/.Rprofile: (R 3.1.3 on OS X Yosemite) if( .Platform$GUI == AQUA ) { # this appends /usr/local/bin to what is already

Re: [R-SIG-Mac] checking for pdflatex

2015-03-16 Thread Ian Gow
On 16 Mar 2015, at 13:48, John Fox wrote: Dear Gabor, -Original Message- From: Gábor Csárdi [mailto:csardi.ga...@gmail.com] Sent: March-16-15 12:39 PM To: John Fox Cc: Simon Urbanek; R-SIG-Mac Subject: Re: [R-SIG-Mac] checking for pdflatex John, my guess is that on OSX, 95

Re: [R-SIG-Mac] checking for pdflatex

2015-03-16 Thread John Fox
Urbanek; r-sig-mac@r-project.org Subject: Re: [R-SIG-Mac] checking for pdflatex John, On 16-03-2015, at 18:53, John Fox j...@mcmaster.ca wrote: Dear Berend, …. For what it’s worth: I have the following code in the .First function in ~/.Rprofile: (R 3.1.3 on OS X Yosemite

Re: [R-SIG-Mac] checking for pdflatex

2015-03-16 Thread John Fox
. John -Original Message- From: R-SIG-Mac [mailto:r-sig-mac-boun...@r-project.org] On Behalf Of John Fox Sent: March-16-15 2:45 PM To: 'Berend Hasselman' Cc: r-sig-mac@r-project.org Subject: Re: [R-SIG-Mac] checking for pdflatex Dear Berend and Simon, I've now tried Berend's

Re: [R-SIG-Mac] checking for pdflatex

2015-03-16 Thread Simon Urbanek
Message- From: R-SIG-Mac [mailto:r-sig-mac-boun...@r-project.org] On Behalf Of John Fox Sent: March-16-15 2:45 PM To: 'Berend Hasselman' Cc: r-sig-mac@r-project.org Subject: Re: [R-SIG-Mac] checking for pdflatex Dear Berend and Simon, I've now tried Berend's solution and it appears

Re: [R-SIG-Mac] checking for pdflatex

2015-03-16 Thread Prof Brian Ripley
by path_helper), and I'll give that a try as well. Thanks again for all the help, John -Original Message- From: Berend Hasselman [mailto:b...@xs4all.nl] Sent: March-16-15 2:34 PM To: j...@mcmaster.ca Cc: Simon Urbanek; r-sig-mac@r-project.org Subject: Re: [R-SIG-Mac] checking

Re: [R-SIG-Mac] checking for pdflatex

2015-03-16 Thread Matt Denwood
On 15 Mar 2015, at 23:21, John Fox j...@mcmaster.ca wrote: Dear Ian, Thanks for this. Please see below: -Original Message- From: Ian Gow [mailto:iand...@gmail.com] Sent: March-15-15 5:07 PM To: John Fox Cc: r-sig-mac@r-project.org Subject: Re: [R-SIG-Mac] checking

Re: [R-SIG-Mac] checking for pdflatex

2015-03-15 Thread John Fox
Dear Ian, Thanks for this. Please see below: -Original Message- From: Ian Gow [mailto:iand...@gmail.com] Sent: March-15-15 5:07 PM To: John Fox Cc: r-sig-mac@r-project.org Subject: Re: [R-SIG-Mac] checking for pdflatex I think it's driven by the PATH variable, which appears

Re: [R-SIG-Mac] checking for pdflatex

2015-03-15 Thread John Fox
-mac@r-project.org Subject: Re: [R-SIG-Mac] checking for pdflatex I think it's driven by the PATH variable, which appears to differ for me between RStudio and R from Terminal on the one hand and R.app on the other. Yes, I understand that, though I don't understand why there's