I agree that what I said was one sided. I know that the spss GPL and
ggplot2 are based on the same grammar. I have the impression that ggplot2
is much easier to use. But I must agree that I stopped trying to understand
gpl after discovering ggplot2.
Frans


2013/4/2 J. R. M. Hosking <jrmhosk...@gmail.com>

> On 2013-04-02 04:28, Frans Marcelissen wrote:
>
>> Hi,
>> I have a problem combining R and SPSS (21). I do not know whether the
>> solution is in R or in spss, so I will post both in the R group and in the
>> SPSS group.
>>
>> I use the R plugin in spss(21). The most important reason to use this
>> plugin is ggplot2 (spss does not have a decent graphical system). This
>>
>
> Huh?  IBM SPSS Statistics has a Graphics Production Language that its
> reference guide describes as "a concise and flexible language based on the
> grammar described in [Leland Wilkinson's book] *The Grammar of Graphics*".
>  ggplot2 is "an implementation of the Grammar of Graphics".  It seems
> likely that whatever you were hoping to achieve with ggplot2 can also be
> done natively in SPSS.
>
>
> J. R. M. Hosking
>
>
>
>
>  plugin requires R 14.0 (14.2 or 15 does not work).
>> When I install R it gives an warning:
>>
>>> library(ggplot2)
>>>
>> Warning message:
>> package ‘ggplot2’ was built under R version 2.14.2
>>
>> After that, when i use gplot2:
>>
>>> ggplot()+geom_bar(aes(x=**factor(1),y=10))
>>>
>> Error in initFields(scales = scales) :
>>    could not find function "initRefFields"
>>
>> I found on internet that the solution for this problem is upgrading to a
>> newer version of R (and indeed, on 2.15 or 3.0 ggplot2 works fine). spss
>> needs 2.14.0, however.
>> Does anyone know a solution?
>> Thanks
>> Frans
>>
>>         [[alternative HTML version deleted]]
>>
>>
>>
>>
>>
> ______________________________**________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/**listinfo/r-help<https://stat.ethz.ch/mailman/listinfo/r-help>
> PLEASE do read the posting guide http://www.R-project.org/**
> posting-guide.html <http://www.R-project.org/posting-guide.html>
> and provide commented, minimal, self-contained, reproducible code.
>



-- 


-------------------
dr F.H.G. (Frans) Marcelissen
DigiPsy (www.DigiPsy.nl <http://www.digipsy.nl/>)
Pomperschans 26
5595 AV Leende
tel: 040 2065030/06 2325 06 53
skype adres: frans.marcelissen
email: frans.marcelis...@digipsy.nl

        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to