lyx-users  

Re: LyX and Sweave: reading data files

Jean-Marc Lasgouttes
Thu, 09 Oct 2008 06:12:11 -0700

Uwe Stöhr <[EMAIL PROTECTED]> writes:
>> I am trying to use Sweave and LyX for a project of my own, and have the
>> following problem: my R code reads some data
>>   somevars<-read.table("somevars.dat")
>> and this data file is not available when Sweave is ran from the /tmp
>> directory.
>
> Perhaps thids page helps you:
> http://wiki.lyx.org/LyX/LyxWithRThroughSweave

No. I am not sure that I read it carefully enough, but I did not find the
answer in Gregor Gorjanc article either.

JMarc