Displaying 20 results from an estimated 300 matches similar to: "addition to Index vectors get overwriten ?!"
2001 May 03
3
Index vectors get overwriten ?!
Hello,
For some analysis of a mesh structure I need to prepare several vectors
of indexes of different length. This is done by the following code
sequence (including diagnostic output):
#--------------------------------------------------
MT_ind <- which(V1.frame[,2] %in% mm[,1])
print("M_ind")
str(M_ind)
Q1_ind <- which(V1.frame[,2] %in% mq1)
print("Q1_ind")
2001 Mar 20
3
finding dedicated indexes?
Hi,
I've got a matrix of two columns, say:
> d <- t(array(1:20,dim=c(2,10)))
> d
[,1] [,2]
[1,] 1 2
[2,] 3 4
[3,] 5 6
[4,] 7 8
[5,] 9 10
[6,] 11 12
[7,] 13 14
[8,] 15 16
[9,] 17 18
[10,] 19 20
now I need those values from column #2 where column #1 is equal to
certain values. eg.:
> i <- c(13,5,19)
The
2001 Jun 11
1
R-devel on alpha Tru64: cxml/dxml problem (PR#977)
Hi,
I just run a ./configure --enable-R-shlib; make; make check; with a recent
(11.6.2001) R-devel snapshot on Tru64 4.0F (with libcxml):
make check stops in base-Ex.R at:
> ###--- >>> `plot.window' <<<----- Set up World Coordinates for Graphics
Window>
> ## alias help(plot.window)
>
> ##___ Examples ___:
>
> ##--- An example for the use
2025 May 23
1
FR: improve "use" function
Hello,
Currently `use` fails silently if you try to attach functions from the
same namespace. It would be nice and more similiar to the use of
roxygen2 if it could add (and maybe even remove?) functions. Here is a
simple proof of concept I have posted on Stack Overflow [1]. Something
similar could be done within `use`. Of course, it would be preferable if
it didn't need to detach the
2004 Aug 16
2
place 4 ini files
Dear expeRts,
I collect some lab specific functions for a package.
Some of this functions need initial data
(ini files written in R-code). My question is:
Where is the place in the package structure for such files;
how to load the files?
I think something like:
source(paste(R.home(),"/library/__pkg__/data/__.ini.R", sep=""))
looks a bit clumsy.
I haven't find something
2025 May 23
1
FR: improve "use" function
> Of course, it would be preferable if didn't need to detach the namespace.
Here's a version only detaches the namespace when necessary:
```r
use <- function(package, include.only) {
package <- as.character(package)[[1L]]
if (!requireNamespace(package, quietly = TRUE)) {
warning("there is no package called ", sQuote(package))
return
2025 Jan 07
1
Small typo in nlme documentation
Hi,
I've noticed a small typo in `help("varClasses", "nlme")`. Contrary to
what the "Note" says, variance classes need a method for `Initialize`
(capital i) and not `initialize`.
Best regards,
Roland
--
Dr. Roland Fu?
Th?nen-Institut f?r Agrarklimaschutz/
Th?nen Institute of Climate-Smart Agriculture
Bundesallee 65
D-38116 Braunschweig, Germany
2001 Jan 11
0
problem with strptime example (and mention of bug.report) (PR#811)
Hi,
The help file for strptime has the following code which doesn't work
for me:
## read in date info in format `ddmmmyyyy'
x <- c("1jan1960", "2jan1960", "31mar1960", "30jul1960")
z <- strptime(x, "%d%b%Y")
> z
[1] "NA" "NA" "NA" "NA"
Do these work for other people?
2001 Jun 01
1
Installing Rstreams lib
Dear R-helpers,
I am trying to install Rstreams library on the following platform:
----------------------------
platform alphaev67-dec-osf5.0
arch alphaev67
os osf5.0
system alphaev67, osf5.0
status
major 1
minor 2.3
year 2001
month 04
day 26
language R
---------------------------
Unfortunately, I get these error messages:
---------------------------
> [557] R
2006 Apr 26
0
R Installation problem
Dear R users,
I was trying to install "R" on an ALPHA running OSF1/V5.1 for individual
use, but warning messages came out when I run "./configure" and "make".
The following is part of output:
% ./configure --prefix=$home/r
checking build system type... alphaev67-dec-osf5.1b
checking host system type... alphaev67-dec-osf5.1b
loading site script
2011 Jun 11
1
[LLVMdev] alpha assembler with llc
Hi,
I configure llvm to generate code for alpha. I use a the following steps to
generate code from the source files:
1) llvm-gcc -c main.c -emit-llvm main.bc
2) opt -load <library fo myPass> -myPass main.bc main.opt.bc
3) llc -march=alpha main.opt.bc -o main.S
4) alphaev67-unknown-linux-gnu-as main.S -o main.o
Most of the files that i compile run just fine. Suddenly, i have hit on a
file
2001 Jan 11
2
problem with strptime example (PR#811)
On Thu, 11 Jan 2001 stephen@anc.ed.ac.uk wrote:
> Hi,
>
> The help file for strptime has the following code which doesn't work
> for me:
>
> ## read in date info in format `ddmmmyyyy'
> x <- c("1jan1960", "2jan1960", "31mar1960", "30jul1960")
> z <- strptime(x, "%d%b%Y")
> > z
> [1]
2025 May 27
1
FR: improve "use" function
>>>>> Trevor Davis writes:
Thanks.
This is really about what
library("foo", include.only = "fun2")
should do if package 'foo' was already attached and the include.only
contradicts a previous specification.
In principle, one could look into allowing the underlying
attachNamespace() to add more exports into the package environment (the
'only'
2003 Jan 28
2
rsync 2.5.6 fails on Tru64 v5.0 with rsync://<hostname>/
I've just compiled 2.5.6 release on Tru64 V5.0A (configure detects
alphaev67-dec-osf5.0, gcc release is a 3.1.1).
rsync fails using rsync://<hostname>/ syntax.
> lct@goliath(32) [rsync-2.5.6]$ ./rsync rsync://stitch/
> rsync: getaddrinfo: stitch 873: servname not supported for ai_socktype
> rsync error: error in socket IO (code 10) at clientserver.c(83)
Is there anyone else
2004 Jul 28
1
Please share your Solaris experiences on the Asterisk Solaris Wiki page
Logan O'Sullivan Bruns wrote:
> I know Solaris isn't a well tested platform and I did
have to make
> some minor code changes to get to compile on my sun box.
Well done!
We need more momentum for Asterisk on non-Linux platforms.
Building a community around Solaris much like there is a
community around BSD, would be very helpful. This will
only happen if Solaris users start sharing
2003 Aug 20
1
Neural Networks in R
Hello!
We are a group of three students at Bielefeld University currently working
on a statistical projects about neural networks. Within the framework of this
project we are supposed to use the nnet-function in R and explain how it
works. Since anyone of us has much experience in using R we hoped to find some
information on your homepage. Unfortunatelly, we haven't been very successfull
so
2007 Mar 29
1
connection problems
hello,
so today i started setting up a puppet server and client and am already
having a problem (even before i started). the client tries to talk to the
server for the first time to get a certificate.
debug: Calling puppetca.getcert
that is what it says as last line on the client. tcpdump says there are
four packages transmitted between the hosts.. all coming from the client
and going to the
2007 Apr 03
1
rpm package for sles10
Hi,
I thought about changing the RPM package the guys of Redhat created,
because I wanted an Init Script for SLES10 built-in. I started documenting
the steps I took. Maybe it''s useful for someone else, although in German..
but the basic steps should be useable.
My little Installating puppet Howto:
http://wiki.njh.eu/Konfigurationsmanagement#Installation_3
The Init Script for SLES10:
2001 Nov 07
1
Configuring 2.2.2 (or 2.0.7) on Digital Unix 4.0f fails - "No locking"
When I run configure on either a DU server running 4.0f or a DU client
running 4.0d, I receive the following error:
ERROR: No locking available. Running Samba would be unsafe
configure: error: summary failure. Aborting config
Most directories are mounted using nfs v2 or nfs v3. rpc.lockd and
rpc.statd are running on servers and clients. The rpcinfo -p command shows
nlockmgr and llockmgr
2005 Mar 10
1
R_alloc with more than 2GB (PR#7721)
Full_Name: Wolfgang Huber
Version: R-devel_2005-03-10
OS: alphaev68-dec-osf4.0f
Submission from: (NULL) (62.253.128.15)
This report concerns allocation of large (>2^31 byte) chunks of memory with
R_alloc. I suspect it is a bug/typo but please don't hate me if it's actually a
feature:
In R, I can happily create large matrices:
> a= matrix(0, nrow=191481, ncol=3063)
> dim(a)
[1]