[Rd] Assigning a zero length vector to a list (PR#8157)

2005-09-26 Thread jussi . jousimo
Full_Name: Jussi Jousimo Version: 2.2.0 beta OS: Windows XP Submission from: (NULL) (193.167.195.60) I'm trying to assign a zero length vector to a list: x<-numeric() length(x) foo<-list() foo$bar[[1]]<-x length(foo$bar[[1]]) foo But in the list this vector turns out to be l

[Rd] PS driver crashes when no permissions (PR#8078)

2005-08-19 Thread jussi . jousimo
Full_Name: Jussi Jousimo Version: 2.1.1 OS: Linux Submission from: (NULL) (193.167.195.60) R 2.1.1 crashes when it is trying to write a file with the postscript driver to a directory, where the user has no permission to write. For example, postscript("foo.ps") gives an error message: