This is probably due to a numerical value that is coded as a factor. Have a
look at the example below.
> In ggplot2 one line per group is plotted. The default grouping is the
> combination of all factors. In the first example only B, in the second and
> third example both A and B. This leaves just
16:09
> Aan: Sarah Goslee
> CC: r-help@r-project.org
> Onderwerp: Re: [R] Points but no lines in qplot.
>
> Two things I'd try:
>
> > run your code in a clean R session, started at the command line with R
> > --vanilla and just loading that exact dataset and running
On Thu, Jun 30, 2011 at 7:31 AM, Ashim Kapoor wrote:
> Dear R helpers,
>
> I have molten data which is : -
>
>> t3
> Year variable value
> 1 2005 ICICI.Bank 27488370
> 2 2006 ICICI.Bank 43166850
> 3 2007 ICICI.Bank 59515300
> 4 2008 ICICI.Bank 6308576
Hi,
>
> I upgraded to the new R and tried R --vanilla but I still see no lines. In
> the legend,as earlier,I see a line through a point but in the graph I see
> only points. No lines. Any ideas now ?
Not a clue.
I even tried version of the data with t3 as character, and as a
factor, since that's
Two things I'd try:
> run your code in a clean R session, started at the command line with R
> --vanilla and just loading that exact dataset and running that line of
> code, in case there are issues with other things in your session.
>
> Upgrade to the current version of R.
>
>
Dear Sarah,
I upgr
On Thu, Jun 30, 2011 at 8:53 AM, Ashim Kapoor wrote:
> Yes Sarah,I am using qplot from ggplot2.
>
> My sessionInfo is as follows : -
>
>> sessionInfo()
> R version 2.12.1 (2010-12-16)
> Platform: x86_64-pc-linux-gnu (64-bit)
Two things I'd try:
run your code in a clean R session, started at the c
Yes Sarah,I am using qplot from ggplot2.
My sessionInfo is as follows : -
> sessionInfo()
R version 2.12.1 (2010-12-16)
Platform: x86_64-pc-linux-gnu (64-bit)
locale:
[1] LC_CTYPE=en_IN LC_NUMERIC=C LC_TIME=en_IN
[4] LC_COLLATE=en_IN LC_MONETARY=CLC_MESSAGES=en_IN
[7
Hi,
You seem to be using qplot() from the ggplot2 package, but you really
need to specify: there are several packages with a function of that
name.
That said, when I run your example I get a plot with both lines and
points, which means we're going to need more information from you,
specifically s
Dear R helpers,
I have molten data which is : -
> t3
Year variablevalue
1 2005 ICICI.Bank 27488370
2 2006 ICICI.Bank 43166850
3 2007 ICICI.Bank 59515300
4 2008 ICICI.Bank 63085760
5 2009 ICICI.Bank 54526330
6 2005 HDFC.Bank 265
9 matches
Mail list logo