[Rd] zip() containing windows specific code?

From: Matthieu Stigler <matthieu.stigler_at_gmail.com>
Date: Mon, 30 Jan 2012 18:24:24 +0100


Dear R devel list

I was wondering whether zip() contains a windows specific call to system(), as the argument "invisible" seems to be windows specific, yet is used anytime by zip:

invisible(system2(zip, args, invisible = TRUE))

Indeed, calling zip() on Linux results in a warning message:

> file.create("try")

[1] TRUE
> zip("try.zip", "try")

   adding: try (stored 0%)

Message d'avis :

In system2(zip, args, invisible = TRUE) :

   arguments 'minimized' and 'invisible' are for Windows only

> unlink("try")

Best

Matthieu

 > sessionInfo()
R version 2.14.1 (2011-12-22)
Platform: x86_64-pc-linux-gnu (64-bit)

locale:

  [1] LC_CTYPE=fr_FR.UTF-8       LC_NUMERIC=C
  [3] LC_TIME=fr_FR.UTF-8        LC_COLLATE=fr_FR.UTF-8
  [5] LC_MONETARY=fr_FR.UTF-8    LC_MESSAGES=en_US.utf8
  [7] LC_PAPER=C                 LC_NAME=C
  [9] LC_ADDRESS=C               LC_TELEPHONE=C
[11] LC_MEASUREMENT=fr_FR.UTF-8 LC_IDENTIFICATION=C

attached base packages:
[1] stats graphics grDevices utils datasets methods base

other attached packages:
[1] colorout_0.9-9



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Mon 30 Jan 2012 - 17:28:53 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 30 Jan 2012 - 18:40:12 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive