Re: APA6 seems to have stopped working after upgrade to LyX 2.0.6

2013-05-13 Thread John Kane





 From: Jacob Bishop bishop.ja...@gmail.com
To: John Kane jrkrid...@yahoo.ca 
Cc: lyx-users@lists.lyx.org lyx-users@lists.lyx.org 
Sent: Sunday, May 12, 2013 10:26:29 PM
Subject: Re: APA6 seems to have stopped working after upgrade to LyX 2.0.6
 


Hi John,


I have not upgraded to 2.0.6 yet, but even on 2.0.5, I have never been able to 
get the apa6 class working without specifying more information than what you 
have included here (in the second file, test.of.APA6.lyx). Adding a title and 
author makes this work for me with LyX 2.0.5. As far as I understand, this is 
not unique to apa6, and is one of the main reasons for including a template. 
With a template you should be able to have a working document out of the box 
which you can then modify by adding your own content.


Does the template that comes with LyX 2.0.6 work for you? 

Does it work for you to create a new document if you include a title, author, 
and body text? (it does for me)

Amazing. Both the template and a quick and dirty test file with title, author 
and one standard line of text work likea charm.  It never occurred to me that 
APA6 would require them, I guess because I was using an article class document 
without a title, etc for testing something else the same day and it was 
compiling just fine.  

Well at least that means that it's likely that I have a knitr problem not a doc 
class issue.
Thanks very much.


As for the knitr stuff goes, I have never used R with LyX before, but it is 
something I am planning on looking into soon. So, any errors specific to that 
will be more difficult (for me) to make sense of, but I will try if the 
problems you are experiencing persist.

I'd appreciate that but perhaps don't waste your time at the moment . Now that 
the main APA6 problem is gone away, I can start doing some extra checking to 
see if I am just doing something silly.  My major problem was that because the 
two error messages came up almost simultaneously and immediately after the 
upgrade to 2.0.6 that I jumped to that conclusion that it was likely the 
complete  source of the problem.  I will probably be back  asking for help in a 
couple of days but hopefully with narrower problem definition.



I, obviously, am just floundering around with knitr/LyX/R but I really like it. 
 In particular, Yuihe has provided an externalization approach 
http://yihui.name/knitr/demo/externalization that allows one to call in 
external R scripts that looks excellent---it means that one can do all the 
coding etc in a normal manner and then just use one simple command to pull in 
the script. The savings in compile time alone look fantastic.

Re: APA6 seems to have stopped working after upgrade to LyX 2.0.6

2013-05-13 Thread Scott Kostyshak
On Mon, May 13, 2013 at 8:58 AM, John Kane jrkrid...@yahoo.ca wrote:
 Amazing. Both the template and a quick and dirty test file with title,
 author and one standard line of text work likea charm.  It never occurred to
 me that APA6 would require them, I guess because I was using an article
 class document without a title, etc for testing something else the same day
 and it was compiling just fine.

So this is a \maketitle problem. I guess \maketitle should not be
included if the necessary layouts aren't used.

 Well at least that means that it's likely that I have a knitr problem not a
 doc class issue.

Another hint that it was a knitr problem was the error you got. To see
what the knitr error is, look at the terminal output (and probably
also View  Messages).

 I'd appreciate that but perhaps don't waste your time at the moment . Now
 that the main APA6 problem is gone away, I can start doing some extra
 checking to see if I am just doing something silly.  My major problem was
 that because the two error messages came up almost simultaneously and
 immediately after the upgrade to 2.0.6 that I jumped to that conclusion that
 it was likely the complete  source of the problem.  I will probably be back
 asking for help in a couple of days but hopefully with narrower problem
 definition.

Sounds like it could be a regression. Great, let us know once you've
narrowed down the problem. Thanks for keeping us updated.

 I, obviously, am just floundering around with knitr/LyX/R but I really like
 it.  In particular, Yuihe has provided an externalization approach
 http://yihui.name/knitr/demo/externalization that allows one to call in
 external R scripts that looks excellent---it means that one can do all the
 coding etc in a normal manner and then just use one simple command to pull
 in the script. The savings in compile time alone look fantastic.

Yihui's site has many treasures!

Best,

Scott


Re: APA6 seems to have stopped working after upgrade to LyX 2.0.6

2013-05-13 Thread John Kane
I got it. Not a regression at all, just my lack of knowledge. I have not used 
LyX or LaTeX enough to have developed a mind-map of how it works.  

Once I realised the table problem  was not really a APA6 issue I went back, 
reread Liviu Andronc's advice from my other  other thread  and managed to get 
it to work.  xtable creates a float and I had it within an float and that seems 
to have been the main problem.  Mind you, by the time I was done the other day, 
I may have introduced and removed a few others.

This has been an excellent start to a Monday morning

Thanks a lot



 From: Scott Kostyshak skost...@princeton.edu
To: John Kane jrkrid...@yahoo.ca 
Cc: Jacob Bishop bishop.ja...@gmail.com; lyx-users@lists.lyx.org 
lyx-users@lists.lyx.org 
Sent: Monday, May 13, 2013 9:21:00 AM
Subject: Re: APA6 seems to have stopped working after upgrade to LyX 2.0.6
 

On Mon, May 13, 2013 at 8:58 AM, John Kane jrkrid...@yahoo.ca wrote:
 Amazing. Both the template and a quick and dirty test file with title,
 author and one standard line of text work likea charm.  It never occurred to
 me that APA6 would require them, I guess because I was using an article
 class document without a title, etc for testing something else the same day
 and it was compiling just fine.

So this is a \maketitle problem. I guess \maketitle should not be
included if the necessary layouts aren't used.

 Well at least that means that it's likely that I have a knitr problem not a
 doc class issue.

Another hint that it was a knitr problem was the error you got. To see
what the knitr error is, look at the terminal output (and probably
also View  Messages).

 I'd appreciate that but perhaps don't waste your time at the moment . Now
 that the main APA6 problem is gone away, I can start doing some extra
 checking to see if I am just doing something silly.  My major problem was
 that because the two error messages came up almost simultaneously and
 immediately after the upgrade to 2.0.6 that I jumped to that conclusion that
 it was likely the complete  source of the problem.  I will probably be back
 asking for help in a couple of days but hopefully with narrower problem
 definition.

Sounds like it could be a regression. Great, let us know once you've
narrowed down the problem. Thanks for keeping us updated.

 I, obviously, am just floundering around with knitr/LyX/R but I really like
 it.  In particular, Yuihe has provided an externalization approach
 http://yihui.name/knitr/demo/externalization that allows one to call in
 external R scripts that looks excellent---it means that one can do all the
 coding etc in a normal manner and then just use one simple command to pull
 in the script. The savings in compile time alone look fantastic.

Yihui's site has many treasures!

Best,

Scott

Re: APA6 seems to have stopped working after upgrade to LyX 2.0.6

2013-05-13 Thread Scott Kostyshak
On Mon, May 13, 2013 at 9:53 AM, John Kane jrkrid...@yahoo.ca wrote:
 I got it. Not a regression at all, just my lack of knowledge. I have not
 used LyX or LaTeX enough to have developed a mind-map of how it works.

 Once I realised the table problem  was not really a APA6 issue I went back,
 reread Liviu Andronc's advice from my other  other thread  and managed to
 get it to work.  xtable creates a float and I had it within an float and
 that seems to have been the main problem.  Mind you, by the time I was done
 the other day, I may have introduced and removed a few others.

Ah, makes sense. Glad you figured it out!

Scott


Re: APA6 seems to have stopped working after upgrade to LyX 2.0.6

2013-05-13 Thread John Kane





 From: Jacob Bishop bishop.ja...@gmail.com
To: John Kane jrkrid...@yahoo.ca 
Cc: lyx-users@lists.lyx.org lyx-users@lists.lyx.org 
Sent: Sunday, May 12, 2013 10:26:29 PM
Subject: Re: APA6 seems to have stopped working after upgrade to LyX 2.0.6
 


Hi John,


I have not upgraded to 2.0.6 yet, but even on 2.0.5, I have never been able to 
get the apa6 class working without specifying more information than what you 
have included here (in the second file, test.of.APA6.lyx). Adding a title and 
author makes this work for me with LyX 2.0.5. As far as I understand, this is 
not unique to apa6, and is one of the main reasons for including a template. 
With a template you should be able to have a working document out of the box 
which you can then modify by adding your own content.


Does the template that comes with LyX 2.0.6 work for you? 

Does it work for you to create a new document if you include a title, author, 
and body text? (it does for me)

Amazing. Both the template and a quick and dirty test file with title, author 
and one standard line of text work likea charm.  It never occurred to me that 
APA6 would require them, I guess because I was using an article class document 
without a title, etc for testing something else the same day and it was 
compiling just fine.  

Well at least that means that it's likely that I have a knitr problem not a doc 
class issue.
Thanks very much.


As for the knitr stuff goes, I have never used R with LyX before, but it is 
something I am planning on looking into soon. So, any errors specific to that 
will be more difficult (for me) to make sense of, but I will try if the 
problems you are experiencing persist.

I'd appreciate that but perhaps don't waste your time at the moment . Now that 
the main APA6 problem is gone away, I can start doing some extra checking to 
see if I am just doing something silly.  My major problem was that because the 
two error messages came up almost simultaneously and immediately after the 
upgrade to 2.0.6 that I jumped to that conclusion that it was likely the 
complete  source of the problem.  I will probably be back  asking for help in a 
couple of days but hopefully with narrower problem definition.



I, obviously, am just floundering around with knitr/LyX/R but I really like it. 
 In particular, Yuihe has provided an externalization approach 
http://yihui.name/knitr/demo/externalization that allows one to call in 
external R scripts that looks excellent---it means that one can do all the 
coding etc in a normal manner and then just use one simple command to pull in 
the script. The savings in compile time alone look fantastic.

Re: APA6 seems to have stopped working after upgrade to LyX 2.0.6

2013-05-13 Thread Scott Kostyshak
On Mon, May 13, 2013 at 8:58 AM, John Kane jrkrid...@yahoo.ca wrote:
 Amazing. Both the template and a quick and dirty test file with title,
 author and one standard line of text work likea charm.  It never occurred to
 me that APA6 would require them, I guess because I was using an article
 class document without a title, etc for testing something else the same day
 and it was compiling just fine.

So this is a \maketitle problem. I guess \maketitle should not be
included if the necessary layouts aren't used.

 Well at least that means that it's likely that I have a knitr problem not a
 doc class issue.

Another hint that it was a knitr problem was the error you got. To see
what the knitr error is, look at the terminal output (and probably
also View  Messages).

 I'd appreciate that but perhaps don't waste your time at the moment . Now
 that the main APA6 problem is gone away, I can start doing some extra
 checking to see if I am just doing something silly.  My major problem was
 that because the two error messages came up almost simultaneously and
 immediately after the upgrade to 2.0.6 that I jumped to that conclusion that
 it was likely the complete  source of the problem.  I will probably be back
 asking for help in a couple of days but hopefully with narrower problem
 definition.

Sounds like it could be a regression. Great, let us know once you've
narrowed down the problem. Thanks for keeping us updated.

 I, obviously, am just floundering around with knitr/LyX/R but I really like
 it.  In particular, Yuihe has provided an externalization approach
 http://yihui.name/knitr/demo/externalization that allows one to call in
 external R scripts that looks excellent---it means that one can do all the
 coding etc in a normal manner and then just use one simple command to pull
 in the script. The savings in compile time alone look fantastic.

Yihui's site has many treasures!

Best,

Scott


Re: APA6 seems to have stopped working after upgrade to LyX 2.0.6

2013-05-13 Thread John Kane
I got it. Not a regression at all, just my lack of knowledge. I have not used 
LyX or LaTeX enough to have developed a mind-map of how it works.  

Once I realised the table problem  was not really a APA6 issue I went back, 
reread Liviu Andronc's advice from my other  other thread  and managed to get 
it to work.  xtable creates a float and I had it within an float and that seems 
to have been the main problem.  Mind you, by the time I was done the other day, 
I may have introduced and removed a few others.

This has been an excellent start to a Monday morning

Thanks a lot



 From: Scott Kostyshak skost...@princeton.edu
To: John Kane jrkrid...@yahoo.ca 
Cc: Jacob Bishop bishop.ja...@gmail.com; lyx-users@lists.lyx.org 
lyx-users@lists.lyx.org 
Sent: Monday, May 13, 2013 9:21:00 AM
Subject: Re: APA6 seems to have stopped working after upgrade to LyX 2.0.6
 

On Mon, May 13, 2013 at 8:58 AM, John Kane jrkrid...@yahoo.ca wrote:
 Amazing. Both the template and a quick and dirty test file with title,
 author and one standard line of text work likea charm.  It never occurred to
 me that APA6 would require them, I guess because I was using an article
 class document without a title, etc for testing something else the same day
 and it was compiling just fine.

So this is a \maketitle problem. I guess \maketitle should not be
included if the necessary layouts aren't used.

 Well at least that means that it's likely that I have a knitr problem not a
 doc class issue.

Another hint that it was a knitr problem was the error you got. To see
what the knitr error is, look at the terminal output (and probably
also View  Messages).

 I'd appreciate that but perhaps don't waste your time at the moment . Now
 that the main APA6 problem is gone away, I can start doing some extra
 checking to see if I am just doing something silly.  My major problem was
 that because the two error messages came up almost simultaneously and
 immediately after the upgrade to 2.0.6 that I jumped to that conclusion that
 it was likely the complete  source of the problem.  I will probably be back
 asking for help in a couple of days but hopefully with narrower problem
 definition.

Sounds like it could be a regression. Great, let us know once you've
narrowed down the problem. Thanks for keeping us updated.

 I, obviously, am just floundering around with knitr/LyX/R but I really like
 it.  In particular, Yuihe has provided an externalization approach
 http://yihui.name/knitr/demo/externalization that allows one to call in
 external R scripts that looks excellent---it means that one can do all the
 coding etc in a normal manner and then just use one simple command to pull
 in the script. The savings in compile time alone look fantastic.

Yihui's site has many treasures!

Best,

Scott

Re: APA6 seems to have stopped working after upgrade to LyX 2.0.6

2013-05-13 Thread Scott Kostyshak
On Mon, May 13, 2013 at 9:53 AM, John Kane jrkrid...@yahoo.ca wrote:
 I got it. Not a regression at all, just my lack of knowledge. I have not
 used LyX or LaTeX enough to have developed a mind-map of how it works.

 Once I realised the table problem  was not really a APA6 issue I went back,
 reread Liviu Andronc's advice from my other  other thread  and managed to
 get it to work.  xtable creates a float and I had it within an float and
 that seems to have been the main problem.  Mind you, by the time I was done
 the other day, I may have introduced and removed a few others.

Ah, makes sense. Glad you figured it out!

Scott


Re: APA6 seems to have stopped working after upgrade to LyX 2.0.6

2013-05-13 Thread John Kane





 From: Jacob Bishop <bishop.ja...@gmail.com>
To: John Kane <jrkrid...@yahoo.ca> 
Cc: "lyx-users@lists.lyx.org" <lyx-users@lists.lyx.org> 
Sent: Sunday, May 12, 2013 10:26:29 PM
Subject: Re: APA6 seems to have stopped working after upgrade to LyX 2.0.6
 


Hi John,


I have not upgraded to 2.0.6 yet, but even on 2.0.5, I have never been able to 
get the apa6 class working without specifying more information than what you 
have included here (in the second file, "test.of.APA6.lyx"). Adding a title and 
author makes this work for me with LyX 2.0.5. As far as I understand, this is 
not unique to apa6, and is one of the main reasons for including a template. 
With a template you should be able to have a working document "out of the box" 
which you can then modify by adding your own content.


Does the template that comes with LyX 2.0.6 work for you? 

Does it work for you to create a new document if you include a title, author, 
and body text? (it does for me)

Amazing. Both the template and a quick and dirty test file with title, author 
and one standard line of text work likea charm.  It never occurred to me that 
APA6 would require them, I guess because I was using an article class document 
without a title, etc for testing something else the same day and it was 
compiling just fine.  

