Sorry, I copy/pasted the text from the wrong place, which is why the slashes 
incorrectly were there. They definitely were not there in producing the bug. 

I just ran it again. I restarted the shell, and then:

>>> import os; os.system('Z:\Data\ClustalW\\clustalw 
>>> Z:\Data\Output\\junk.fasta')
-1073741510
>>> import rpy
RHOME= C:\Program Files\R\R-2.4.1
RVERSION= 2.4.1
RVER= 2041
RUSER= I:\
Loading the R DLL C:\Program Files\R\R-2.4.1\bin\R.dll .. Done.
Loading Rpy version 2041 .. Done.
Creating the R object 'r' ..  Done
>>> import os; os.system('Z:\Data\ClustalW\\clustalw 
>>> Z:\Data\Output\\junk.fasta')
1
>>>

The first time the command os.system('Z:\Data\ClustalW\\clustalw 
Z:\Data\Output\\junk.fasta') is called, before rpy is imported, it works fine. 
The second time, eg., after rpy is loaded, you get the error I described. (I 
can't read out the command shell response because system doesn't return it, but 
I spend a long time looking at the flickering window and I'm quite sure as to 
what the error was.)

Thanks so much!

-Erez

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to