Hello everyone,
Just to let you know, what I did works fine. I simply copied all the R code
into Python and embraced it into triple double quotes r(""" xxx """) and
that looks elegant. I can also include good graphical library. Then I moved
all the code back to SPSS syntax (again very simple way
On Mon, Dec 12, 2011 at 3:18 PM, Marko Limbek wrote:
> Thank you Peter, but with me it doesn't work,
> as you can see from the printscreen in the attachment, that I send you.
> I followed all four steps.
> The warning in the picture says that variable resmca is not used.
>
> Marko
You had this:
On Mon, Dec 12, 2011 at 12:33 PM, Marko Limbek wrote:
> Do you mean
> set_default_mode(NO_CONVERSION)
> or something else?
Yes, try the NO_CONVERSION mode of rpy v1, which
keeps the objects as R objects but allows you to access
them from Python.
> What you suggested is the second way of retreivi
Do you mean
set_default_mode(NO_CONVERSION)
or something else?
What you suggested is the second way of retreiving R objects, but I think
it can only be used od R objects, that represent predefined built-in R
functions. It can't be used it on the result I get from a method.
Anyway I will have to swi
On Sunday, December 11, 2011, Marko Limbek wrote:
> Apparently when Python composes output of a R method,
> results are transformed into dictionaries and some info is lost.
>
> For instance, I need four things from the result
> 1. names of var
> 2. coordinates of var
> 3. names of quali.sup
> 4. c
Hello Thomas, Peter, Federico and others
In the end of the day I two problems with the results of multiple
correspondence analysis (MCA in FactoMineR package).
Python structures output in a form of a tree of dictionaries.
Apparently when Python composes output of a R method, results are
transform
On 9 December 2011 07:11, Marko Limbek wrote:
> When I try to import OrderedDict I get this error. I am afraid I cannot
> import it with my python version. Is that true?
If you're using Python 2.6, you need to download the module Federico linked
to. It's available from collections in 2.7.
Whet
I am using Python 2.6.4, I need it for my architecture ( python 2.6.4 +
pywin32-216 + rpy1.0.3 + numpy1.6.1 + R2.9.0 + SPSS19.00 )
I am a mathematician with not so strong programming background (I am more
sociological analytical oriented) and I got thrown into python ocean, I try
not to drown
So
On 2011-12-08 13:21, Peter wrote:
> On Thu, Dec 8, 2011 at 9:50 AM, Marko Limbek wrote:
>> Hello Peter,
>>
>> I enclose R code, Python code (for_peter, nominalise) and data.
>> these outputs of 'factanal' in R and PYTHON should be the same,
>> but are slightly different.
>>
>> ...
> The last line
On Thu, Dec 8, 2011 at 9:50 AM, Marko Limbek wrote:
>
> Hello Peter,
>
> I enclose R code, Python code (for_peter, nominalise) and data.
> these outputs of 'factanal' in R and PYTHON should be the same,
> but are slightly different.
>
> ...
The last line of the Python script is this:
print(data.
On Tue, Dec 6, 2011 at 2:53 PM, Marko Limbek wrote:
> Hello everyone,
>
> Has anyone noticed strange behaviour of e.g. factor analysis in RPy or is it
> just my mistake. I think that when I make factor analysis in R and choose
> 15% of them with the greatest communality it gives me some set of var
Hello everyone,
Has anyone noticed strange behaviour of e.g. factor analysis in RPy or is
it just my mistake. I think that when I make factor analysis in R and
choose 15% of them with the greatest communality it gives me some set of
variable and when I make it in RPy, it gives me slightly differen
12 matches
Mail list logo