Displaying 20 results from an estimated 8000 matches similar to: "Multithreading"
2003 Sep 04
5
subtract 2 columns in a data.frame
Dear list,
could someone point me to the right command to subtract 2 columns in a
data.frame. Might be a bit embarrassing question. But I cannot figure
out how to do this simple command in R.
Thanks, Ulrich
--
__________________________________________________
Ulrich Leopold MSc.
Department of Physical Geography
Institute for Biodiversity and Ecosystem Dynamics
Faculty of Science
University
2002 Sep 12
4
normal score transform
Dear list,
could someone point me to the normal score transform and it's use in R?
I would like to transform my data with normal score transform, do some
geostatsitical predictions and would like to transform the estimated values
back including the estimation variance.
Any suggestions?
Ulrich
--
__________________________________________________
Ulrich Leopold MSc.
Department of
2002 Apr 29
2
append with write.table()
Dear list,
I get the following message while trying to append an object to a file.
In addition it is not appended. Do you know why?
> write.table(PoxAv, "/home/uleopold/lsk_PoxAv", append=TRUE ,
quote=FALSE, sep="\t")
Warning message:
appending column names to file in: write.table(PoxAv,
"/home/uleopold/lsk_PoxAv", append = TRUE,
Regards, Ulrich
--
2004 May 05
5
syntax error in function 'for'
Dear list,
I get a syntax error for the following function:
for(na.omit(sqrt(D))>2) {na.omit(A)-(na.omit(B)+(na.omit(sqrt(C))))}
Any idea what is wrong?
I am using R 1.8.1 on Linux, Kernel 2.4.21-i686.
Regards, Ulrich
--
__________________________________________________
Ulrich Leopold MSc.
Computational Bio- and Physical Geography (CBPG)
Institute for Biodiversity and Ecosystem
2002 Sep 11
1
axis with negative values
How can I extend the axis of truehist with negative values. I need to plot
residuals from a stepwise regression.
Ulrich
--
__________________________________________________
Ulrich Leopold MSc.
Department of Physical Geography
Institute for Biodiversity and Ecosystem Dynamics
Faculty of Science
University of Amsterdam
Nieuwe Achtergracht 166
NL-1018WV Amsterdam
Phone: +31-(0)20-525-7456
2006 Sep 18
2
problems in sourcing R script
Dear list,
First my information:
platform i386-pc-linux-gnu
arch i386
os linux-gnu
system i386, linux-gnu
status
major 2
minor 3.1
year 2006
month 06
day 01
svn rev 38247
language R
version.string Version 2.3.1 (2006-06-01)
Now my question:
How is it possible that a command in an R script is not
2002 Jun 26
2
change column name in a function
Hi,
I have the following function:
TEST <- cbind(Pox0t30.stone.1990.2000,
sqrt(apply(Pox0t30.stone.1990.2000[,2:11], 1, var)))
In rhe resulting Object TEST the added column is titled:
sqrt(apply(Pox0t30.stone.1990.2000[,2:11], 1, var)
I would like to change it to a sensible variable name like PoxMean. How
can I incorporate this into the above function?
Ulrich
--
2002 Mar 20
1
Installing GRASS_0.1-4.tar.gz on RedHat7.1 Linux
Dear list,
I have a problem to install the GRASS_0.1-4.tar.gz on RedHat7.1 Linux.
The gmake5 is missing. But I am not quite sure what it is? Is it a gnu
version of MAKE? I could not locate it on my system and I do not know
what is really meant.
Any experience?
I get the following message:
----------------------------------------------------
bash-2.04$ R CMD INSTALL -l
2002 Sep 05
1
rcorr in Hmisc
Dear list,
I get the following message when I use rcorr in library "Hmisc"
------------------------------------------------------
> rcorr(lskPox0t30, type=c("spearman"))
Error in "[<-.data.frame"(*tmp*, is.na(x), value = 1e+30) :
matrix subscripts not allowed in replacement
------------------------------------------------------
I do not understand
2005 Dec 08
2
'mean' and 'sd' calculations do not match
Dear list,
I am using R 2.1.1 on a Fedora 3 Linux, 32 bit PC.
If I compute the aggregated mean and the standard deviation I get
standard deviation values for factors where the mean was not computed.
It seems to me that this is somehow related to the NA values. But I
don't quite understand what is going wrong?
Could it be related to the data import already? Some of the imported
data got the
2004 May 06
1
X11 fonts cannot be loaded - SuSE Linux solution
Dear list,
I would like to make a comment how to solve the X11 font problem under
SuSE Linux (9.0) when you get the message:
"X11 font at size 16 could not be loaded".
After having modified /etc/X11/XF86config as root (see below) you have
to run 'SuSEconfig' as root as well else nothing might be changed in the
X-Server.
After that no further messages should appear.
HTH,
2008 Sep 16
4
ubuntu hardy packages 32bit no tcltk support
Dear all,
I noticed that the r-base package for Ubuntu 8.04.1 do not have the
tcltk support compiled in. Would it be possible to correct this?
> echo "capabilities()" | R --no-save | tail -6
[Previously saved workspace restored]
> capabilities()
jpeg png tcltk X11 aqua http/ftp sockets libxml
TRUE TRUE FALSE TRUE FALSE TRUE
2004 Feb 11
1
Erro in loadNamespace
Dear list,
Iget the following error message:
> help.search("omit.na")
Error in loadNamespace(name) : package 'tools' does not have a name
space
I do not quite understand what it means in this case. Is something
corrupt in the installation?
I run R-1.8.1 in Linux RedHat 9 with kernel 2.6.2 on Intel P4.
Regards, Ulrich
--
2002 Mar 20
1
cannot open file .RDataTmp
Dear list,
since I have installed GRASS_0.1-8.tar.gz (devel) with R 1.4.1 on
RedHat7.1 Linux I get the following message when I want to save the
workspace image:
--------------------------------------------------
Save workspace image? [y/n/c]: y
Error in file(file, "wb") : cannot open file `.RDataTmp'
-------------------------------------------------
Where can I find the
2002 Jan 17
1
Multithreading inquiry
I noticed that the statically linked ogg/vorbis libraries for Windows are
multithreaded. I want to link them into a non-multithreaded application, so
I'm considering recompiling them to use the non-multithreaded C runtime. Is
this feasible, or do libogg and libvorbis rely on multithreading?
<p>--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage:
2002 May 27
1
sub functions
Dear list,
how can I write the following two lines in one function:
> Pox2 <- ave(lsk0t50$Pox2, lsk0t50$ProfN, Fun=is.na(lsk0t50$Pox2))
> Pox2 <- data.frame(Pox2)
The following does not work:
> Pox2 <- data.frame(Pox2 <- ave(lsk0t50$Pox2, lsk0t50$ProfN,
Fun=is.na(lsk0t50$Pox2)))
> names(Pox2)
[1]
2007 Aug 31
1
Plans for multithreading?
I was surprised, given the vector-ish nature of R, to see that
(according to my CPU meters) there doesn't seem to be any obvious
multithreading in R.
Are there any plans to change this?
2020 Apr 12
7
LLVM multithreading support
Hi all,
I was looking at the profile for a tool I’m working on, and noticed that it is spending 10% of its time doing locking related stuff. The structure of the tool is that it reading in a ton of stuff (e.g. one moderate example I’m working with is 40M of input) into MLIR, then uses its multithreaded pass manager to do transformations.
As it happens, the structure of this is that the parsing
2003 Jan 11
3
Multithreading
Hi.
I need to execute a function from within a GUI.
This seems to be no problem but this function takes about 4 minutes to
finish, which means the application doesn't react at all, while the
function is running.
Can I execute a function as a separate Thread, while keeping
control(e.g. a reference) of it at the same time?
If not, how do this with a class containing this function?
thanks,
2005 Feb 08
2
rename object
Dear list,
I would like to rename an object as follows:
SimLUall <- matrix(c(0,1,0,0, 1,0,0,0, 0,0,1,0, 0,0,0,1),nrow=4, ncol=4)
j <- 2
SimLUall2 <- SimLUall and j
The value of j should be assigned automatically to SimLUall.
How can I achieve this?
Regards,
Ulrich