Re: Missing Rnw(knitr) module

2017-08-23 Thread John Kane
Hello Murat! Your idea seems to have worked. The *sudo update R *seems to have worked but apparently, despite RStudio and RKwark seeming to find knitr I did a install.packages("knitr") at root level and R installed it. LyX seems to be finding knitr now. I just ran a couple of simple-minded plots

Re: Missing Rnw(knitr) module

2017-08-23 Thread Dr Eberhard Lisse
The former has a smaller footprint than inkscape and works very well for me. ek On 2017-08-23 12:54 , Kornel Benko wrote: > Am Mittwoch, 23. August 2017 um 06:30:37, schrieb John Kane > >> INFO: +checking for "rsvg-convert"... no >> INFO: +checking for "inkscape"... no >

Re: Missing Rnw(knitr) module

2017-08-23 Thread John Kane
Blast, forgot to include the text of /etc/apt/sources.list.d/ Contents of /etc/apt/sources.list.d/ --- aims-ubuntu-sagemath-xenial.list aims-ubuntu-sagemath-xenial.list.distUpgrade aims-ubuntu-sagemath-xenial.list.save dropbox.list dropbox.list.distUpgrade

Re: Missing Rnw(knitr) module

2017-08-23 Thread John Kane
Oh just had a look at my ppa file "/etc/apt/sources.list.d/" and the entries seem to have no connection with the errors reported in my last post. Am I missing another ppa file? On 23 August 2017 at 08:47, John Kane wrote: > Tried a purge (looked successful) and a

Re: Missing Rnw(knitr) module

2017-08-23 Thread John Kane
Tried a purge (looked successful) and a reconfigure. Same error. ##==## An error occurred while running: Rscript --verbose --no-save --no-restore $$s/scripts/lyxknitr.R "/tmp/lyx_tmpdir.SpjIUqEQ9242/lyx_tmpbuf0/""LyXnewfile1.Rnw"

Re: Missing Rnw(knitr) module

2017-08-23 Thread Kornel Benko
Am Mittwoch, 23. August 2017 um 07:38:45, schrieb John Kane > I tried your suggestions. > librsvg2-bin seems to have installed successfully > > Inkscape aborted. > > This is weird indeed. I loaded the ubuntu software gui and it reports that > inkscape is, indeed,

Re: Missing Rnw(knitr) module

2017-08-23 Thread John Kane
That screenshot is rather small. Perhaps this cropped one will be better On 23 August 2017 at 07:38, John Kane wrote: > I tried your suggestions. > librsvg2-bin seems to have installed successfully > > Inkscape aborted. > > This is weird indeed. I loaded the ubuntu

Re: Missing Rnw(knitr) module

2017-08-23 Thread Kornel Benko
Am Mittwoch, 23. August 2017 um 06:30:37, schrieb John Kane > INFO: +checking for "rsvg-convert"... no > INFO: +checking for "inkscape"... no for "rsvg-convert" try # sudo apt-get install librsvg2-bin and for "inkscape" # sudo apt-get install inkscape

Re: Missing Rnw(knitr) module

2017-08-23 Thread John Kane
I'd be happy to do. Please see attached file. Thanks On 22 August 2017 at 21:32, Scott Kostyshak wrote: > On Tue, Aug 22, 2017 at 03:56:24PM -0400, John Kane wrote: > > Just as a minor follow-up the knitr.module is in usr/share/lux/layouts. > So > > I have knitr installed in

Re: Missing Rnw(knitr) module

2017-08-22 Thread Scott Kostyshak
On Tue, Aug 22, 2017 at 03:56:24PM -0400, John Kane wrote: > Just as a minor follow-up the knitr.module is in usr/share/lux/layouts. So > I have knitr installed in R and the knitr.module in LyX. > > Presumably I'm missing something obvious but what? Can you send your configure log? That's always

Re: Missing Rnw(knitr) module

2017-08-22 Thread John Kane
Just as a minor follow-up the knitr.module is in usr/share/lux/layouts. So I have knitr installed in R and the knitr.module in LyX. Presumably I'm missing something obvious but what? On 22 August 2017 at 11:14, John Kane wrote: > Yes. I really have no idea of where some of

Re: Missing Rnw(knitr) module

2017-08-22 Thread John Kane
Yes. I really have no idea of where some of those ppa's have come from and I may just go in and wipe out anything that's in the file and hope for the best. I can always replace those that I really need.(I hope.) Someone else may have another idea that may help also. I did discover that I can

Re: Missing Rnw(knitr) module

2017-08-22 Thread John Kane
*sudo apt update* Yes, ran it just before I ran the code listed above. I don't remember any warnings but I had someone talking to me as I did it and so I may have missed one. Bloody hell! I missed the equivalent of an atom bomb going off. Unfortunately I am not sure how to start to approach this

Re: Missing Rnw(knitr) module

2017-08-22 Thread Jean-Marc Lasgouttes
Le 22/08/2017 à 14:31, John Kane a écrit : But, blast it, I want knitr back. I have a good number of files with knitr code and I would hate to have to modify them. But, at least, we now know that LyX is talking to R which is reassuring. What is your operating system? JMarc

Re: Missing Rnw(knitr) module

2017-08-22 Thread John Kane
Thanks Jean-Marc. I have reconfigured two or three times. . I have not thought of sweave in years. A plain file, that is no R code, compiles with sweave loaded. A small knitr file gives an error but that is to be expected. I'll have to cobble together a sweave example and see what happens. It

Re: Missing Rnw(knitr) module

2017-08-22 Thread Jean-Marc Lasgouttes
Le 22/08/2017 à 13:01, John Kane a écrit : I recently upgraded to LyX 2.2.3 as I am not doing any production work at the moment and it seemed a good time to explore some of the new features. I have a problem with the Rnw(knitr) module in LyX. LyX is insisting that the knitr package does not