[R] Plot txt

David Winsemius dwinsemius at comcast.net
Thu May 24 06:38:55 CEST 2012


On May 23, 2012, at 6:11 PM, Trying To learn again wrote:

> Hi all
>
> Sorry in advance
> I have this txt with data and I want to plot the data with a line  
> between
> dots.
>
> The thing is that if I run this
>
> g<-read.table("ip.txt")
> plot(g,type="l")

Try:

plot(g$V1,type="l")


>
>
> I have prove to attach(g) but doesn´ t work.
>
> I know is a begginer question and sure is of the type of data or the  
> file
> but I can´t find where is the solution. It appears:
>
> Error in plot.default(xlim, ylim, type = "n", ann = FALSE, axes =  
> FALSE,  :
> "type"  in associated with multiple argumetns specified
>
> Can anyone give me a clue...I will send a  Parma ham ¡¡¡Many thaks¡¡¡


-- 
David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list