Skip to content
Prev 301447 / 398503 Next

Working with Numbers generated from Regression Output

Hi Jeff,

Sorry for the previous email.

 I tried using write function, and used the following syntax

write(result,file="C:\\Users\\Krunal\\Desktop\\Book1.csv")

but it is giving the following error

Error in cat(list(...), file, sep, fill, labels, append) :
  argument 1 (type 'list') cannot be handled by 'cat'

Can you tell me where I am going wrong




Thanks & Regards,

Krunal Nanavati
9769-919198

-----Original Message-----
From: Jeff Newmiller [mailto:jdnewmil at dcn.davis.CA.us]
Sent: 27 July 2012 12:11
To: Krunal Nanavati; Jean V Adams
Cc: r-help at r-project.org
Subject: Re: [R] Working with Numbers generated from Regression Output

Stop posting HTML. What you see is NOT what we see.

As regards to your problems... you need to learn how to get data into and
out of R, so please read the R Input/Output document supplied with R. The
most foolproof way is to write the data to a CSV file and read it from there
into a spreadsheet. Depending on your operating system you may be able to
write into a clipboard for more convenience.

As to your goal of making predictions, with only a few more steps you can
make those predictions using R. See the examples in the help for predict (
type "?predict.lm" without the quotes).
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
---------------------------------------------------------------------------
Sent from my phone. Please excuse my brevity.
Krunal Nanavati <krunal.nanavati at cogitaas.com> wrote: