[R] problem using R

John Kane jrkrideau at yahoo.ca
Tue Oct 14 15:17:35 CEST 2008


I would point out that the OP does not say that R is a part of the course, only that they are using it to do some work.  R may be a tool of choice not a requirement and it is quite possible that the instructor does not know anything about R.   


--- On Tue, 10/14/08, Daniel Malter <daniel at umd.edu> wrote:

> From: Daniel Malter <daniel at umd.edu>
> Subject: Re: [R] problem using R
> To: "'shradha mukherjee'" <shrads162 at yahoo.com>, r-help at r-project.org
> Received: Tuesday, October 14, 2008, 9:10 AM
> Hi, get any of the manuals that are an introduction to R,
> e.g. from CRAN,
> which describe the steps of how to start in R. You can
> google-search them
> too. You will find what it takes to do that in there.
> 
> Hints: 
> 
> 1. R is object oriented. That is, your read.table command
> creates an object
> Wdbc. It does not show you the content of this object
> unless you call the
> object.
> 2. You have to tell hist() where it has to look for
> "area". In other words,
> hist() does not know that "area" is to be found
> in "Wdbc". There are
> multiple ways to do this. Again, consult an introductory
> manual.
> 
> Other than that I agree with Duncan, your teacher is being
> paid for helping
> you with these very basic problems.
> 
> Cheers,
> Daniel
> 
> -------------------------
> cuncta stricte discussurus
> -------------------------
> 
> -----Ursprüngliche Nachricht-----
> Von: r-help-bounces at r-project.org
> [mailto:r-help-bounces at r-project.org] Im
> Auftrag von shradha mukherjee
> Gesendet: Tuesday, October 14, 2008 4:37 AM
> An: r-help at r-project.org
> Betreff: [R] problem using R
> 
> Hi ,
> I am having serious trouble doing this homework. I am using
> R for doing the
> homework. I am having the following specific problem:
> a) when I input the data using the command > Wbdc
> <-read.table("wdbc.txt") 
> I do not see the data.
> b) When I want to run histogram using command >
> hist(area) I get an error
> message, Error in hist(area) : object "area" not
> found.
>  
> I am attaching the data file I imported to R and a
> screenshot of the
> workspace.
> Please help. 
> Thanking you
> Shradha Mukherjee
> 
> 
> 
> 
>       
> 
> ______________________________________________
> R-help at r-project.org mailing list
> 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.


      __________________________________________________________________
Be smarter than spam. See how smart SpamGuard 
tions in Mail and switch to New Mail today or register for free at http://mail.yahoo.ca



More information about the R-help mailing list