Sir the station name "S.Sharif" exists in the data but still the error is
ocurring of being not found.
Please help in this regard.


On 7/22/07, Gavin Simpson <gavin.simpson@ucl.ac.uk> wrote:
>
> On Sun, 2007-07-22 at 03:25 -0700, amna khan wrote:
> > Hi Sir
> > I have made a data set having 23 stations of rainfall.
> > when I use the attach function to approach indevidual stations then
> > following error occurr.
> >
> > *>attach(data)*
> > *>S.Sharif    #S.Sharif is the station  name which has 50 data values*
> > *Error: object "S.Sharif" not found*
> > Now how to solve this problem.
>
> Then you don't have a column named exactly "S.Sharif" in your object
> "data".
>
> What does str(data) and names(data) tell you about the columns in your
> data set? If looking at these doesn't help you, post the output from
> str(data) and names(data) and someone might be able to help.
>
> You should always check that R has imported the data in the way you
> expect; just because you think there is something in there called
> S.Sharif doesn't mean R sees it that way.
>
> You also seem to have included the R-Help email address twice in the To:
> header of your email - once is sufficient.
>
> G
>
> > Thank You
> > Regards
> >
> --
> %~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
> Gavin Simpson                 [t] +44 (0)20 7679 0522
> ECRC, UCL Geography,          [f] +44 (0)20 7679 0565
> Pearson Building,             [e] gavin.simpsonATNOSPAMucl.ac.uk
> Gower Street, London          [w] http://www.ucl.ac.uk/~ucfagls/
> UK. WC1E 6BT.                 [w] http://www.freshwaters.org.uk
> %~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
>
>
>


-- 
AMINA SHAHZADI
Department of Statistics
GC University Lahore, Pakistan.
Email:
amnakhan493@gmail.com
amna_989@hotmail.com
amna_989@yahoo.com

	[[alternative HTML version deleted]]

