Liviu, Many many thanks for this, I knew I would need to edit the file path once I started working with the file, but didn't realise that it could cause an error about installed classes when simply loading the file.
No changed "~/Dropbox/projects/R_Anova/Data/Ian.txt" When I was regularly switching between Linux and the Mac, I used this format as it migrated between platforms. But I haven't used the Mac for a long time. Unfortunately, I am having to abandon Linux and switch back to the Mac full time, and I seem to have forgotten everything I knew about the Mac :-( Thanks again, Graham On 21 August 2011 08:24, Liviu Andronic <landronim...@gmail.com> wrote: > On Sun, Aug 21, 2011 at 8:06 AM, Graham Smith <myotis...@gmail.com> wrote: > > I have attached the file that is giving me the problems and just in case > it > > as been missed, this file was produced in Lyx 2.0 in Ubuntu 11.04. It > was > > the Mac that had 1.6 on it, which I upgraded to 2.0 before trying to open > > this file. > > > After I open View > Messages and try to compile the file, I notice > that R fails with the following message: > 09:18:06.166: Processing code chunks with options ... > 09:18:06.218: 1 : term verbatim > 09:18:06.244: 2 : echo keep.source term verbatim > 09:18:06.288: > 09:18:06.303: Error: chunk 2 > 09:18:06.303: Error in file(file, "rt") : cannot open the connection > 09:18:06.303: In addition: Warning message: > 09:18:06.304: In file(file, "rt") : > 09:18:06.304: cannot open file > '/home/graham/Dropbox/projects/R_Anova/Data/Ian.txt': No such file or > directory > 09:18:06.305: Execution halted > > Naturally it doesn't fine '/home' on Mac OS X, while it doesn't find > '/home/graham' on my Xubuntu system. > Liviu >