Displaying 20 results from an estimated 53 matches for "kersting".
2020 Sep 28
3
Specifying C Standard in Package's Makevars File
...in a package's Makevars file?
Building a package with e.g. PKG_CFLAGS = -std=gnu11 does work but R CMD check issues a warning:
* checking compilation flags in Makevars ... WARNING
Non-portable flags in variable 'PKG_CFLAGS':
-std=gnu11
(Same for -std=c11.)
Thanks! Regards,
Andreas Kersting
2006 Apr 19
3
Upgrade from 1.2.4 to 1.2.7.1
List,
I wish to upgrade from 1.2.4 to 1.2.7.1
I have downloaded & unzipped the file but how do I compile it?
Do I need to "make clean" then "make" and "make upgrade"?
Or "make" then "make install"?
Thanks,
William
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2017 Jun 14
4
[WISH / PATCH] possibility to split string literals across multiple lines
On Wed, 14 Jun 2017 06:12:09 -0500, Duncan Murdoch <murdoch.duncan at gmail.com> wrote:
> On 14/06/2017 5:58 AM, Andreas Kersting wrote:
> > Hi,
> >
> > I would really like to have a way to split long string literals across
> > multiple lines in R.
>
> I don't understand why you require the string to be a literal. Why not
> construct the long string in an expression like
>
> pa...
2017 Jun 14
8
[WISH / PATCH] possibility to split string literals across multiple lines
Hi,
I would really like to have a way to split long string literals across
multiple lines in R.
Currently, if a string literal spans multiple lines, there is no way to
inhibit the introduction of newline characters:
> "aaa
+ bbb"
[1] "aaa\nbbb"
If a line ends with a backslash, it is just ignored:
> "aaa\
+ bbb"
[1] "aaa\nbbb"
We could use
2018 Jan 26
1
utils::install.packages with quiet=TRUE fails for source packages on Windows
The obvious guess would be that Rstudio is attempting something like redirecting output and getting itself confused. However, it is pretty clearly Their Problem, no? Rstudio has their own support infrastructure.
-pd
> On 26 Jan 2018, at 09:17 , Andreas Kersting <r-devel at akersting.de> wrote:
>
> Just noticed that this problem only occurs from within RStudio (v1.1.414). Any ideas why?
>
> Am 26.01.2018 um 08:56 schrieb Andreas Kersting:
>> Hi,
>> Installing a source package on Windows using utils::install.packages() with q...
2006 Apr 18
6
Asterisk service crashes
List,
The past few days the asterisk service on my server has crashed several
times. I have had it running for months and have made no changes to it.
When it crashes, I am unable to make calls or gain access to the CLI. The
service has been stopped. If I try to start it again (service asterisk
start), it will start and run for a few seconds then crash again. After a
reboot, it will run
2006 Apr 22
5
Connecting to a cluster of SIP servers
My Asterisk server is connecting to "sip.plus.net", which resolves to
multiple IP addresses:
sip.plus.net. 300 IN A 84.92.0.75
sip.plus.net. 300 IN A 84.92.0.76
sip.plus.net. 300 IN A 84.92.5.189
sip.plus.net. 300 IN A 84.92.5.190
If one of these machines is down
2017 Jun 14
2
[WISH / PATCH] possibility to split string literals across multiple lines
...well. One way to at least
> emulate something like that is the following.
>
> `%+%` <- function(x,y) paste0(x,y)
>
> "hello" %+%
> " pretty" %+%
> " world"
>
>
> -Mark
>
>
>
> Op wo 14 jun. 2017 om 13:53 schreef Andreas Kersting <r-devel at akersting.de
> >:
>
> > On Wed, 14 Jun 2017 06:12:09 -0500, Duncan Murdoch <
> > murdoch.duncan at gmail.com> wrote:
> >
> > > On 14/06/2017 5:58 AM, Andreas Kersting wrote:
> > > > Hi,
> > > >
> > > > I wo...
2020 Sep 29
0
Specifying C Standard in Package's Makevars File
On 28/09/2020 12:44, Andreas Kersting wrote:
> Hi,
>
> what is the correct way to specify a C standard in a package's Makevars file?
>
> Building a package with e.g. PKG_CFLAGS = -std=gnu11 does work but R CMD check issues a warning:
for some unstated value of 'work' ...
> * checking compilation flags...
2017 Jun 14
0
[WISH / PATCH] possibility to split string literals across multiple lines
On 14/06/2017 6:45 AM, Andreas Kersting wrote:
> On Wed, 14 Jun 2017 06:12:09 -0500, Duncan Murdoch <murdoch.duncan at gmail.com> wrote:
>
>> On 14/06/2017 5:58 AM, Andreas Kersting wrote:
>>> Hi,
>>>
>>> I would really like to have a way to split long string literals across
>>> multi...
2017 Jun 14
0
[WISH / PATCH] possibility to split string literals across multiple lines
...ather than run-time.
I have run into this myself a few times as well. One way to at least
emulate something like that is the following.
`%+%` <- function(x,y) paste0(x,y)
"hello" %+%
" pretty" %+%
" world"
-Mark
Op wo 14 jun. 2017 om 13:53 schreef Andreas Kersting <r-devel at akersting.de>:
> On Wed, 14 Jun 2017 06:12:09 -0500, Duncan Murdoch <
> murdoch.duncan at gmail.com> wrote:
>
> > On 14/06/2017 5:58 AM, Andreas Kersting wrote:
> > > Hi,
> > >
> > > I would really like to have a way to split long s...
2019 May 19
4
most robust way to call R API functions from a secondary thread
...interrupts from the main thread, while still being able to cleanly cancel the threads before fun_running_in_main_thread() is left via a longjmp. This is e.g. required if the secondary threads use memory which was allocated in fun_running_in_main_thread() using e.g. R_alloc().
Best regards,
Andreas Kersting
#include <Rinternals.h>
#include <pthread.h>
#include <signal.h>
#include <stdint.h>
extern uintptr_t R_CStackLimit;
extern int R_PPStackTop;
extern int R_PPStackSize;
#include <R_ext/libextern.h>
LibExtern Rboolean R_interrupts_suspended;
LibExtern int R_interrup...
2006 May 25
1
[asterisk-biz] RE: OT: AudioCodes MP124-C/FSX/AC/SIP
...phone) number for every used channel
>
> Your AudioCodes gateway is now ready.
>
> Michael Crown
> Managing Partner
> www.thevoipconnection.com
> 321.989.6728 ext. 611
> sip:611@voiceserver.thevoipconnection.com
>
> > -----Original Message-----
> > From: billy@kersting.com [mailto:billy@kersting.com]
> > Sent: Wednesday, May 24, 2006 10:23 PM
> > To: asterisk-biz@thevoipconnection.com
> > Subject: RE: [Asterisk-Users] OT: AudioCodes MP124-C/FSX/AC/SIP
> >
> > FXS
> >
> > -----Original Message-----
> > From: asterisk...
2019 Dec 06
1
Error in close.connection(p) : ignoring SIGPIPE signal
...ntext of the
while(TRUE) loop, I am allowed to do this 653 times, with failure on the
654th attempt. Perhaps there is something asynchronous going on? If I
eliminate the looping, it does indeed fail (as expected) on the first
attempt to close the pipe.
Regards
Ben
On 12/6/19 2:04 AM, Andreas Kersting wrote:
> Hi Benjamin,
>
> you cannot pipe to echo, since it does not read from stdin.
>
> echo just echos is first arg, i.e. echo /dev/stdin > /dev/null will echo the string "/dev/stdin"to /dev/stdout, which is redirected to /dev/null.
>
> Try
>
> p <- pip...
2017 Jun 14
0
[WISH / PATCH] possibility to split string literals across multiple lines
...ke that is the following.
>>
>> `%+%` <- function(x,y) paste0(x,y)
>>
>> "hello" %+%
>> " pretty" %+%
>> " world"
>>
>>
>> -Mark
>>
>>
>>
>> Op wo 14 jun. 2017 om 13:53 schreef Andreas Kersting <
>> r-devel at akersting.de>:
>>
>> > On Wed, 14 Jun 2017 06:12:09 -0500, Duncan Murdoch <
>> > murdoch.duncan at gmail.com> wrote:
>> >
>> > > On 14/06/2017 5:58 AM, Andreas Kersting wrote:
>> > > > Hi,
>> > &g...
2019 May 20
1
most robust way to call R API functions from a secondary thread
...ion and chances are that excessive synchronization will severely affect the expected performance benefits of parallelization. If you do not need to synchronize that much, then the question is if you can do with (1) or (2).
>
> Best regards,
> Stepan
>
> On 19/05/2019 11:31, Andreas Kersting wrote:
>> Hi,
>> As the subject suggests, I am looking for the most robust way to call an (arbitrary) function from the R API from another but the main POSIX thread in a package's code.
>> I know that, "[c]alling any of the R API from threaded code is ?for experts only? a...
2019 May 20
0
[External] most robust way to call R API functions from a secondary thread
...might be eventually possible to
provide some support for this to be handled via a thread-local
variable. Ensuring that R_ToplevelExec can't jump before entering the
body function would be a good idea; if you want to propose a patch we
can have a look.
Best,
luke
On Sun, 19 May 2019, Andreas Kersting wrote:
> Hi,
>
> As the subject suggests, I am looking for the most robust way to call an (arbitrary) function from the R API from another but the main POSIX thread in a package's code.
>
> I know that, "[c]alling any of the R API from threaded code is ?for experts only? an...
2019 May 20
0
most robust way to call R API functions from a secondary thread
...you need synchronization and chances are
that excessive synchronization will severely affect the expected
performance benefits of parallelization. If you do not need to
synchronize that much, then the question is if you can do with (1) or (2).
Best regards,
Stepan
On 19/05/2019 11:31, Andreas Kersting wrote:
> Hi,
>
> As the subject suggests, I am looking for the most robust way to call an (arbitrary) function from the R API from another but the main POSIX thread in a package's code.
>
> I know that, "[c]alling any of the R API from threaded code is ?for experts only? a...
2017 Jun 14
2
[WISH / PATCH] possibility to split string literals across multiple lines
...syntax but it is widely used.
>
> A backslash at the end of the line leads to errors when you accidently
> put a space after the backslash and the editor doesn't flag it.
>
> Bill Dunlap
> TIBCO Software
> wdunlap tibco.com
>
> On Wed, Jun 14, 2017 at 3:58 AM, Andreas Kersting <r-devel at akersting.de>
> wrote:
>
>> Hi,
>>
>> I would really like to have a way to split long string literals across
>> multiple lines in R.
>>
>> Currently, if a string literal spans multiple lines, there is no way to
>> inhibit the introdu...
2018 Jan 26
2
utils::install.packages with quiet=TRUE fails for source packages on Windows
Hi,
Installing a source package on Windows using utils::install.packages()
with quiet=TRUE fails, while it works with the default quiet = FALSE.
The problem seems to be caused by the fact that when quiet = TRUE,
stdout and stderr are set to FALSE when calling "R CMD INSTALL" with
base::system2() here: