projects
/
iramuteq
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
load rgl before graph 3d
[iramuteq]
/
checkinstall.py
diff --git
a/checkinstall.py
b/checkinstall.py
index
e7dca8a
..
17d32fd
100644
(file)
--- a/
checkinstall.py
+++ b/
checkinstall.py
@@
-123,7
+123,7
@@
def FindRPAthWin32():
for progpath in progpaths :
rpath = os.path.join(progpath, "R")
if os.path.exists(rpath) :
for progpath in progpaths :
rpath = os.path.join(progpath, "R")
if os.path.exists(rpath) :
- for maj in range(2,
4
) :
+ for maj in range(2,
6
) :
for i in range(0,30):
for j in range(0,20):
for poss in ['', 'i386', 'x64'] :
for i in range(0,30):
for j in range(0,20):
for poss in ['', 'i386', 'x64'] :
@@
-138,6
+138,8
@@
def FindRPathNix():
BestPath='/usr/bin/R'
elif os.path.exists('/usr/local/bin/R'):
BestPath='/usr/local/bin/R'
BestPath='/usr/bin/R'
elif os.path.exists('/usr/local/bin/R'):
BestPath='/usr/local/bin/R'
+ elif os.path.exists('/Library/Frameworks/R.framework/Resources/bin/R') :
+ BestPath='/Library/Frameworks/R.framework/Resources/bin/R'
return BestPath
def RLibsAreInstalled(self) :
return BestPath
def RLibsAreInstalled(self) :
@@
-148,7
+150,8
@@
def RLibsAreInstalled(self) :
return True
def CheckRPackages(self):
return True
def CheckRPackages(self):
- listdep = ['ca', 'rgl', 'gee', 'ape', 'igraph','proxy', 'wordcloud', 'irlba', 'textometry']
+ listdep = ['ca', 'rgl', 'gee', 'ape', 'igraph','proxy', 'wordcloud',
+ 'irlba', 'textometry', 'intergraph', 'sna', 'network']
nolib = []
i=0
dlg = wx.ProgressDialog("Test des librairies de R", "test en cours...", maximum = len(listdep), parent=self, style=wx.PD_APP_MODAL | wx.PD_AUTO_HIDE | wx.PD_ELAPSED_TIME | wx.PD_CAN_ABORT)
nolib = []
i=0
dlg = wx.ProgressDialog("Test des librairies de R", "test en cours...", maximum = len(listdep), parent=self, style=wx.PD_APP_MODAL | wx.PD_AUTO_HIDE | wx.PD_ELAPSED_TIME | wx.PD_CAN_ABORT)
@@
-174,12
+177,12
@@
def CheckRPackages(self):
%s
Sans ces bibliothèques, IRamuteq ne fonctionnera pas.
%s
Sans ces bibliothèques, IRamuteq ne fonctionnera pas.
-
+
- Vous pouvez installer ces bibliothèques manuellement :
Cliquez sur Annuler
Lancez R
Tapez install.packages('nom de la bibiothèque')
- Vous pouvez installer ces bibliothèques manuellement :
Cliquez sur Annuler
Lancez R
Tapez install.packages('nom de la bibiothèque')
-
+
- ou laisser IRamuteq les installer automatiquement en cliquant sur VALIDER .
Les bibliothèques seront téléchargées depuis le site miroir de R %s.
""" % (txt, self.pref.get('iramuteq','rmirror'))
- ou laisser IRamuteq les installer automatiquement en cliquant sur VALIDER .
Les bibliothèques seront téléchargées depuis le site miroir de R %s.
""" % (txt, self.pref.get('iramuteq','rmirror'))