[R] Problem in generating any model with my dataset in R

Bhawana Sahu bhawanasahu742 at gmail.com
Mon Oct 19 14:04:38 CEST 2015


I got the solution,

Problem was due to replacement of NA

Thank you so much

On Mon, Oct 19, 2015 at 5:13 PM, Fox, John <jfox at mcmaster.ca> wrote:

> Dear Bhawana Sahu,
>
> You don't show any of the commands that you used to produce this error, so
> one can only guess at its source, but the error message you quote seems
> reasonably clear -- apparently, you failed to specify the data argument to
> the function(s) you called.
>
> For example, with a data frame named D containing a variable y among
> others, lm(y ~ .) will fail but lm(y ~ ., data=D) will work.
>
> If you *did* specify the data argument, then you'll have to provide more
> information about what you did, ideally including a small reproducible
> example.
>
> I hope this helps,
>  John
>
> -----------------------------
> John Fox, Professor
> McMaster University
> Hamilton, Ontario
> Canada L8S 4M4
> Web: socserv.mcmaster.ca/jfox
>
>
>
> > -----Original Message-----
> > From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Bhawana
> > Sahu
> > Sent: October 19, 2015 3:04 AM
> > To: r-help at r-project.org
> > Subject: [R] Problem in generating any model with my dataset in R
> >
> > Dear all,
> >
> > I am using kernlab function for analysis of dataset containing 8000 rows
> and
> > 171 column, but getting an error saying cannot allocate the memory, It is
> > running properly with the dataset having 3000 rows and 251 column,
> >
> > Also when I tried this with dataset having 7000 rows and 171 column
> getting
> > error saying that "Error in terms.formula(formula, data = data) : '.' in
> formula
> > and no 'data' argument"
> >
> > What can be done with this dataset, how can I use this for analysis. Is
> there
> > any limitation ? please suggest me some solution.
> >
> > Thanks for your help,
> >
> > regards
> > Bhawana Sahu
> >
> >       [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide http://www.R-project.org/posting-
> > guide.html
> > and provide commented, minimal, self-contained, reproducible code.
>

	[[alternative HTML version deleted]]



More information about the R-help mailing list