[R] Eval and parse function applied on file path

2008-10-18 Thread Tomislav Puđa
Hi, I have problem when evaluating string containing file path. path <-"inputDirectory='d:\\diplomski_rad\\testOutput\\temp'" print(eval(parse(text=path))) After executing code, I get [1] "d:diplomski_rad\testOutput\temp" Warning messages: 1: '\d' is an unrecognized escape in a character string

[R] R script from Python

2008-10-17 Thread Tomislav Puđa
Hi, I'm trying to execute R-script from Python. I'm using R 2.7.2, Python 2.5 and WinXP. I don't won't to use Python/R interface because of nature of project. Python code : import subprocess command = 'c:\\Program Files\\R\\R-2.7.2\\bin\\Rterm.exe --vanilla -q d:\\output.out' subprocess.Popen(

[R] crashes while using Rattle (GTK+)

2008-09-30 Thread Tomislav Puđa
Hi, I'm using R 2.7.2 for Windows.I have also installed gtk-dev-2.12.9 and rattle 2.3.65. When I work in rattle, I occasionally get these messages : GLib-WARNING (recurser) **: g_main_context_prepare() called recursively from within a source's check() or prepare() member. aborting or GLib-W