Well at least that means that it's likely that I have a knitr problem not a doc 
class issue.
Thanks very much.


As for the knitr stuff goes, I have never used R with LyX before, but it is 
something I am planning on looking into soon. So, any errors specific to that 
will be more difficult (for me) to make sense of, but I will try if the 
problems you are experiencing persist.

I'd appreciate that but perhaps don't waste your time at the moment . Now that 
the main APA6 problem is gone away, I can start doing some extra checking to 
see if I am just doing something silly.  My major problem was that because the 
two error messages came up almost simultaneously and immediately after the 
upgrade to 2.0.6 that I jumped to that conclusion that it was likely the 
complete  source of the problem.  I will probably be back  asking for help in a 
couple of days but hopefully with narrower problem definition.



I, obviously, am just floundering around with knitr/LyX/R but I really like it. 
 In particular, Yuihe has provided an externalization approach 
http://yihui.name/knitr/demo/externalization that allows one to call in 
external R scripts that looks excellent---it means that one can do all the 
coding etc in a normal manner and then just use one simple command to pull in 
the script. The savings in compile time alone look fantastic.

Re: APA6 seems to have stopped working after upgrade to LyX 2.0.6

2013-05-13 Thread Scott Kostyshak
On Mon, May 13, 2013 at 8:58 AM, John Kane  wrote:
> Amazing. Both the template and a quick and dirty test file with title,
> author and one standard line of text work likea charm.  It never occurred to
> me that APA6 would require them, I guess because I was using an article
> class document without a title, etc for testing something else the same day
> and it was compiling just fine.

So this is a \maketitle problem. I guess \maketitle should not be
included if the necessary layouts aren't used.

> Well at least that means that it's likely that I have a knitr problem not a
> doc class issue.

Another hint that it was a knitr problem was the error you got. To see
what the knitr error is, look at the terminal output (and probably
also View > Messages).

> I'd appreciate that but perhaps don't waste your time at the moment . Now
> that the main APA6 problem is gone away, I can start doing some extra
> checking to see if I am just doing something silly.  My major problem was
> that because the two error messages came up almost simultaneously and
> immediately after the upgrade to 2.0.6 that I jumped to that conclusion that
> it was likely the complete  source of the problem.  I will probably be back
> asking for help in a couple of days but hopefully with narrower problem
> definition.

Sounds like it could be a regression. Great, let us know once you've
narrowed down the problem. Thanks for keeping us updated.

> I, obviously, am just floundering around with knitr/LyX/R but I really like
> it.  In particular, Yuihe has provided an externalization approach
> http://yihui.name/knitr/demo/externalization that allows one to call in
> external R scripts that looks excellent---it means that one can do all the
> coding etc in a normal manner and then just use one simple command to pull
> in the script. The savings in compile time alone look fantastic.

Yihui's site has many treasures!

Best,

Scott


Re: APA6 seems to have stopped working after upgrade to LyX 2.0.6

2013-05-13 Thread John Kane
I got it. Not a regression at all, just my lack of knowledge. I have not used 
LyX or LaTeX enough to have developed a mind-map of how it works.  

Once I realised the table problem  was not really a APA6 issue I went back, 
reread Liviu Andronc's advice from my other  other thread  and managed to get 
it to work.  xtable creates a float and I had it within an float and that seems 
to have been the main problem.  Mind you, by the time I was done the other day, 
I may have introduced and removed a few others.

This has been an excellent start to a Monday morning

Thanks a lot



 From: Scott Kostyshak <skost...@princeton.edu>
To: John Kane <jrkrid...@yahoo.ca> 
Cc: Jacob Bishop <bishop.ja...@gmail.com>; "lyx-users@lists.lyx.org" 
<lyx-users@lists.lyx.org> 
Sent: Monday, May 13, 2013 9:21:00 AM
Subject: Re: APA6 seems to have stopped working after upgrade to LyX 2.0.6
 

On Mon, May 13, 2013 at 8:58 AM, John Kane <jrkrid...@yahoo.ca> wrote:
> Amazing. Both the template and a quick and dirty test file with title,
> author and one standard line of text work likea charm.  It never occurred to
> me that APA6 would require them, I guess because I was using an article
> class document without a title, etc for testing something else the same day
> and it was compiling just fine.

