Ticket #11436: trac_11436.patch

File trac_11436.patch, 697 bytes (added by kcrisman, 11 years ago)

Based on 4.4.4, but hopefully still applies...

  • sage/interfaces/r.py

    diff -r 8dec8b43ccca sage/interfaces/r.py
    a b  
    464464        Returns the R command (as a string) to read in a file named
    465465        filename into the R interpreter.
    466466
    467         EXAMPLES:
     467        EXAMPLES::
     468
    468469            sage: r._read_in_file_command('file.txt')
    469             'source(file=file("file.txt",open="r"))'
     470            'source("file.txt",print.eval=TRUE)'
     471
     472        TESTS::
    470473        """
    471         return 'source(file=file("%s",open="r"))'%filename
     474        return 'source("%s",print.eval=TRUE)'%filename
    472475
    473476    def read(self, filename):
    474477        """