[R] Error in (function (cl, name, valueClass) :

2020-01-14 Thread yueli
Hello�� I have error in running the program: Any hint or help will be appreciated! Thanks in advance! Yue Error in (function (cl, name, valueClass) : assignment of an object of class ��numeric�� is not valid for @��Dim�� in an object of class ��dgTMatrix��; is(value, "integer") is not

Re: [R] Error using function seas()

2016-06-26 Thread John C Frain
Check the manuals for the x13 program. There used to be a maximum length of series that earlier versions of the program could manage. Your series is almost certainly to long for x13. There is no way to change that in R. This is identical to the question that you previously asked and you still

Re: [R] Error using function seas()

2016-06-25 Thread Rolf Turner
This is identical to the question that you previously asked and you still have not addressed the problem of making your example *reproducible*. cheers, Rolf Turner On 26/06/16 01:52, T.Riedle wrote: Dear all, I am trying to run the seas() function. If I run the seas() function as shown

[R] Error using function seas()

2016-06-25 Thread T.Riedle
Dear all, I am trying to run the seas() function. If I run the seas() function as shown below I get following errors. What is wrong with my code? > data<-Shiller_data[,2] > ts<-ts(data,start=c(1871, 01), end=c(2015, 12), frequency=12) > ts Jan Feb Mar Apr May

[R] Error: Gradient function might be wrong - check it! OPTMX

2015-08-13 Thread Olu Ola via R-help
Hello, I am trying to estimate a non-linear GMM in R using Optimx. However, when I do the start test to compare my analytical gradient with the numerical gradient, I get the following error message Error: Gradient function might be wrong - check it! Below are the print out of my analytical and

Re: [R] Error: Gradient function might be wrong - check it! OPTMX

2015-08-13 Thread ProfJCNash
There are tolerances in the checks, and sometimes scaling of the problem leads to false positives on the checks. Try control = list(starttest=FALSE, etc.) to suppress the test. JN On 15-08-13 01:20 PM, Olu Ola via R-help wrote: Hello, I am trying to estimate a non-linear GMM in R using

[R] Error: Gradient function might be wrong - check it! for system of equations using Optimx

2015-05-14 Thread Olufemi Bolarinwa
Hello,I am estimating a system of 3 equations using a nonlinear GMM.The first and second equations consists of a linear part and a nonlinear part. The nonlinear parts is specified as a logit and the logit as a whole has a coefficient attached to it. For the first two equations, it is specified

[R] Error with function

2013-04-23 Thread Katherine Gobin
Dear R forum, I have a data.frame as given below: df = data.frame(tran = c(tran1, tran2, tran3, tran4), tenor = c(2w, 1m, 7m, 3m))  Also, I define libor_tenor_labels = as.character(c(o_n, 1w, 2w, 1m, 2m, 3m, 4m, 5m, 6m, 7m, 8m, 9m, 10m, 11m, 12m)) # df    tran

[R] Error using function MVN in package MCLUST: Fortran symbol name not in DLL for package

2011-12-09 Thread Natalie Franklin
Hi All, I need to fit a mutlivariate normal model to a dataset in order to obtain the mean and covariance parameters. I see that the MVN function in the MCLUST package can do this, however when I try to run even the simplest example provided in the documentation, as below, I get the following

Re: [R] Error using function MVN in package MCLUST: Fortran symbol name not in DLL for package

2011-12-09 Thread Sarah Goslee
I suspect at a minimum we need the basic information requested in the posting guide: your OS, version of R version of the package in question. sessionInfo() is a useful command. You shouldn't need to load anything beyond the package itself. Sarah On Fri, Dec 9, 2011 at 4:01 AM, Natalie

Re: [R] Error using function MVN in package MCLUST: Fortran symbol name not in DLL for package

2011-12-09 Thread Prof Brian Ripley
On Fri, 9 Dec 2011, Natalie Franklin wrote: Hi All, I need to fit a mutlivariate normal model to a dataset in order to obtain the mean and covariance parameters. I see that the MVN function in the MCLUST package can do this, however when I try to run even the simplest example provided in

[R] Error: Gradient function might be wrong ----- in OPTIMX

2011-08-29 Thread Kathie
Dear R users When I use OPTIMX with BFGS, I've got the following error message. - optimx(par=theta0, fn=obj.fy, gr=gr.fy, method=BFGS) Error: Gradient function might be wrong - check it!

Re: [R] ERROR: gamm function (mgcv package). attempt to set an attribute on NULL

2011-03-11 Thread Simon Wood
Thanks. This is a bug, the source code made an implicit assumption that there would always be at least one smooth, when creating the gam object after fitting. Fixed for the next release (1.7-5). For now, you could use glmmPQL from the MASS library to get an equivalent fit when there are no

[R] ERROR: gamm function (mgcv package). attempt to set an attribute on NULL

2011-03-10 Thread wang cheng
Hello:I run a gamm with following call :mode-gamm(A~B,random=list(ID=~1),family=gaussian,na.action=na.omit,data=rs)an error happened:ERROR names(object$sp) - names(G$sp) : attempt to set an attribute on NULLwith mgcv version 1.7-3What so? How can I correct the Error? Thanks very much for any

Re: [R] ERROR: gamm function (mgcv package). attempt to set an attribute on NULL

2011-03-10 Thread Ben Bolker
wang cheng cheng_wang29 at yahoo.com.cn writes: Hello:I run a gamm with following call :mode-gamm(A~B,random=list(ID=~1),family=gaussian,na.action=na.omit,data=rs) an error happened:ERROR names(object$sp) - names(G$sp) : attempt to set an attribute on NULL with mgcv version 1.7-3

[R] error in function AMER

2009-09-30 Thread Marilia Gmail
Dear all, I am trying to reproduce the example in the vignette Using lme4 to fit Generalized Additive Mixed Models with my dataset. But... exemplo - read.table(exemplo.dat,header=T) mod - amer(pasvig ~ -1 + harvf + tp(dias,by=harvf) + (1 | pac), data=exemplo) Erro em if (from == to)

Re: [R] error in function: nls (urgent)

2008-11-20 Thread John C Nash
your results. John Nash From: Douglas Bates [EMAIL PROTECTED] Subject: Re: [R] error in function: nls (urgent) To: tedzzx [EMAIL PROTECTED] Cc: r-help@r-project.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1 On Tue, Nov 18, 2008 at 6:19 AM, tedzzx

Re: [R] error in function: nls (urgent)

2008-11-19 Thread Douglas Bates
On Tue, Nov 18, 2008 at 6:19 AM, tedzzx [EMAIL PROTECTED] wrote: Hi,all: I am running a nonlinear regression and there is a problem. Yes. The problem is that there is a singular gradient matrix at the initial parameter estimates. You will need to modify your function or your initial

[R] error in function: nls (urgent)

2008-11-18 Thread tedzzx
Hi,all: I am running a nonlinear regression and there is a problem. There is a data frame: data p s x t 1 875.0 12392.5 11600 0.06967213 2 615.0 12332.5 12000 0.06967213 3 595.0 12332.5 12000 0.06967213 4 592.5 12337.0 12000 0.06967213 5 650.0 12430.0 12000 0.06967213

Re: [R] Error in function (classes, fdef, mtable): unable to find an inherited method for function indexProbes, for signature exprSet, character

2008-03-23 Thread Suprabhath
Thankyou Martin Morgan, i will post this question in Bioconductor mailing list [EMAIL PROTECTED] Suprabhath wrote: Hello Everyone, I am writing programs in R from 7 months and I am able to solve most of the errors/issues except for this current post. My Task is to read a Microsoft

[R] Error in function (classes, fdef, mtable): unable to find an inherited method for function indexProbes, for signature exprSet, character

2008-03-20 Thread Suprabhath
Hello Everyone, I am writing programs in R from 7 months and I am able to solve most of the errors/issues except for this current post. My Task is to read a Microsoft Excel file(textE_to_affy.csv) which contains the Microarray Expression Values collected from the Illumina Microarray

Re: [R] Error in function (classes, fdef, mtable): unable to find an inherited method for function indexProbes, for signature exprSet, character

2008-03-20 Thread Martin Morgan
This is a Bioconductor package, ask on the Bioc mailing list http://bioconductor.org More comments below... Suprabhath wrote: Hello Everyone, I am writing programs in R from 7 months and I am able to solve most of the errors/issues except for this current post. My Task is to read a