Re: [R] problem with plots with short example.

2013-03-29 Thread Nicole Ford
yes I was also having something like this happen to me just before everything blew up. i never set a working directory, but use file.choose() or call the path directly. but the last few hours before it failed, it kept running older datasets, when i clearly called the new data set, for example,

Re: [R] problem with plots with short example.

2013-03-28 Thread Duncan Mackay
Hi Nicole My code works using source file if I put library(runjags) x = testjags(findjags("windows",look_in = "c:/Program Files/JAGS")) source("G:/Sweave/Bayes.R") works ok Further developments with Sweave. Putting this in the Sweave file library(runjags) x = testjags(findjags("window

Re: [R] problem with plots with short example.

2013-03-28 Thread Nicole Ford
LOL dennis, thanks for the laugh at the end. I'm a PhD student... I had never used it before until this last semester when i started taking Bayes at my new university (transfer because of husband's job =\). My old dept offered bayes, but not the new one, so i am taking it in the psychology d

Re: [R] problem with plots with short example.

2013-03-28 Thread Nicole Ford
I was up till 4 am with this sucker trying to figure it out- I thought i lost my mind/ screwed it up somehow. I guess it's nice to know it really wasn't me. Though, I AM sad R is messing up- first time in over 3 years, so I guess it isn't so bad. But timing couldn't have been worse, as I ha

Re: [R] problem with plots with short example.

2013-03-28 Thread Duncan Mackay
Hi Nicole I just upgraded to 2.15.3 today I was just having similar problems with run.jags and it stopping dead in its tracks with an error message pointing to somewhere else See ?run.jags and the second paragraph of it. I then got it to run using a run.jags script using Rterm and saved the

Re: [R] problem with plots with short example.

2013-03-28 Thread Nicole Ford
(DSHS/RDA) wrote: >> -Original Message- >> From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- >> project.org] On Behalf Of Nicole Ford >> Sent: Thursday, March 28, 2013 4:55 PM >> To: r-help help >> Subject: [R] problem with plots with short

Re: [R] problem with plots with short example.

2013-03-28 Thread Nordlund, Dan (DSHS/RDA)
> -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of Nicole Ford > Sent: Thursday, March 28, 2013 4:55 PM > To: r-help help > Subject: [R] problem with plots with short example. > > i am having pro

Re: [R] problem with plots with short example.

2013-03-28 Thread Nicole Ford
To be clear everything "runs" with no error message... the only hint of a problem is at the end of the code: the plot will not fill out/ it is empty. if anyone has any idea why something like this might happen, i would greatly appreciate it... so i can handle it quickly. thanks in advance. On

[R] problem with plots with short example.

2013-03-28 Thread Nicole Ford
i am having problem running my own data. yesterday it was working just fine. today it is not. this is the code i was using as an example to follow. this code ALSO worked just fine yesterday, and is no longer working at all. i suspect it is a problem with either my computer or the software,