Re: [Rd] Revision of shell.exec?

2011-09-14 Thread Simon Urbanek
On Sep 14, 2011, at 4:44 PM, Dirk Eddelbuettel wrote: > > On 14 September 2011 at 16:22, Simon Urbanek wrote: > | > | On Sep 14, 2011, at 4:15 PM, Brian Oney wrote: > | > | > Hi there, > | > new idea (at 10 at night). All the emails keep me thinking (btw thanks > for all the feedback). > | >

Re: [Rd] Revision of shell.exec?

2011-09-14 Thread Dirk Eddelbuettel
On 14 September 2011 at 16:22, Simon Urbanek wrote: | | On Sep 14, 2011, at 4:15 PM, Brian Oney wrote: | | > Hi there, | > new idea (at 10 at night). All the emails keep me thinking (btw thanks for all the feedback). | > What does this do on linux? | > | > getOption("pdfviewer") | > ### I got

Re: [Rd] Revision of shell.exec?

2011-09-14 Thread Simon Urbanek
On Sep 14, 2011, at 4:15 PM, Brian Oney wrote: > Hi there, > new idea (at 10 at night). All the emails keep me thinking (btw thanks for > all the feedback). > What does this do on linux? > > getOption("pdfviewer") > ### I got this idea from: getS3method("print","vignette") > It gives you the

Re: [Rd] Revision of shell.exec?

2011-09-14 Thread Brian Oney
Hi there, new idea (at 10 at night). All the emails keep me thinking (btw thanks for all the feedback). What does this do on linux? getOption("pdfviewer") ### I got this idea from: getS3method("print","vignette") On windows, (an advantage...) somebody wrote a little program "open.exe" that co

[Rd] [Q] Package NS Hook Lint NOTE

2011-09-14 Thread Roebuck,Paul L
Have a question about the following NOTEs appearing on CRAN checks: > .onLoad calls: > require(methods) > > Package startup functions should not change the search path. > See section ŒGood practice¹ in ?.onAttach. For years, I have had the following in my S4-requiring packages. ##-

Re: [Rd] Revision of shell.exec?

2011-09-14 Thread Henrik Bengtsson
On Wed, Sep 14, 2011 at 8:35 AM, Simon Urbanek wrote: > > On Sep 14, 2011, at 11:08 AM, Brian Oney wrote: > >> Hi Steve, >> >> a quick look at "browseURL" will tell you that indeed "system" or >> "shell.exec" (on a windows platform) is used to open up a URL. >> The "open " part of the proposed fu

Re: [Rd] Revision of shell.exec?

2011-09-14 Thread Simon Urbanek
On Sep 14, 2011, at 11:08 AM, Brian Oney wrote: > Hi Steve, > > a quick look at "browseURL" will tell you that indeed "system" or > "shell.exec" (on a windows platform) is used to open up a URL. > The "open " part of the proposed function was written to work on a Mac. > Because Mac is a unix p

Re: [Rd] Revision of shell.exec?

2011-09-14 Thread Brian Oney
Hi Steve, a quick look at "browseURL" will tell you that indeed "system" or "shell.exec" (on a windows platform) is used to open up a URL. The "open " part of the proposed function was written to work on a Mac. Because Mac is a unix platform, I assumed that the function "open" would be omnipre

Re: [Rd] Building R package with precompiled shared library

2011-09-14 Thread Uwe Ligges
On 14.09.2011 15:52, Paul Gilbert wrote: My understanding is that this cannot be done, for both licence and security reasons. The package build expects source code and removes binaries. You can link with binaries that are provided separately from the package, possibly coming from a vendor th

Re: [Rd] Building R package with precompiled shared library

2011-09-14 Thread Simon Urbanek
On Sep 14, 2011, at 9:52 AM, Paul Gilbert wrote: > My understanding is that this cannot be done, for both licence and security > reasons. The package build expects source code and removes binaries. You can > link with binaries that are provided separately from the package, possibly > coming fro

Re: [Rd] Building R package with precompiled shared library

2011-09-14 Thread Paul Gilbert
My understanding is that this cannot be done, for both licence and security reasons. The package build expects source code and removes binaries. You can link with binaries that are provided separately from the package, possibly coming from a vendor that sells non-open source code, but you cannot

Re: [Rd] Revision of shell.exec?

2011-09-14 Thread Uwe Ligges
On 14.09.2011 12:27, Brian Oney wrote: Hi List, I hope this is correct list to propose function extensions, sorry if not. I am preparing for a (hopefully painless) migration to linux. As far as I am aware of, the function "shell.exec" only comes with the windows version. I think this is a handy

[Rd] Building R package with precompiled shared library

2011-09-14 Thread Francesco Finazzi
Dear R users, we are trying to build a R package that includes a precompiled shared library, let's say mylib.so. We created the skeleton of the package and we moved the mylib.so file into the libs folder that we created at the same level of the folders man and R. Moreover we created the file NAMES

[Rd] Revision of shell.exec?

2011-09-14 Thread Brian Oney
Hi List, I hope this is correct list to propose function extensions, sorry if not. I am preparing for a (hopefully painless) migration to linux. As far as I am aware of, the function "shell.exec" only comes with the windows version. I think this is a handy little function and would like to see