thanks,
I'am not veru used with R!!
regards
2010/8/21 Henrique Dallazuanna
> Adel,
>
> read.table return a data.frame, Gavin showed, you need pass which column
> will be plotted to hist.
> scan return a vector.
>
>
> On Sat, Aug 21, 2010 at 10:59 AM, Adel ESSAFI wrote:
>
>> It works fine.
>>
>
Try this:
a <- scan('dureetasks.txt')
hist(a)
On Sat, Aug 21, 2010 at 10:32 AM, Adel ESSAFI wrote:
> Hi
> In fact, I searching for a simpler solution. I remember that I have done
> this without these functions (but I forgot)
> simply, is there any function that "force" R to take variable a as
Hi
In fact, I searching for a simpler solution. I remember that I have done
this without these functions (but I forgot)
simply, is there any function that "force" R to take variable a as table ?
Regards
Adel
> a=read.table("dureetasks.txt")
> summary(a)
V1
Min. : 1
1st Qu.:
On Sat, 2010-08-21 at 11:37 +0200, Adel ESSAFI wrote:
> Hi list
>
> I loaded the content of a file dureetasks.txt to variable a. This file
> contains an interger per line.
> when I print a vector, it displays correctly.
> however, when I try to print the histogram, I get this error message
>
>
Hi list
I loaded the content of a file dureetasks.txt to variable a. This file
contains an interger per line.
when I print a vector, it displays correctly.
however, when I try to print the histogram, I get this error message
> a=read.table("dureetasks.txt")
> hist(a)
Error in hist.default(a) :
5 matches
Mail list logo