Displaying 20 results from an estimated 10000 matches similar to: "arguments to .Call(), .External should be read-only?"
2014 Jul 04
1
DESCRIPTION.in file causes R CMD check to fail?
hi.  i'm building a package using autotools.  to propagate the package
version number from configure.ac to DESCRIPTION, i'm using a
DESCRIPTION.in file.  both of these files are "shar"'d below.
i need to distribute the DESCRIPTION.in file, as ./configure will need
it.  but, "R CMD check" wants to look at DESCRIPTION, so i've let that
also come into the package
2018 Aug 23
2
[RFC] "Properly" Derive Function/Argument/Parameter Attributes
After I spend some time working with the function attribute* deduction
pass** [1,3], I would like to propose a "proper" organization***.
Why?
  Because we do not derive nearly as many attributes as we could****,
  while we do maintain various (separate and diffently organized)
  "data-flow-like analyses" to do so.
What else?
  I propose a single optimistic data-flow
2018 Jun 01
1
Understanding the sequence of events when calling the R dpois function
Chuck and Greg,
Thanks a lot for your help! I have a much better understanding now of what is happening ?under the hood?.
Kind Regards,
Jason
> On 31 May 2018, at 20:08, Greg Minshall <minshall at acm.org> wrote:
> 
> Jason,
> 
> as Chuck Berry (to whom, *thanks* for 'do {...} while(0)'!) suggested,
> using grep, or even grep executed from find, such as
>
2014 Jul 01
1
creating a package from a development source tree
hi.  this is sort of a software methodology question.
i'm working on developing a package (with C source code).  developing
it, i use autotools, git, make, and such like.  as a result, there are
random files in my source code directory that "R CMD check" would rather
not see.  some of these files (such as .git and friends) i could arrange
to move to "just above" my
2014 Jul 13
2
how to list external dependencies (i.e., non-R packages)?
hi.  i'm working on a package which only works if one (or both) of two
libraries (Imlib2 and MagickWand) exist on the machine on which the
package is compiled and executed.  as currently written, the program
purposely generates an error at *compile* time if neither library is
available (thinking the earlier the user is notified, the less
frustrating).
is there a way of specifying this
2013 Feb 14
4
2 setGeneric's, same name, different method signatures
hi.  below is a small test case (hopefully minimal, though i'm still a
bit confused about initializers).
i would have guessed (and maybe i still would have been right) that one
could re-use the name of a generic function for functions with different
numbers of arguments.  in the case below, class A's bB() queries the
status of a single A object, so bB(A) (where here "A" is an
2015 Jan 23
2
No symlink support on SMB2 and SMB3?
On Fri, Jan 23, 2015 at 10:23:15PM +0100, Markus Doits wrote:
> 
> On 23.01.15 22:16, Ralph B?hme wrote:
> > On Fri, Jan 23, 2015 at 01:08:31PM -0800, Jeremy Allison wrote:
> >> On Fri, Jan 23, 2015 at 10:05:44PM +0100, Markus Doits wrote:
> >>> On 23.01.15 19:57, Miguel Medalha wrote:
> >>>> I am using Samba 4.1.16 with smb2/3 and symbolic links are
2010 Jun 08
1
[PATCH] Fix optimistic locking during vm migration
Signed-off-by: Loiseleur Michel <mloiseleur at linagora.com>
---
 src/db-omatic/db_omatic.rb |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/db-omatic/db_omatic.rb b/src/db-omatic/db_omatic.rb
index da11bfa..79f29d2 100755
--- a/src/db-omatic/db_omatic.rb
+++ b/src/db-omatic/db_omatic.rb
@@ -195,6 +195,9 @@ class DbOmatic < Qmf::ConsoleHandler
         end
 
2018 May 25
1
options other than regex
Numbers -- thanks. Another clever trick.
On 5/25/2018 11:54 AM, Greg Minshall wrote:
> Evan,
>
> are you really looking at numbers, or just at character strings (that,
> in your case, happen to be numbers)?  if just characters, this rather
> odd combination of strsplit() and Reduce() might do the trick:
> ----
>> x <- '10110111'
>> print(x)
> [1]
2017 Mar 28
1
Is a timer a file?
Hi Arnaud,
On Wed, 22 Mar 2017, Arnaud Quette wrote:
>       The technique is very general and is to send SIGUSR1/SIGUSR2 to the upsd daemon.? SIGUSR1 and SIGUSR2 are events just like ONBATT and ONLINE.
>       The patch runs successfully on my opensuse 13.2 box, and solves my problem. In upssched.conf I now have declarations such as
>
>       ? ?AT SIGUSR1 * CANCEL-TIMER
2012 Apr 02
10
Pessimistic locking locks the entire table?
Hi guys,
I must be missing something obvious with pessimistic locking. Here is
what I do (Rails 2.3, mySQL):
In my Foo model:
def test
  Foo.transaction do
    lock = UpdateLockForFoo.find_by_foo_id(self.id, :lock => true)
    sleep 30
  end
end
For each Foo model, I have an UpdateLockForFoo. This "lock" needs to
be acquired before doing any changes to Foo.
I believe it works,
2020 Mar 13
7
pipe(): input to, and output from, a single process
hi.  i'd like to instantiate sed(1), send it some input, and retrieve
its output, all via pipes (rather than an intermediate file).
my sense from pipe and looking at the sources (sys-unix.c) is that is
not possible.  is that true?  are there any thoughts of providing such a
facility?
cheers, Greg
2011 Jul 05
0
MacOS X 10.6, symlinks and shadow copies
Running with Samba 3.5.4, the Samba3x packages from CentOS 5.6 with
added gpfs and tsmsm VFS modules against a GPFS 3.4.0.6 file system.
Unix extensions are turned off because otherwise OS X 10.5 messes with
group ownership and permissions and shares for "groups" don't work as
required. Unfortunately being at a University I don't get to control the
environment tightly, unless
2009 May 19
4
proper way to ensure atomic model changes
Hi!
Say we have a rails active-record-based model called "instance" which
can have different states - STOPPED, RUNNING, STARTING_UP,
SHUTTING_DOWN, etc...
There is a method #start which changes the instance state to
STARTING_UP only if it is STOPPED.
def start
  if self.state == STOPPED
   self.state = STARTING_UP
   self.save
   ...
  end
end
As you understand if we have multiple
2008 Apr 18
2
synchronize mongrel cluster
Hi everyone,
I would like to know if there''s a way to synchronize the actions in a
mongrel cluster. Basically, how do I make sure that a specific
controller action gets executed by only one mongrel server at one
time?
I obviously cannot use Mutex::synchronize, because we''re talking about
different processes. I looked into using optimistic and pessimistic
locking. I
2018 May 16
2
[RFC v4 4/5] virtio_ring: add event idx support in packed ring
On 2018?05?16? 16:37, Tiwei Bie wrote:
> This commit introduces the event idx support in
> packed ring.
>
> Signed-off-by: Tiwei Bie <tiwei.bie at intel.com>
> ---
>   drivers/virtio/virtio_ring.c | 75 +++++++++++++++++++++++++++++++++---
>   1 file changed, 70 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/virtio/virtio_ring.c
2018 May 16
2
[RFC v4 4/5] virtio_ring: add event idx support in packed ring
On 2018?05?16? 16:37, Tiwei Bie wrote:
> This commit introduces the event idx support in
> packed ring.
>
> Signed-off-by: Tiwei Bie <tiwei.bie at intel.com>
> ---
>   drivers/virtio/virtio_ring.c | 75 +++++++++++++++++++++++++++++++++---
>   1 file changed, 70 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/virtio/virtio_ring.c
2018 May 02
2
[RFC v3 4/5] virtio_ring: add event idx support in packed ring
On 2018?04?25? 13:15, Tiwei Bie wrote:
> This commit introduces the event idx support in packed
> ring. This feature is temporarily disabled, because the
> implementation in this patch may not work as expected,
> and some further discussions on the implementation are
> needed, e.g. do we have to check the wrap counter when
> checking whether a kick is needed?
>
>
2018 May 16
1
[RFC v3 4/5] virtio_ring: add event idx support in packed ring
On 2018?04?25? 13:15, Tiwei Bie wrote:
> This commit introduces the event idx support in packed
> ring. This feature is temporarily disabled, because the
> implementation in this patch may not work as expected,
> and some further discussions on the implementation are
> needed, e.g. do we have to check the wrap counter when
> checking whether a kick is needed?
>
>
2018 May 02
2
[RFC v3 4/5] virtio_ring: add event idx support in packed ring
On 2018?04?25? 13:15, Tiwei Bie wrote:
> This commit introduces the event idx support in packed
> ring. This feature is temporarily disabled, because the
> implementation in this patch may not work as expected,
> and some further discussions on the implementation are
> needed, e.g. do we have to check the wrap counter when
> checking whether a kick is needed?
>
>