Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

Installation du module RSPython sous Windows.

1 réponse
Avatar
Regis
Salut,

Je tente d'installer le module RSPython pour utiliser le logiciel R (Stat=
istique) via Python sous Window$.
(j'ai des liens =E0 faire aussi avec Excel!)

source =3D> http://www.omegahat.org/RSPython/
et http://www.r-project.org/ pour le Langage R
J'ai bien modifi=E9 la variable d'env. PYTHONPATH avec c:/prgm/R/R-2.6.1/=
library/RSPython/Python et ..RSPython/libs

mais j'ai le message d'erreur suivant =E0 l'appel de >>import RS

Traceback (most recent call last):
File "<pyshell#2>", line 1, in -toplevel-
import RS
File "c:\prgm\R\R-2.6.1\library\RSPython\Python\RS.py", line 1, in -to=
plevel-
import RSInternal
ImportError: DLL load failed: Le module sp=E9cifi=E9 est introuvable.

Pourtant RSInternal.dll est bien dans le rep. ../RSPython/libs?
J'ai tent=E9 sans succ=E8s de copier le .dll dans /win./system32/
note: RSPython a =E9t=E9 compil=E9 avec Python 2.2 et je l'installe sous =
Python 2.4.4!

Michel C. aurait-il une id=E9e?
Merci d'avance.

R=E9gis

1 réponse

Avatar
Regis
Salut,

Je tente d'installer le module RSPython pour utiliser le logiciel R
(Statistique) via Python sous Window$.



Au temps pour moi....
Ne pas tenir compte de mon message la réponse est dans la NOTE: sur le site!!!

Windows Binary
A binary version of this package compiled for Windows for use with versio n R-1.4.0 is also available. To install, simply unzip this
file from within the $R_HOME/library directory. This was compiled using P ython2.2.

NOTE: this currently does not allow one to embedd R within Python on Wind ows.

J'avais mal traduit...
Sous windows, on ne peux qu'appeler python sous R et non l'inverse! domma ge
Bon ben je vais faire mes trucs sur mon poste Linux avec OO.

Slts
Régis