similar to: question about an R idiom: eval()ing a quoted block

Displaying 20 results from an estimated 900 matches similar to: "question about an R idiom: eval()ing a quoted block"

2018 Nov 11
2
Patch idea: an environment variable for setting the user ID
To R-devel, In `R CMD build`, the ID of the user is automatically inserted into the DESCRIPTION file, e.g. Packaged: 2018-11-06 14:01:50 UTC; <MY USER ID> This is problematic for those of us who work in corporate settings. We must not divulge our user IDs in the packages we develop and release. Jim Hester pointed out that these two lines in `add_build_stamp_to_description_file()`
2017 Dec 20
1
utils::unzip ignores overwrite argument, effectively
It does give a warning, but then it overwrites the files, anyway. Reproducible example below. This is R 3.4.3, but it does not seem to be fixed in R-devel: https://github.com/wch/r-source/blob/4a9ca3e5ac6b19d7faa7c9290374f7604bf0ef64/src/main/dounzip.c#L171-L174 FYI, G?bor dir.create(tmp <- tempfile()) setwd(tmp) cat("old1\n", file = "file1") cat("old2\n", file
2020 Jun 07
3
Kill "KillTheDoctor"
We still have the program called "KillTheDoctor" [1] in our source tree. Its original intention was to stop requiring user interaction for crashing regression tests under Windows (infamous Dr. Watson, nowadays "[program] has stopped working" [2]), I don't think it is useful anymore. It's also a very hacky approach, as admitted in the source comment itself ("I hate
2019 Jan 25
2
Patch idea: an environment variable for setting the user ID
Thanks, Kurt. I think I now have enough time to write a patch. What are the steps? I have read https://www.r-project.org/bugs.html#how-to-submit-patches but I do not seem to have permission to create a Bugzilla account at https://bugs.r-project.org/bugzilla/. Will On Mon, Nov 12, 2018 at 2:46 AM Kurt Hornik <Kurt.Hornik at wu.ac.at> wrote: > >>>>> Will L writes: >
2018 Sep 19
1
Re: [PATCH 2/3] v2v: -o rhv-upload: Only set SSL context for https connections.
On Wed, Sep 19, 2018 at 7:24 PM Richard W.M. Jones <rjones@redhat.com> wrote: > For real imageio servers the destination will always be https. This > change has no effect there. > > However when testing we want to use an http server for simplicity. As > there is no cafile in this case the call to > ssl.create_default_context().load_verify_locations(cafile=...) will fail.
2018 Jan 20
2
Can anyone help with a quick app_record.c module improvement and can explain over-riding modules?
Just a quick and dirty thought, try the MONITOR application. Pseudo-code: Anchor-point PLAYBACK ("press or say") MONITOR (use the split audio files mode, not the mixed - this way you can roughly separate which side did the "talking") READ (audio file "1 to 5", try to grab one digit) STOPMONITOR IF (READ variable timed-out, send the incoming half of the monitor file
2019 Jun 05
1
Re: The way of implementing structs of Rust bindings
Dear Richard, > We have tended to avoid this in other languages because the results > can be very poor quality (eg. swig bindings are usually terrible). > However if the resulting code from bindgen is high quality and > accurately covers all the features that libguestfs bindings need then > we can consider it. Thank you for your reply. Actually, I have not used bindgen and I
2019 Sep 10
3
[nbdkit] Access export name from plugins
Of course at the moment nbdkit parses the NBD export name option but doesn't really do anything with it (except logging it). I wonder if we should make this available to plugins, in case they wish to serve different content to different clients based on the export name. Note I'm not suggesting that we use this feature in any existing plugins. If we wanted to do this there seem like two
2018 Jan 20
2
Can anyone help with a quick app_record.c module improvement and can explain over-riding modules?
On Saturday 20 January 2018 at 18:45:49, Jonathan H wrote: > Oh, what a good idea! That's exactly the kind of lateral thinking I > was hoping someone would come up with. > > I thought it was called MixMonitor, and tried to wrap my head around > it but couldn't. MixMonitor is related, but different (and as the name suggests, automatically mixes the two channels, so I
2019 Dec 29
2
Multiple real times for same object
Hi, Is there any way in Asterisk to have multiple forms of real time for the same object? For instance my main source for real time is MySQL. I want a fail over that if a mailbox is say not in the MySQL database for Asterisk to try via curl. TIA. Dovid -------------- next part -------------- An HTML attachment was scrubbed... URL:
2019 Jan 23
0
Newbie - SNMP-UPS Driver Issue
On Jan 22, 2019, at 5:29 PM, NutList <dean at trasente.com> wrote: > > Hello all, > I have exhausted my research and need a little help with some basic concepts. First time configuration working with NUT and putting into a OS X environment. Was able to install the package using Brew. Have read the documentation and have been able to get the server running and agent running using
2016 Jul 13
2
Pigeonhole vs dovecot gssapi option
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211025 Basically, if dovecot is built with gssapi support, we need to pick up .../dovecot-config's DOVECOT_LIBS in pigeonhole's link. On Wed, Jul 13, 2016 at 1:52 AM, Stephan Bosch <stephan at rename-it.nl> wrote: > Op 7/13/2016 om 4:12 AM schreef Larry Rosenman: > > Stephan, > > Is there a reason you don't
2019 Jan 22
2
Newbie - SNMP-UPS Driver Issue
Hello all, I have exhausted my research and need a little help with some basic concepts. First time configuration working with NUT and putting into a OS X environment. Was able to install the package using Brew. Have read the documentation and have been able to get the server running and agent running using MACOSX-UPS driver and connect to UPS via USB. I would however like to integrate a TrippLite
2016 Apr 02
2
getSymbolAddressInProcess returning null
Tried that, still didn't work. Then I tried making a direct API call, GetProcAddress(GetModuleHandle(0),"foo") And this works if and only if __declspec(dllexport) is supplied. So it looks like we were both right. On Sat, Apr 2, 2016 at 9:29 AM, NAKAMURA Takumi <geek4civic at gmail.com> wrote: > Have you tried to add dllexport? > > On Sat, Apr 2, 2016 at 4:23 PM
2019 Jun 05
2
The way of implementing structs of Rust bindings
Hi, I'm now implementing generators of Rust, and I faced a problem. In order for the wrapper to 'understand' the struct passed from C API, it is required to incorporate the definition of the struct in C into Rust code. I have two approaches. 1. Create raw struct(#[repr(C)]), which has the equivalent memory mapping to C struct and access through this struct in Rust 2. Use bindgen to
2018 Jan 04
2
virtdf outputs on host differs from df in guest
hi guys,   happy new year!!!  I encountered  a problem when we used virt-df command to display my guest disks useage. the virt-df command from pkg libguestfs-tools-c-1.36.3-6.el7_4.3.x86_64,version is  virt-df --version : virt-df 1.36.3rhel=7,release=6.el7_4.3,libvirt the output in guest with the method referred in http://libguestfs.org/virt-df.1.html#STATVFS NUMBERS is:
2015 Mar 26
0
Re: [PACTH v2] customize: fix --upload to FAT partition (RHBZ#1196101)
What was wrong with detecting ENOTSUP and turning it into a warning then? For reference see: https://github.com/libguestfs/libguestfs/blob/master/sparsify/in_place.ml#L38-L46 Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program
2019 Jun 05
0
Re: The way of implementing structs of Rust bindings
On Wed, Jun 05, 2019 at 03:33:51PM +0900, Hiroyuki Katsura wrote: > Hi, I'm now implementing generators of Rust, and I faced a problem. > > In order for the wrapper to 'understand' the struct passed from C API, it > is required to incorporate the definition of the struct in C into Rust > code. > > I have two approaches. I don't know a lot about Rust
2020 Apr 02
0
[vhost:vhost 22/22] riscv64-linux-ld: vdpa_sim.c:undefined reference to `vringh_getdesc_iotlb'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git vhost head: 38dd2ba72ece18ec8398c8ddd13cfb02870b0309 commit: 38dd2ba72ece18ec8398c8ddd13cfb02870b0309 [22/22] virtio/test: fix up after IOTLB changes config: riscv-allyesconfig (attached as .config) compiler: riscv64-linux-gcc (GCC) 9.3.0 reproduce: wget
2020 May 23
0
Re: RFC: *scanf vs. overflow
The context to this is that nbdkit uses sscanf to parse simple file formats in various places, eg: https://github.com/libguestfs/nbdkit/blob/b23f4f53cf71326f1dba481f64f7f182c20fa3dc/plugins/data/format.c#L171-L172 https://github.com/libguestfs/nbdkit/blob/b23f4f53cf71326f1dba481f64f7f182c20fa3dc/filters/ddrescue/ddrescue.c#L98 We can only do this safely where we can prove that overflow does not