[prev in list] [next in list] [prev in thread] [next in thread]
List: lyx-users
Subject: Re: Lattice library and sweave
From: Graham M Smith <graham.smith () myotis ! co ! uk>
Date: 2009-11-26 18:59:25
Message-ID: 4B0ED00D.4000908 () myotis ! co ! uk
[Download RAW message or body]
OK, with help from Mateo, you need to add a print command as below:
<<fig=T,echo=T>>=
library(lattice)
print(xyplot(light.trans~simpson))
@
Graham
Graham M Smith wrote:
> Actually, I now realise I had this problem before and it was solved by
> changing the encoding to UTF8, but its not working this time.
>
> Graham
>
> Graham M Smith wrote:
>> Should the lattice library work with Lyx?
>>
>> Ubuntu 9.04, Lyx 1.6.2, R 2.10 with latest version of lattice.
>>
>> It seems to compile OK, but although the code appears I get no plot.
>>
>> <<fig=T,echo=T>>=
>> library(lattice)
>> xyplot(light.trans~simpson)
>> @
>>
>> Anyone any ideas?
>>
>> Thanks,
>>
>> Graham
>>
>
>
--
--
Graham M Smith
graham.smith@myotis.co.uk
Station Cottage, Station Road
Binegar, Somerset
BA3 4UQ
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic