Dear Daniel,
thank you for your suggestions to solve the error on demo(clinton). I
checked that:
1) Python is installed before R and in the path - when I type "python" on
the command line, it starts running
2) My version of Python is 2.7.5
Yet, running the demo in RStudio (0.97.551) and R (3.0.2) I still get the
error:
demo(clinton)
demo(clinton)
---- ~~~~~~~
Type <Return> to start :
oldwd <- getwd()
setwd(system.file("demofiles/clintonposts",
package="ReadMe"))
undergrad.results <- undergrad(sep = ',')
[1] "python
'C:/Users/Borghetto/Documents/R/win-library/3.0/ReadMe/makerfile'
--alphanumeric-only --separator \",\" --control-file 'control.txt'
--table-file 'tablefile.txt' --threshold 0.01"
C:\Python27\python.exe: can't open file
''C:/Users/Borghetto/Documents/R/win-library/3.0/ReadMe/makerfile'':
[Errno
22] Invalid argument
Error in undergrad(sep = ",") : Python module failed. Aborting undergrad.
In addition: Warning message:
running command 'python
'C:/Users/Borghetto/Documents/R/win-library/3.0/ReadMe/makerfile'
--alphanumeric-only --separator "," --control-file 'control.txt'
--table-file 'tablefile.txt' --threshold 0.01' had status 2
Any idea?
Thanks a lot
Enrico
--
Enrico Borghetto, PhD
Post-Doctoral Fellow
Cesnova - Centro de Estudos de Sociologia da Universidade Nova de Lisboa
NOVA University of Lisbon
Personal Website <http://enricoborghetto.weebly.com/>
Italian Policy Agendas <http://italianpolicyagendas.weebly.com/>
Center for the Observation of Legislatures <http://www.coolresearch.net/>
Italian Law Making Archive <http://159.149.130.120/ilma/sito/>