Hi,

I just realized this crash occurs when I start Emacs right after closing
R...

PS: bug also submitted to bug-gnu-em...@gnu.org

------ ~/.Renviron
R_LIBS=~/.R/x86_64-pc-linux-gnu-library/3.2/
R_LIBS_USER=~/.R/x86_64-pc-linux-gnu-library/3.2

PAGER=/usr/bin/less
R_HISTFILE=~/.Rhistory

LANG=en_US.UTF-8
LANGUAGE=en_US.UTF-8
LC_ALL=en_US.UTF-8

------ ~/.Rprofile
.First <- function() {
    # Reload last typed commands
    if (!any(commandArgs()=='--no-readline') && interactive()){
        require(utils)
        try(loadhistory(Sys.getenv("R_HISTFILE")))
    }
    options(quiet=TRUE)
    options(continue=" ")
    options(download.file.method="wget")
    options(repos=c("http://cran.univ-lyon1.fr";, "http://cran.irsn.fr";))
    options(showWarnCalls=T, showErrorCalls=T)

    .libPaths("~/.R/x86_64-pc-linux-gnu-library/3.2")
}

# Set width and add date+color to the prompt
updatePrompt <- function(...)
{
    # Add Time + Colors
    options(menu.graphics=FALSE,
            prompt=paste("\001\033[01;32m\002", format(Sys.time(),"%H:%M:%S"), 
"R > \001\033[00m\002")) ;
    return(invisible(TRUE)) ;
}
updatePrompt() ;
invisible(addTaskCallback(updatePrompt)) ;

# Some useful aliases
cd <- setwd
pwd <- getwd
lss <- dir

# Use Evince as the pdf viewer
options("pdfviewer"="evince")
# Use Firefox as the html viewer
options("htmlviewer"="firefox -new-tab")
# Use Firefox as the browser
options("browser"="firefox -new-tab")

# Does not work!
.Last <- function() {
        if (!any(commandArgs()=='--no-readline') && interactive()){
                require(utils)
                try(savehistory(Sys.getenv("R_HISTFILE")))
        }
}

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to emacs25 in Ubuntu.
https://bugs.launchpad.net/bugs/1679580

Title:
  crash on opening files

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/emacs25/+bug/1679580/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to