Well, it does not crash (segfault, only rumbles remaining),
it just throws an exception about being unable to open the connection. ;-)


Did you try to output to you webpage the outcome of:

print(robjects.r('''file.info(dir("/where/the/file/is"))'''))

?




Rajarshi Guha wrote:
> 
> 
> On Wed, Jan 14, 2009 at 2:50 AM, Laurent Gautier <lgaut...@gmail.com 
> <mailto:lgaut...@gmail.com>> wrote:
> 
>     Wouldn't the working dir in which the process is running matter ?
> 
>     Using an absolute path might be indicated.
> 
> 
> Yes, I had thought of that. Interesting when I try and the read the 
> using Python
> 
> data = open('/ful/path/test-data.Rda').read()
> 
> it works fine. But when I replace the above line with a call to load, it 
> crashes
> 
> 
> -- 
> Rajarshi Guha


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to