So this is a \maketitle problem. I guess \maketitle should not be
included if the necessary layouts aren't used.

> Well at least that means that it's likely that I have a knitr problem not a
> doc class issue.

Another hint that it was a knitr problem was the error you got. To see
what the knitr error is, look at the terminal output (and probably
also View > Messages).

> I'd appreciate that but perhaps don't waste your time at the moment . Now
> that the main APA6 problem is gone away, I can start doing some extra
> checking to see if I am just doing something silly.  My major problem was
> that because the two error messages came up almost simultaneously and
> immediately after the upgrade to 2.0.6 that I jumped to that conclusion that
> it was likely the complete  source of the problem.  I will probably be back
> asking for help in a couple of days but hopefully with narrower problem
> definition.

Sounds like it could be a regression. Great, let us know once you've
narrowed down the problem. Thanks for keeping us updated.

> I, obviously, am just floundering around with knitr/LyX/R but I really like
> it.  In particular, Yuihe has provided an externalization approach
> http://yihui.name/knitr/demo/externalization that allows one to call in
> external R scripts that looks excellent---it means that one can do all the
> coding etc in a normal manner and then just use one simple command to pull
> in the script. The savings in compile time alone look fantastic.

Yihui's site has many treasures!

Best,

Scott

Re: APA6 seems to have stopped working after upgrade to LyX 2.0.6

2013-05-13 Thread Scott Kostyshak
On Mon, May 13, 2013 at 9:53 AM, John Kane  wrote:
> I got it. Not a regression at all, just my lack of knowledge. I have not
> used LyX or LaTeX enough to have developed a mind-map of how it works.
>
> Once I realised the table problem  was not really a APA6 issue I went back,
> reread Liviu Andronc's advice from my other  other thread  and managed to
> get it to work.  xtable creates a float and I had it within an float and
> that seems to have been the main problem.  Mind you, by the time I was done
> the other day, I may have introduced and removed a few others.

Ah, makes sense. Glad you figured it out!

Scott


Re: APA6 seems to have stopped working after upgrade to LyX 2.0.6

2013-05-12 Thread John Kane
My apologies, I was tired and frustrated and it was not until I was about to go 
to bed last night that I realised what I had done.  I had included the file as 
an example of a previously working file. 

I hope the other one was minimal enough.  I thought it interesting that I was 
getting two different errors with the two files.  It really was that one 
(test.of.APA6.lyx) that made me think that there was possibly a real problem 
with APA6 as opposed to me just doing something stupid

Just in case, here is the offending file with what, on my machine, is working R 
code.





 From: Scott Kostyshak skost...@princeton.edu
To: John Kane jrkrid...@yahoo.ca 
Cc: Users LyX lyx-users@lists.lyx.org 
Sent: Sunday, May 12, 2013 12:00:49 AM
Subject: Re: APA6 seems to have stopped working after upgrade to LyX 2.0.6
 

On Sat, May 11, 2013 at 12:28 PM, John Kane jrkrid...@yahoo.ca wrote:
 Has anyone had a problem using APA6 with 2.0.6? I upgraded to 2.0.6
 yesterday and now do not seem to get a file of that document class to work.
 With the attached file, apa6.1.knitr.lyx which was functioning before the
 upgrade I am getting:

Hi John,

When you send example files, can you send minimal example files? Your
example contains /home/john/rdata/gunhomicide.csv. This will of
course give an error on my computer. Also, try to make the files as
small as possible while still giving the error. See here for more
tips:
http://wiki.lyx.org/FAQ/MinimalExample

Best,

Scott

apa6.1.knitr.lyx
Description: application/lyx


test.of.APA6.lyx
Description: application/lyx


Re: APA6 seems to have stopped working after upgrade to LyX 2.0.6

2013-05-12 Thread Jacob Bishop
Hi John,

