Skip to content

Commit 299a017

Browse files
author
ripley
committed
avoid as.integer(NULL)
git-svn-id: https://svn.r-project.org/R/trunk@87407 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent 37a31d3 commit 299a017

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/library/utils/R/write.table.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ function (x, file = "", append = FALSE, quote = TRUE, sep = " ",
7171
nocols <- p == 0L
7272

7373
if(is.logical(quote)) # must be false
74-
quote <- NULL
74+
quote <- integer(0) # NULL
7575
else if(is.numeric(quote)) {
7676
if(any(quote < 1L | quote > p))
7777
stop("invalid numbers in 'quote'")

0 commit comments

Comments
 (0)