[R-sig-ME] Help with SIAR MODEL, PLEASE!!!
S Ellison
S.Ellison at LGCGroup.com
Mon Aug 5 16:48:22 CEST 2013
> I have installed the R program twice, but I can't run the
> model as before, I really appreciate all the help you can
> give me on this problem
The error message suggests you're feeding something a list when it wants double precision numbers.
You might check the data types you're feeding to the function (use class() or str() ) and then try to find out why they are not as expected. It is faintly possible that in changing OS you have also changed something like the internationalisation options or the encoding of text files. That might lead to data being read in a different format to the previous OS installation.
But I'm guessing,
S Ellison
> -----Original Message-----
> From: r-sig-mixed-models-bounces at r-project.org
> [mailto:r-sig-mixed-models-bounces at r-project.org] On Behalf
> Of Monica Yanira ROdriguez Perez
> Sent: 03 August 2013 04:15
> To: r-sig-mixed-models at r-project.org
> Subject: [R-sig-ME] Help with SIAR MODEL, PLEASE!!!
>
> Hello everybody!
>
> I am writing to consult you a problem that I have to run the
> SIAR model, previously I had Windows 7 operating system and
> the model ran without any problems, but recently changed my
> computer and it's operating system is Windows 8, now I have
> run the model using my original files that previously ran
> without problem but whenever the Rstudio sends me this error message:
> > setwd("D:/R/vaquita_2")
> > sources <- read.table("sourcesdemo.txt",header=TRUE)
> > consumers <- read.table("geese1demo.txt",header=TRUE)
> > corrections <- read.table("correctionsdemo_RC.txt",header=TRUE)
> > concs <- 0 # use this line if you dont want to run with
> concentration
> > dependence
> > model1 <- siarmcmcdirichletv4(consumers, sources,
> corrections, concs)
> Error in siarmcmcdirichletv4(consumers, sources, corrections, concs) :
> (list) object cannot be coerced to type 'double'
> I have installed the R program twice, but I can't run the
> model as before, I really appreciate all the help you can
> give me on this problem
>
> Best regards!!
>
> Mónica
> [[alternative HTML version deleted]]
>
>
*******************************************************************
This email and any attachments are confidential. Any use...{{dropped:8}}
More information about the R-sig-mixed-models
mailing list