I have not upgraded to 2.0.6 yet, but even on 2.0.5, I have never been able
to get the apa6 class working without specifying more information than what
you have included here (in the second file, test.of.APA6.lyx). Adding a
title and author makes this work for me with LyX 2.0.5. As far as I
understand, this is not unique to apa6, and is one of the main reasons for
including a template. With a template you should be able to have a working
document out of the box which you can then modify by adding your own
content.

Does the template that comes with LyX 2.0.6 work for you?
Does it work for you to create a new document if you include a title,
author, and body text? (it does for me)

As for the knitr stuff goes, I have never used R with LyX before, but it is
something I am planning on looking into soon. So, any errors specific to
that will be more difficult (for me) to make sense of, but I will try if
the problems you are experiencing persist.

I hope this helps.

Jacob


Re: APA6 seems to have stopped working after upgrade to LyX 2.0.6

2013-05-12 Thread John Kane
My apologies, I was tired and frustrated and it was not until I was about to go 
to bed last night that I realised what I had done.  I had included the file as 
an example of a previously working file. 

I hope the other one was minimal enough.  I thought it interesting that I was 
getting two different errors with the two files.  It really was that one 
(test.of.APA6.lyx) that made me think that there was possibly a real problem 
with APA6 as opposed to me just doing something stupid

Just in case, here is the offending file with what, on my machine, is working R 
code.





 From: Scott Kostyshak skost...@princeton.edu
To: John Kane jrkrid...@yahoo.ca 
Cc: Users LyX lyx-users@lists.lyx.org 
Sent: Sunday, May 12, 2013 12:00:49 AM
Subject: Re: APA6 seems to have stopped working after upgrade to LyX 2.0.6
 

On Sat, May 11, 2013 at 12:28 PM, John Kane jrkrid...@yahoo.ca wrote:
 Has anyone had a problem using APA6 with 2.0.6? I upgraded to 2.0.6
 yesterday and now do not seem to get a file of that document class to work.
 With the attached file, apa6.1.knitr.lyx which was functioning before the
 upgrade I am getting:

Hi John,

When you send example files, can you send minimal example files? Your
example contains /home/john/rdata/gunhomicide.csv. This will of
course give an error on my computer. Also, try to make the files as
small as possible while still giving the error. See here for more
tips:
http://wiki.lyx.org/FAQ/MinimalExample

Best,

Scott

apa6.1.knitr.lyx
Description: application/lyx


test.of.APA6.lyx
Description: application/lyx


Re: APA6 seems to have stopped working after upgrade to LyX 2.0.6

2013-05-12 Thread Jacob Bishop
Hi John,

I have not upgraded to 2.0.6 yet, but even on 2.0.5, I have never been able
to get the apa6 class working without specifying more information than what
you have included here (in the second file, test.of.APA6.lyx). Adding a
title and author makes this work for me with LyX 2.0.5. As far as I
understand, this is not unique to apa6, and is one of the main reasons for
including a template. With a template you should be able to have a working
document out of the box which you can then modify by adding your own
content.

Does the template that comes with LyX 2.0.6 work for you?
Does it work for you to create a new document if you include a title,
author, and body text? (it does for me)

As for the knitr stuff goes, I have never used R with LyX before, but it is
something I am planning on looking into soon. So, any errors specific to
that will be more difficult (for me) to make sense of, but I will try if
the problems you are experiencing persist.

I hope this helps.

Jacob


Re: APA6 seems to have stopped working after upgrade to LyX 2.0.6

2013-05-12 Thread John Kane
My apologies, I was tired and frustrated and it was not until I was about to go 
to bed last night that I realised what I had done.  I had included the file as 
an example of a previously working file. 

I hope the other one was minimal enough.  I thought it interesting that I was 
getting two different errors with the two files.  It really was that one 
(test.of.APA6.lyx) that made me think that there was possibly a real problem 
with APA6 as opposed to me just doing something stupid

Just in case, here is the offending file with what, on my machine, is working R 
code.





 From: Scott Kostyshak <skost...@princeton.edu>
To: John Kane <jrkrid...@yahoo.ca> 
Cc: Users LyX <lyx-users@lists.lyx.org> 
Sent: Sunday, May 12, 2013 12:00:49 AM
Subject: Re: APA6 seems to have stopped working after upgrade to LyX 2.0.6
 

