Displaying 20 results from an estimated 2000 matches similar to: "Benchmarks"
2002 Apr 16
2
Multithreading
Hi !
I wonder if the R application is capable of utilizing more than one CPU. I
need to know since we run it on a SunFire 3800 with 8 750 USIII cpu:s and on
a E420R with 4 USII cpu:s and we don't feel like we get the performance we
could expect.
I've seen some old discussions claiming that it isn't.
With kind regards
Lennart Araskoug
2000 Jan 05
1
Upgrade to 2.0.6 not working
Hi All,
We have been running samba-1.9.18p10 beautifully for the past
year or so. Finally decided to upgrade to samba-2.0.6 and am
having no luck. We are using security=server such that the
users are using their NT login/password to authenticate. When
I test the 2.0.6 installation with smbclient, I get the
"protocol negotiation failure" message. Does anyone know what
this means? I
2004 Feb 17
10
How to write efficient R code
I have been lurking in this list a while and searching in the archives to
find out how one learns to write fast R code. One solution seems to be to
write part of the code not in R but in C. However after finding a benchmark
article (http://www.sciviews.org/other/benchmark.htm) I have been more
interested in making the R code itself more efficient. I would like to find
more info about this. I have
2004 Feb 10
4
The ttest.c example in R under MS Windows
We are trying to compile and run the ttest.c example that comes with R (in
C:\Program Files\R\rw1081\src\library\windlgs\src\ttest.c). After compiling
it with MS Visual C++ we load the DLL with dyn.load.
So far it seems good, but when we try to call it from R (after running
C:\Program Files\R\rw1081\src\library\windlgs\R\windlgs.R) R crashes.
We have tried changing the exports from DLL but have
2004 Mar 02
3
error() and C++ destructors
Hi,
I am writing C++ functions that are to be called via .Call() interface.
I'd been using error() (from R.h) to return to R if there is an error,
but then I realized that this might be not safe as supposedly error()
doesn't throw an exception and therefore some destructors do not get
called and some memory may leak. Here is a simple example
extern "C" void foo() {
string
2018 Feb 06
2
Pre Poettering rsync?
Hi all,
Five minutes ago I heard a rumor that Lennart Poettering has rewritten
rsync. My top urgency is to download the latest numbered version of
rsync untouched by Lennart Poettering: I'll find out if the rumor is
true or false later.
I've downloaded rsync rsync-3.1.3.tar.gz and rsync-patches-3.1.3.tar.gz
from https://download.samba.org/pub/rsync/ . Is the source code in both
those
2024 Sep 28
2
Is there a sexy way ...?
Avi
I fear this was all a huge social experiment.
Testing if a post titled "sexy way" would increase engagement...
On Sat, 28 Sep 2024, 07:21 , <avi.e.gross at gmail.com> wrote:
> I see a book coming:
> "666 ways to do the same thing in R ranked by sexiness."
>
> Kidding aside, if you look under the covers of some of the functions we
> are
2019 Aug 14
2
Dovecot - Microsoft Azure AD
Hello,
I am currently trying to connect my Dovecot mail server to Microsoft's Azure-AD and use it as password and user database. I am using version 2.3.7.1.
Using the Azure-AD as passdb already works. In this context I noticed that the scope implementation is not yet merged.
Since I haven't found any hints for an OAuth2 userdb implementation yet, I wanted to ask if there are any plans
2024 Sep 28
1
Is there a sexy way ...?
I see a book coming:
"666 ways to do the same thing in R ranked by sexiness."
Kidding aside, if you look under the covers of some of the functions we are using, we may find we are taking steps back as some of them use others and perhaps more functionality than we need.
But for a new reader , looking at many approaches may open up other ways and ideas and see the problem space as quite
2009 Mar 09
1
[LLVMdev] Compiling LLVM on MinGW
I'm using configure.
On Mon, Mar 9, 2009 at 5:12 AM, Óscar Fuentes <ofv at wanadoo.es> wrote:
> Lennart Augustsson <lennart at augustsson.net> writes:
>
>> Commenting out the Hello transformation I get these link errors:
>>
>> llvm[2]: Linking Debug Shared Library LTO.dll
>>
2009 Jan 24
3
[LLVMdev] Unimplemented documentation
Hi,
Is there some documentation about what has not been implemented yet?
I'm trying to use vectors and I just run into one thing after another
that seem to be missing.
(I.e., fcmp on vectors doesn't work; trying to do the same thing with
expanded instructions doesn't work; select on a vector doesn't work)
-- Lennart
2024 Sep 28
1
Is there a sexy way ...?
Sorry to append, but I just realised that of course
```
x |>
? pmap(c) |>
? reduce(c) |>
? unname()
```
also works and is a general solution in case your list has more than
three elements. Here, we map in parallel over all elements of the list,
always combining the current set of elements into a vector, and then
reduce the resulting list into a vector by combining the elements
2009 Jan 24
0
[LLVMdev] Unimplemented documentation
On Jan 24, 2009, at 4:34 AM, Lennart Augustsson
<lennart at augustsson.net> wrote:
> Hi,
>
> Is there some documentation about what has not been implemented yet?
I've started adding notes to
docs/LangRef.html
Historically this document has been used to describe just the LLVM IR,
and not what specific consumers of it do or don't support, but codegen
is a very
2009 Mar 08
2
[LLVMdev] Compiling LLVM on MinGW
Commenting out the Hello transformation I get these link errors:
llvm[2]: Linking Debug Shared Library LTO.dll
c:/DOCUME~1/1312888/Desktop/Workspace/llvm/llvm-top/Debug/lib/libLLVMSystem.a(Signals.o):
In function `Z28LLVMUnhandledExceptionFilterP19_EXCEPTION_POINTERS':
c:/DOCUME~1/1312888/Desktop/Workspace/llvm/llvm-top/lib/System/Win32/Signals.inc:164:
undefined reference to
2010 Jul 09
2
split with list
Dear List I would like to ask you something concenting a better print of the R output:
I have a bit data frame which has the following structure:
CFISCALE RAGSOCB ANNO VAR1 VAR2.........
9853312 astra 2005 6 45
9853312 astra 2006 78 45
2012 Jan 10
2
strange Sys.Date() side effect
Any ideas what is the problem with this code?
> N <- 2; c(Sys.Date(), sprintf('N = %d', N))
[1] "2012-01-10" NA
Warning message:
In as.POSIXlt.Date(x) : NAs introduced by coercion
Best regards,
Ryszard
Ryszard Czerminski
AstraZeneca Pharmaceuticals LP
35 Gatehouse Drive
Waltham, MA 02451
USA
781-839-4304
ryszard.czerminski@astrazeneca.com
2009 Sep 25
7
Spliting columns, strings or reg exp returning substrings
Currently as the first column in a data frame I have string values in the format xx_yy - I want to create a new column with just the substring xx (for each row in turn). Three possible ways to do this might be (1) split the string by '_' using strsplit and paste the first of the resulting variables into a new column, but I have been unable to do this for each row of my data frame in turn
2011 Nov 23
2
bizarre seq() behavior?
Is there any rational explanation for the bizarre seq() behavior below?
> seq(2,8.1, lenght.out=3)
[1] 2 3 4 5 6 7 8
> help(seq)
> seq(2,8,length.out=3)
[1] 2 5 8
> seq(2,8.1,length.out=3)
[1] 2.00 5.05 8.10
Except maybe that it is early in the morning :)
Best regards,
Ryszard
Ryszard Czerminski
AstraZeneca Pharmaceuticals LP
35 Gatehouse Drive
Waltham, MA 02451
USA
781-839-4304
2012 Jan 12
3
strsplit() does not split on "."?
Any ideas what is wrong?
> strsplit("a.b", ".") # generates empty strings with split="."
[[1]]
[1] "" "" ""
> strsplit("a b", " ") # seems to work fine with split=" ", and other
characters...
[[1]]
[1] "a" "b"
>
> R.Version()
$platform
[1]
2008 Jan 29
2
Embedded From_ lines breaking Content-Length (and Dovecot)
I feel like I'm going totally crazy. Is it just me, or have embedded
From_ lines really been breaking mbox messages since (at least)
dovecot 1.0? I found a whole lot of broken messages in an old mailbox
of mine and when I looked closer at it, it seemed like Dovecot was
ignoring the Content-Length header and truncating the messages at the
first embedded From_ line instead. Figuring