I had thought that I had apa6 working nicely (I think I was wrong) and decided 
to have a go at comgining it with knitr.

I successfully embedded an inline statement, then created both a table and a 
figure. (see attached file).
Both were running fine untill I updated R yesterday 


I'm suddenly getting the error "It seems you are using the Sweave-specific 
sntsx; you may need to run 'Sweave2knitr('basic.knitr.attempt1.Rnw')'

This gives the error :
john@john-K53U:~/Lyx$ Sweave2knitr('basic.knitr.attempt1.Rnw')
bash: syntax error near unexpected token `'basic.knitr.attempt1.Rnw''

I got this with a slightly larger file where I was working with the document 
class apa6 and knitr so for simplicity  I striped my example down to this so it 
appears it is knitr error and not something I have done playing with settings 
to get apa6 and biblatex to work


What stupid error am I making now?  Or do I just have to update things?

If this is the wrong mailing list can anyone point me in the right direction?
Thanks

LyX 2.0.4

R info
R version 2.15.2 (2012-10-26)
Platform: i686-pc-linux-gnu (32-bit)

locale:
 [1] LC_CTYPE=en_CA.UTF-8       LC_NUMERIC=C              
 [3] LC_TIME=en_CA.UTF-8        LC_COLLATE=en_CA.UTF-8    
 [5] LC_MONETARY=en_CA.UTF-8    LC_MESSAGES=en_CA.UTF-8   
 [7] LC_PAPER=C                 LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=en_CA.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
[1] grid      stats     graphics  grDevices utils     datasets  methods   base  
   

other attached packages:
[1] lubridate_1.2.0    directlabels_2.9   RColorBrewer_1.0-5 gridExtra_0.9.1   
[5] stringr_0.6.2      scales_0.2.3       plyr_1.8           reshape2_1.2.2    
[9] ggplot2_0.9.3     

loaded via a namespace (and not attached):
[1] colorspace_1.2-1 dichromat_2.0-0  digest_0.6.1     gtable_0.1.2    
[5] labeling_0.1     MASS_7.3-23      munsell_0.4      proto_0.3-10    
[9] tools_2.15.2    

Attachment: basic.knitr.attempt1.lyx
Description: application/lyx

Reply via email to