On Sat, May 11, 2013 at 12:28 PM, John Kane <jrkrid...@yahoo.ca> wrote:
> Has anyone had a problem using APA6 with 2.0.6? I upgraded to 2.0.6
> yesterday and now do not seem to get a file of that document class to work.
> With the attached file, apa6.1.knitr.lyx which was functioning before the
> upgrade I am getting:

Hi John,

When you send example files, can you send minimal example files? Your
example contains "/home/john/rdata/gunhomicide.csv". This will of
course give an error on my computer. Also, try to make the files as
small as possible while still giving the error. See here for more
tips:
http://wiki.lyx.org/FAQ/MinimalExample

Best,

Scott

apa6.1.knitr.lyx
Description: application/lyx


test.of.APA6.lyx
Description: application/lyx


Re: APA6 seems to have stopped working after upgrade to LyX 2.0.6

2013-05-12 Thread Jacob Bishop
Hi John,

I have not upgraded to 2.0.6 yet, but even on 2.0.5, I have never been able
to get the apa6 class working without specifying more information than what
you have included here (in the second file, "test.of.APA6.lyx"). Adding a
title and author makes this work for me with LyX 2.0.5. As far as I
understand, this is not unique to apa6, and is one of the main reasons for
including a template. With a template you should be able to have a working
document "out of the box" which you can then modify by adding your own
content.

Does the template that comes with LyX 2.0.6 work for you?
Does it work for you to create a new document if you include a title,
author, and body text? (it does for me)

As for the knitr stuff goes, I have never used R with LyX before, but it is
something I am planning on looking into soon. So, any errors specific to
that will be more difficult (for me) to make sense of, but I will try if
the problems you are experiencing persist.

I hope this helps.

Jacob


Re: APA6 seems to have stopped working after upgrade to LyX 2.0.6

2013-05-11 Thread Scott Kostyshak
On Sat, May 11, 2013 at 12:28 PM, John Kane jrkrid...@yahoo.ca wrote:
 Has anyone had a problem using APA6 with 2.0.6? I upgraded to 2.0.6
 yesterday and now do not seem to get a file of that document class to work.
 With the attached file, apa6.1.knitr.lyx which was functioning before the
 upgrade I am getting:

Hi John,

When you send example files, can you send minimal example files? Your
example contains /home/john/rdata/gunhomicide.csv. This will of
course give an error on my computer. Also, try to make the files as
small as possible while still giving the error. See here for more
tips:
http://wiki.lyx.org/FAQ/MinimalExample

Best,

Scott


Re: APA6 seems to have stopped working after upgrade to LyX 2.0.6

2013-05-11 Thread Scott Kostyshak
On Sat, May 11, 2013 at 12:28 PM, John Kane jrkrid...@yahoo.ca wrote:
 Has anyone had a problem using APA6 with 2.0.6? I upgraded to 2.0.6
 yesterday and now do not seem to get a file of that document class to work.
 With the attached file, apa6.1.knitr.lyx which was functioning before the
 upgrade I am getting:

Hi John,

When you send example files, can you send minimal example files? Your
example contains /home/john/rdata/gunhomicide.csv. This will of
course give an error on my computer. Also, try to make the files as
small as possible while still giving the error. See here for more
tips:
http://wiki.lyx.org/FAQ/MinimalExample

Best,

Scott


Re: APA6 seems to have stopped working after upgrade to LyX 2.0.6

2013-05-11 Thread Scott Kostyshak
On Sat, May 11, 2013 at 12:28 PM, John Kane  wrote:
> Has anyone had a problem using APA6 with 2.0.6? I upgraded to 2.0.6
> yesterday and now do not seem to get a file of that document class to work.
> With the attached file, apa6.1.knitr.lyx which was functioning before the
> upgrade I am getting:

Hi John,

When you send example files, can you send minimal example files? Your
example contains "/home/john/rdata/gunhomicide.csv". This will of
course give an error on my computer. Also, try to make the files as
small as possible while still giving the error. See here for more
tips:
http://wiki.lyx.org/FAQ/MinimalExample

Best,

Scott