Re: Compile error File does not exist: /var/folders

2012-02-09 Thread Jean-Marc Lasgouttes
Le 09/02/2012 04:59, Yihui Xie a écrit : 21:59:54.748: Warning message: 21:59:54.748: In readLines(f[1L], warn = FALSE) : 21:59:54.748: invalid input found on input connection '/var/folders/g3/h89z1g_n7yv3fth6y2yd2nlhgn/T/lyx_tmpdir.JL3034/lyx_tmpbuf2/R-GettingStarted.Rnw' Could you

Re: Compile error File does not exist: /var/folders

2012-02-09 Thread Graham Smith
Yes, this sounds like a problem specific to a particular file (then it will be even harder for me to diagnose). Does that one produce figures from R? Yes, it produces figures as well. Graham

Re: Compile error File does not exist: /var/folders

2012-02-09 Thread Jean-Marc Lasgouttes
Le 09/02/2012 04:59, Yihui Xie a écrit : 21:59:54.748: Warning message: 21:59:54.748: In readLines(f[1L], warn = FALSE) : 21:59:54.748: invalid input found on input connection '/var/folders/g3/h89z1g_n7yv3fth6y2yd2nlhgn/T/lyx_tmpdir.JL3034/lyx_tmpbuf2/R-GettingStarted.Rnw' Could you

Re: Compile error File does not exist: /var/folders

2012-02-09 Thread Graham Smith
Yes, this sounds like a problem specific to a particular file (then it will be even harder for me to diagnose). Does that one produce figures from R? Yes, it produces figures as well. Graham

Re: Compile error File does not exist: /var/folders

2012-02-09 Thread Jean-Marc Lasgouttes
Le 09/02/2012 04:59, Yihui Xie a écrit : 21:59:54.748: Warning message: 21:59:54.748: In readLines(f[1L], warn = FALSE) : 21:59:54.748: invalid input found on input connection '/var/folders/g3/h89z1g_n7yv3fth6y2yd2nlhgn/T/lyx_tmpdir.JL3034/lyx_tmpbuf2/R-GettingStarted.Rnw' Could you

Re: Compile error File does not exist: /var/folders

