[R-SIG-Mac] texi2dvi error "Sweave" and "exams" (Paul Ossenbruggen)

Berend Hasselman bhh at xs4all.nl
Tue Aug 21 07:40:31 CEST 2012


Forgot to send this to the list.

On 20-08-2012, at 22:26, Paul Ossenbruggen wrote:

> In R GUI, I submitted and got:
> 
>> Sys.getenv("PATH")
> [1] "/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin"
>> 
> 
> In terminal, I was not so fortunate. I got errors. I am sorry but I never run applications from terminal. 
> 
> PJO-MacBook-Pro:~ PJO$ sudo ln -s /Library/Frameworks/R.framework/Resources/R /usr/local/bin/R

Why did you do that?

> Password:
> ln: /usr/local/bin/R: File exists
> PJO-MacBook-Pro:~ PJO$ Sys.setenv(PATH=paste(Sys.getenv("PATH"),"/usr/texbin",sep=":"))

Sys.setenv(PATH=paste(Sys.getenv("PATH"),"/usr/texbin",sep=":"))  is R syntax.

You run that command in the R GUI. My post clearly said that.

Berend



More information about the R-SIG-Mac mailing list