Seite 1 von 1
Rtools installiert Python (2.7) mit ?
Verfasst: Do Feb 23, 2017 4:42 pm
von consuli
Howdy!
Beim installieren von Rtools habe ich gerade gesehen, dass in den Unterverzeichnissen von mingw auch diverse Python (2.7) Dateien dabei sind.
Kann man (mit Rtools/ mingw) auch R Pakete in Python schreiben? Das wäre ja ein Traum.
Re: Rtools installiert Python (2.7) mit ?
Verfasst: Do Feb 23, 2017 7:43 pm
von jogo
vielleicht sind das auch nur bindings für Python, die da installiert werden.
Gruß, Jörg
Re: Rtools installiert Python (2.7) mit ?
Verfasst: Fr Feb 24, 2017 8:26 pm
von consuli
Achso.
Muss wohl irgendwas von diesen sein
:
Binding (or associating), an network socket to a local port number and IP address
Binding (or connecting), to a server in client–server computing
Data binding, the technique of connecting two data elements together
XML data binding, representing XML document data using objects and classes
UI data binding, linking a user interface element to an element of a domain model, such as a database field
Directory binding, the remounting of a part of a file hierarchy to a different mount point
Key binding, or keyboard shortcut, mapping specific key combinations to specific software functionality
Language binding, a library providing a functional interface to second library in a different programming language
Name binding, the association of code or data with an identifier in a programming language
Late binding, name binding which is resolved at run-time rather than in pre-execution time
Quelle en.wikipedia: Binding
Re: Rtools installiert Python (2.7) mit ?
Verfasst: Fr Feb 24, 2017 9:03 pm
von jogo
da tippe ich mal auf
Language binding, a library providing a functional interface to second library in a different programming language
Die entsprechenden bindings zu C und FORTRAN bringt ja R von zuhause mit. Inzwischen gibt es aber viele andere Programmiersprachen mit ganz tollen Bibliotheken (manche davon auch Framework genannt) ...
Gruß, Jörg
Re: Rtools installiert Python (2.7) mit ?
Verfasst: Fr Feb 24, 2017 9:16 pm
von consuli
Könnte
Language binding, a library providing a functional interface to second library in a different programming language
dann bedeuten,
man könnte, so Deine Vermutung zutreffend wäre, in einem R Programm auch eine Python Library aufrufen, wenn es die entsprechende Library in C, C++ oder Fortran nicht gibt?
Re: Rtools installiert Python (2.7) mit ?
Verfasst: Fr Feb 24, 2017 9:27 pm
von jogo
Wie das bei Mathematikern üblich ist, möchte ich vorzeitiges Generalisieren vermeiden und dafür lieber viel vorsichtiger behaupten:
Es gibt eine Bibliothek im Python-Universum, für die man diese Kopfstände macht.
Gruß, Jörg
Re: Rtools installiert Python (2.7) mit ?
Verfasst: Fr Feb 24, 2017 9:34 pm
von consuli
Jetzt möchte der post-fact Mob aber auch noch wissen, welche sagenhafte Python Bibliothek das denn sein könnte.
Re: Rtools installiert Python (2.7) mit ?
Verfasst: Fr Feb 24, 2017 10:50 pm
von jogo
Laut
https://pythonhosted.org/rtools/ ist es genau anders rum.
Python soll auf R-Pakete zugreifen können.
Ja, auch für solche Fälle bräuchte man etwas, das man
bindings nennen kann.
Re: Rtools installiert Python (2.7) mit ?
Verfasst: Sa Feb 25, 2017 2:12 pm
von consuli
Danke jogo. Das war wirklich sehr hilfreich.