2012-02-09 Thread Graham Smith
> Yes, this sounds like a problem specific to a particular file (then it > will be even harder for me to diagnose). Does that one produce figures > from R? > Yes, it produces figures as well. Graham

Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
I have just tried compile a file that I last compiled in October 2011, on Mac with Lion and Lyx 2.02, but may have originally been compiled on a Mac with Snow leopard and Lyx 2.01. I am getting the error File does not exist:

Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Yihui Xie
Which version of R are you using? Does it work when you add this to your document as TeX code (Insert--TeX Code)? \SweaveOpts{prefix=TRUE,prefix.string=sweave-figure} Regards, Yihui -- Yihui Xie xieyi...@gmail.com Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State

Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
Yihui Thanks for the response Which version of R are you using? Does it work when you add this to your document as TeX code (Insert--TeX Code)? \SweaveOpts{prefix=TRUE,prefix.string=sweave-figure} It's R 2.14.1, and adding the code doesn't make any difference. Graham

Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Yihui Xie
This sounds hard to diagnose... Does that file really exist or not? Can you go and check in that folder? Regards, Yihui -- Yihui Xie xieyi...@gmail.com Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA On Wed, Feb 8, 2012 at

Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
Yihui This sounds hard to diagnose... Does that file really exist or not? Can you go and check in that folder? The folder exists, but there is no R-GettingStarted.pdf in the folder. The folder is empty. Graham

Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Yihui Xie
OK, then the question is where is this file. Can you try to compile the document again, and search for that R-GettingStarted.pdf? Regards, Yihui -- Yihui Xie xieyi...@gmail.com Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA

Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
OK, The file doesn't seem to exist. A search only finds the PDF from October in \Users\graham\Dropbox\projects\R-Intro_Oct2011\R-GettingStarted.pdf The temp folder has all the tex files etc but no PDF. Graham On 8 February 2012 20:50, Yihui Xie x...@yihui.name wrote: OK, then the question

Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Yihui Xie
This is confusing to me. Ideally Sweave should write that file in the temp folder, and R will clean up the temp dir string in the tex output. However, in your case, both tasks failed. Have you set up any Sweave options like prefix and prefix.string in your document? Or have you ever changed the

Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
Yihui This is confusing to me. Ideally Sweave should write that file in the temp folder, and R will clean up the temp dir string in the tex output. However, in your case, both tasks failed. Have you set up any Sweave options like prefix and prefix.string in your document? Or have you ever

Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
Just realised I didn't answer Have you set up any Sweave options like prefix and prefix.string in your document? Or have you ever changed the Sweave module in LyX? No I haven't doen either of these things, except when I added the TEX box you suggsted, which Inave since removed. Graham

Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Yihui Xie
Can you also attach a copy of the script /Applications/LyX.app/Contents/Resources/scripts/lyxsweave.R ? Regards, Yihui -- Yihui Xie xieyi...@gmail.com Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA On Wed, Feb 8, 2012 at

Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
Can you also attach a copy of the script /Applications/LyX.app/Contents/Resources/scripts/lyxsweave.R ? File atached Thanks, Graham lyxsweave.R Description: Binary data

Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
I have just a different file from a different project, but still one using Sweave, and that compliled fine so it seems something unique to this file, so maybe that is where I should be looking. Graham

Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Yihui Xie
Yes, this sounds like a problem specific to a particular file (then it will be even harder for me to diagnose). Does that one produce figures from R? Regards, Yihui -- Yihui Xie xieyi...@gmail.com Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215

Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
I have just tried compile a file that I last compiled in October 2011, on Mac with Lion and Lyx 2.02, but may have originally been compiled on a Mac with Snow leopard and Lyx 2.01. I am getting the error File does not exist:

Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Yihui Xie
Which version of R are you using? Does it work when you add this to your document as TeX code (Insert--TeX Code)? \SweaveOpts{prefix=TRUE,prefix.string=sweave-figure} Regards, Yihui -- Yihui Xie xieyi...@gmail.com Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State

Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
Yihui Thanks for the response Which version of R are you using? Does it work when you add this to your document as TeX code (Insert--TeX Code)? \SweaveOpts{prefix=TRUE,prefix.string=sweave-figure} It's R 2.14.1, and adding the code doesn't make any difference. Graham

Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Yihui Xie
This sounds hard to diagnose... Does that file really exist or not? Can you go and check in that folder? Regards, Yihui -- Yihui Xie xieyi...@gmail.com Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA On Wed, Feb 8, 2012 at

Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
Yihui This sounds hard to diagnose... Does that file really exist or not? Can you go and check in that folder? The folder exists, but there is no R-GettingStarted.pdf in the folder. The folder is empty. Graham

Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Yihui Xie
OK, then the question is where is this file. Can you try to compile the document again, and search for that R-GettingStarted.pdf? Regards, Yihui -- Yihui Xie xieyi...@gmail.com Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA

Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
OK, The file doesn't seem to exist. A search only finds the PDF from October in \Users\graham\Dropbox\projects\R-Intro_Oct2011\R-GettingStarted.pdf The temp folder has all the tex files etc but no PDF. Graham On 8 February 2012 20:50, Yihui Xie x...@yihui.name wrote: OK, then the question

Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Yihui Xie
This is confusing to me. Ideally Sweave should write that file in the temp folder, and R will clean up the temp dir string in the tex output. However, in your case, both tasks failed. Have you set up any Sweave options like prefix and prefix.string in your document? Or have you ever changed the

Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
Yihui This is confusing to me. Ideally Sweave should write that file in the temp folder, and R will clean up the temp dir string in the tex output. However, in your case, both tasks failed. Have you set up any Sweave options like prefix and prefix.string in your document? Or have you ever

Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
Just realised I didn't answer Have you set up any Sweave options like prefix and prefix.string in your document? Or have you ever changed the Sweave module in LyX? No I haven't doen either of these things, except when I added the TEX box you suggsted, which Inave since removed. Graham

Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Yihui Xie
Can you also attach a copy of the script /Applications/LyX.app/Contents/Resources/scripts/lyxsweave.R ? Regards, Yihui -- Yihui Xie xieyi...@gmail.com Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA On Wed, Feb 8, 2012 at

Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
Can you also attach a copy of the script /Applications/LyX.app/Contents/Resources/scripts/lyxsweave.R ? File atached Thanks, Graham lyxsweave.R Description: Binary data

Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
I have just a different file from a different project, but still one using Sweave, and that compliled fine so it seems something unique to this file, so maybe that is where I should be looking. Graham

Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Yihui Xie
Yes, this sounds like a problem specific to a particular file (then it will be even harder for me to diagnose). Does that one produce figures from R? Regards, Yihui -- Yihui Xie xieyi...@gmail.com Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215

Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
I have just tried compile a file that I last compiled in October 2011, on Mac with Lion and Lyx 2.02, but may have originally been compiled on a Mac with Snow leopard and Lyx 2.01. I am getting the error File does not exist:

Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Yihui Xie
Which version of R are you using? Does it work when you add this to your document as TeX code (Insert-->TeX Code)? \SweaveOpts{prefix=TRUE,prefix.string=sweave-figure} Regards, Yihui -- Yihui Xie Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State

Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
Yihui Thanks for the response > Which version of R are you using? Does it work when you add this to > your document as TeX code (Insert-->TeX Code)? > > \SweaveOpts{prefix=TRUE,prefix.string=sweave-figure} It's R 2.14.1, and adding the code doesn't make any difference. Graham

Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Yihui Xie
This sounds hard to diagnose... Does that file really exist or not? Can you go and check in that folder? Regards, Yihui -- Yihui Xie Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA On Wed, Feb 8, 2012

Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
Yihui This sounds hard to diagnose... Does that file really exist or not? > Can you go and check in that folder? > The folder exists, but there is no R-GettingStarted.pdf in the folder. The folder is empty. Graham

Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Yihui Xie
OK, then the question is where is this file. Can you try to compile the document again, and search for that R-GettingStarted.pdf? Regards, Yihui -- Yihui Xie Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames,

Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
OK, The file doesn't seem to exist. A search only finds the PDF from October in \Users\graham\Dropbox\projects\R-Intro_Oct2011\R-GettingStarted.pdf The temp folder has all the tex files etc but no PDF. Graham On 8 February 2012 20:50, Yihui Xie wrote: > OK, then the

Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Yihui Xie
This is confusing to me. Ideally Sweave should write that file in the temp folder, and R will clean up the temp dir string in the tex output. However, in your case, both tasks failed. Have you set up any Sweave options like prefix and prefix.string in your document? Or have you ever changed the

Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
Yihui This is confusing to me. Ideally Sweave should write that file in the > temp folder, and R will clean up the temp dir string in the tex > output. However, in your case, both tasks failed. Have you set up any > Sweave options like prefix and prefix.string in your document? Or have > you

Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
Just realised I didn't answer >Have you set up any Sweave options like prefix and prefix.string in your document? Or have you ever changed the >Sweave module in LyX? No I haven't doen either of these things, except when I added the TEX box you suggsted, which Inave since removed. Graham

Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Yihui Xie
Can you also attach a copy of the script /Applications/LyX.app/Contents/Resources/scripts/lyxsweave.R ? Regards, Yihui -- Yihui Xie Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA On Wed, Feb 8, 2012

Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
Can you also attach a copy of the script > /Applications/LyX.app/Contents/Resources/scripts/lyxsweave.R ? > File atached Thanks, Graham lyxsweave.R Description: Binary data

Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
I have just a different file from a different project, but still one using Sweave, and that compliled fine so it seems something unique to this file, so maybe that is where I should be looking. Graham

Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Yihui Xie
Yes, this sounds like a problem specific to a particular file (then it will be even harder for me to diagnose). Does that one produce figures from R? Regards, Yihui -- Yihui Xie Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215