search for: arnie

Displaying 20 results from an estimated 82 matches for "arnie".

Did you mean: arne
2003 Dec 09
1
arni.colors
Dear r-devel, I have implemented a function to create color palettes with improved contrast and logical order, compared with the built-in ones: source("arni.colors.R") # code is given below barplot(rep(1,100), col=arni.colors(100), space=0, border=0, axes=F) par(mfrow=c(2,1)) # rainbow() has too much green... barplot(rep(1,50), col=rev(rainbow(50,end=0.7)), space=0, border=0,
2020 Apr 20
1
stringsAsFactors and type.convert()
Dear Martin, Thank you for the well-reasoned response. I realized I was rather late to make this suggestion for 4.0.0, changing a somewhat low-level function that can indeed affect packages. I was just reviewing some R user scripts that were using type.convert(), mainly on data frames. In all cases, people were passing as.is=TRUE, so I was reminded that I would not be the only user who would
2012 Feb 20
1
[LLVMdev] Building Test Suite Still Not Successful
...ke llvm to be installed. I did not give --with-llvmgccdir argument to configure. Because 3.0 doesn't come with llvmgcc source/binaries and I decided upon using the compatible version of dragon egg. 2. I made dragon egg, I updated the makefile of the same in the line "LLVM_CONFIG?=/home/arnie/llvm/llvm-install/bin/llvm-config" (llvm was installed inside llvm-install directory). It successfully produced the dragon egg .so file. Using this .so file I was able to compile simple c programs and manipulate them. 3. I tried to compile test-suite. I downloaded the test-suite into the &...
2020 Apr 13
2
stringsAsFactors and type.convert()
If read.table() is defaulting to "character" instead of "factor" data type, shouldn't type.convert() also default to "character" in R 4.0.0? This would seem like a good time to change the default to type.convert(as.is=TRUE), to align it with the new default in read.table and data.frame. I think many R >=4.0.0 users would be happy with as.is=TRUE as the default
2010 Sep 08
2
Drop single-dimensional array
Hi Simon, thank you for the concise reply. Do you mean the reported behavior of drop() is not a bug? It looks like a borderline bug to me (see below), but I'm not the judge of that. If this is the intended behavior and serves an actual purpose, then that could be explicitly documented in a \note{} on the help page. Such a note would slightly reduce the surprise of users running into this
2024 May 15
1
rsync whole file transfers extremely slow over SSH - but only in a particular virtual guest
Hi all, I am trying to get to the bottom of a strange rsync performance problem. On a specific guest OS, and only on this guest OS, rsync is giving modem-like transfer speeds. This happens on delta transfers, and whole file transfers. [root at arnie ~]# rsync -avz --progress --sparse arnie.example.com:/home/backup/example/cuttysark.example.com/var-lib-libvirt-images-snapshot/ /home/backup/example/cuttysark.example.com/var-lib-libvirt-images-snapshot/ receiving incremental file list ./ .timestamp 0 100% 0.00kB/s 0:00:00 (xfr...
2012 May 20
1
[LLVMdev] Error While Inserting New Instruction to LLVM IR
...f LLVM, (e.g no Lexer.l now, we have LLLexer.cpp. Again in the tutorial, files like LLVMBitCodes.h, include/llvm-c/core.h that need to be modified are not mentioned) But I am getting the error while building LLVM. The SelectionDagBuilder.cpp file is giving the error. *In file included from /home/arnie/llvm-svn/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp:946:0: * */home/arnie/llvm-svn/llvm/include/llvm/Instruction.def: In member function ‘void llvm::SelectionDAGBuilder::visit(unsigned int, const llvm::User&)’:* */home/arnie/llvm-svn/llvm/include/llvm/Instruction.def:104:1: error: ‘v...
1999 Nov 26
4
Programming ....
Hi, I am building my own TCP daemon for easing some routine admin stuff... I am no expert on security,. I would really appreciate it if someone sent me some pointers to writing TCP daemons that are hacker-proof( i know there is nothing like that...but I do not want to be making mistakes in coding that are well known.. ;) The daemon runs as root....so that is why I am woried.... Thx, Arni
2012 Jul 05
3
[LLVMdev] "symbol lookup error" while running a Simple Loop Pass
...D = 0; static RegisterPass<LoopInst> X("loop-inst", "loop instruction Pass"); I put it under llvm-src/lib/Transforms directory and ran a "make" from there to create the .so file. But when I run opt with the library, I get the following error - opt -load=/home/arnie/llvm-development/llvm/Debug+Asserts/lib/LoopInst.so -loops -loop-inst a.s opt: symbol lookup error: /home/arnie/llvm-development/llvm/Debug+Asserts/lib/LoopInst.so: undefined symbol: _ZNK4llvm8LoopBaseINS_10BasicBlockENS_4LoopEE11block_beginEv Can anyone tell me what I am doing wrong? Also what&...
2011 May 26
1
Statistical mode
One descriptive statistic that is conspicuously missing from core R is the statistical mode - the most frequent value in a discrete distribution. I would like to propose adding the attached 'statmode' (or a similar function) to the 'stats' package. Currently, it can be quite cumbersome to calculate the mode of a distribution in R, both for experts and beginners. The lack of a
2004 Oct 05
4
U32 Port Range
Hi all... How do i set U32 to filter a port range, instead of a single port? In normal use: source port 80 we use: "... match ip sport 80 0xffff ..." - I know that is something about the 0xffff parameter.... I need to filter ports 1 ~ 1024 to a higher priority class... i tried with IPTABLES MARK and TC FW, but it''s not working.... (...) # iptables -t mangle -A PREROUTING -p
2020 Apr 20
0
stringsAsFactors and type.convert()
>>>>> Arni Magnusson >>>>> on Mon, 13 Apr 2020 22:20:19 +0000 writes: > If read.table() is defaulting to "character" instead of "factor" data type, shouldn't type.convert() also default to "character" in R 4.0.0? > This would seem like a good time to change the default to type.convert(as.is=TRUE), to align it with
2003 Sep 18
1
Reverse axis in xyplot()
Creating a plot with reverse Y axis is easy enough with traditional graphics: > x <- 1:3 > y <- 1:3 > plot(y~x, ylim=c(3,1)) +-----------+ 1 | o | | | 2 | o | | | 3 | o | +-----------+ 1 2 3 But xyplot doesn't grasp my idea: > xyplot(y~x, ylim=c(3,1)) +-----------+ 3 | o | | | 2 | o |
2003 Feb 21
1
POSIX problem in New Zealand (PR#2570)
Full_Name: Arni Magnusson Version: 1.6.2 OS: Windows XP Submission from: (NULL) (210.48.49.68) Hi there. I'm experiencing unexpected behaviour from as.POSIXct: > as.POSIXct("1969-12-24") [1] "1969-12-23 23:00:00 New Zealand Standard Time" > as.POSIXlt("1969-12-24") [1] "1969-12-24" > as.POSIXlt("1969-12-24")+1 [1] "1969-12-23
2012 Sep 05
2
[LLVMdev] llvm::ConstantArray::get(llvm::LLVMContext&, llvm::StringRef, bool) deprecated?
...Array::get(llvm::LLVMContext&, llvm::StringRef, bool) function but seems it has been deprecated. ProfileDependence.cpp:68:73: error: no matching function for call to ‘llvm::ConstantArray::get(llvm::LLVMContext&, llvm::StringRef, bool)’ ProfileDependence.cpp:68:73: note: candidate is: /home/arnie/llvm-clang/llvm/include/llvm/Constants.h:354:20: note: static llvm::Constant* llvm::ConstantArray::get(llvm::ArrayType*, llvm::ArrayRef<llvm::Constant*>) Could anyone tell me how to give a value (lets say "hello world") to the Array Constant using currently available get method? P...
2012 Jul 05
0
[LLVMdev] "symbol lookup error" while running a Simple Loop Pass
...D = 0; static RegisterPass<LoopInst> X("loop-inst", "loop instruction Pass"); I put it under llvm-src/lib/Transforms directory and ran a "make" from there to create the .so file. But when I run opt with the library, I get the following error - opt -load=/home/arnie/llvm-development/llvm/Debug+Asserts/lib/LoopInst.so -loops -loop-inst a.s opt: symbol lookup error: /home/arnie/llvm-development/llvm/Debug+Asserts/lib/LoopInst.so: undefined symbol: _ZNK4llvm8LoopBaseINS_10BasicBlockENS_4LoopEE11block_beginEv Can anyone tell me what I am doing wrong? Also what&...
2014 Apr 15
1
ASCIIfy() - a proposal for package:tools
Hi all, I would like to propose the attached function ASCIIfy() to be added to the 'tools' package. Non-ASCII characters in character vectors can be problematic for R packages, but sometimes they cannot be avoided. To make packages portable and build without 'R CMD check' warnings, my solution has been to convert problematic characters in functions and datasets to escaped
2010 Feb 11
1
Rounding multinomial proportions
I present you with a function that solves a problem that has bugged me for many years. I think the problem may be general enough to at least consider adding this function, or a revamped version of it, to the 'stats' package, with the other multinomial functions reside. I'm using R to export data to text files, which are input data for an external model written in C++. Parts of the
2012 Jul 05
1
[LLVMdev] "symbol lookup error" while running a Simple Loop Pass
...opInst> X("loop-inst", "loop instruction Pass"); > > > I put it under llvm-src/lib/Transforms directory and ran a "make" from there > to create the .so file. But when I run opt with the library, I get the > following error - > > opt -load=/home/arnie/llvm-development/llvm/Debug+Asserts/lib/LoopInst.so > -loops -loop-inst a.s > > opt: symbol lookup error: > /home/arnie/llvm-development/llvm/Debug+Asserts/lib/LoopInst.so: undefined > symbol: _ZNK4llvm8LoopBaseINS_10BasicBlockENS_4LoopEE11block_beginEv > > Can anyone tell me w...
2012 Feb 19
2
[LLVMdev] Problem While Running Test Suite
...be installed. I did not give --with-llvmgccdir and the --enable-optimized argument to configure. Because 3.0 doesn't come with llvmgcc source/binaries and I decided upon using the compatible version of dragon egg. While making dragon egg, I updated the makefile in the line LLVM_CONFIG?=/home/arnie/llvm/llvm-install/bin/llvm-config (llvm was installed inside llvm-install directory). It successfully produced the dragon egg .so file. Using this .so file I was able to compile simple c programs and manipulate them. The problem came when I am trying to compile test-suite. I downloaded the test...