Displaying 20 results from an estimated 2000 matches similar to: "About snow packages"
2006 Jan 12
2
tapply and weighted means
I' m trying to compute weighted mean on different
groups but it only returns NA. If I use the following
data.frame truc:
x y w
1 1 1
1 2 2
1 3 1
1 4 2
0 2 1
0 3 2
0 4 1
0 5 1
where x is a factor, and then use the command :
tapply(truc$y,list(truc$x),wtd.mean, weights=truc$w)
I just get NA. What's the problem ? What can I do ?
2008 Aug 04
1
R and emacs
I wrote a "program" truc.r with emacs
In emacs, I start the buffer R, then I eval the buffer truc.r (C-c C-b)
All is correct and I have my results.
But, when I return to Console R, and make:
> source ("truc.r"), I obtain an error:
Erreur dans source("truc.r") :
invalid multibyte character in parser at line 1
If I copy, line by line the instructions of the
2008 Aug 03
1
(sans objet)
- Peut-on poser des questions en fran?ais?
- Tr?s simple. Je fais un programme "truc.r" (sous emacs)
Ce programme r?alise des graphiques.
Je voudrais les enregistrer au fur et ? mesure -- sinon, quand la
session est finie, ces graphiques sont perdus--
J'ai essay?:
pdf("truc.pdf")
Mais le fichier "truc.pdf" cr?? est vide.
Comment fait-on?
Merci et salutations
2005 Oct 31
3
Applying a function to a vector
I have defined a function to compute the value of a
beta distribution of the second kind (the existing
beta distribution of th stats package is the beta
distribution of the first kind). It works perfectly
for a single value, but I want to apply it to a vector
of 22 000 values. I can use a loop for the calculation
of each value but it runs very very slowly.
So, what can I change ?
Hers's the
2007 Sep 11
3
dovecot sieve notify example?
Dear list,
I was trying to use the "notify" action with dovecot sieve
but I just couldn't get it work. The relevant lines look as follows:
,--------
|require ["fileinto", "notyfy"];
| if header :contains ["to", "cc"] ["userA at example.com", "userB at example.com"] {
| notify
| :method "mailto"
|
2010 Feb 23
1
RODBC to import/export xls files
Dear R users,
I've learned today about RODBC package in order to import xls file to
dataframes and export the dataframes to xls files.
However I have some problems. Please excuse me if these are basic but as
I said, I've just begun with this package.
Also this email is quite long, but everything is related, so I don't
think it would be better to split it. Moreover, there's a
2002 May 29
1
compile release 20020509 of Wine, failed! What's wrong? Please help...
compile release 20020509 of Wine, failed! What's wrong? Please help...
==============================================================
make[1]: Leaving directory `/0/acacia2/tlbach/temp/wine-20020509/server'
make[1]: Entering directory `/0/acacia2/tlbach/temp/wine-20020509/dlls'
make[2]: Entering directory
`/0/acacia2/tlbach/temp/wine-20020509/dlls/ntdll'
2011 Mar 30
1
Problem of: Trust relationship between 2 linux domains
Hi,
I've read John H Terpstra's discussion on Google Groups about Trust
Relationship between 2 linux domains.
http://groups.google.com/group/linux.samba/browse_thread/thread/61ca10be6b510910/472abfdb7bf62c34?lnk=gst&q=trust+relationship#472abfdb7bf62c34
Follow these instructions, i 've done but there were errors, can you help
me?
When I used WinXP, it listed 2 domains, but I
2005 Jan 21
2
* creating vignettes ... ERROR
Dear R developers,
I had some problem when building package: for exemple when building the
package e1071 available from CRAN, I get the following message error:
* checking for file 'e1071/DESCRIPTION' ... OK
* preparing 'e1071':
* cleaning src
* running cleanup
* creating vignettes ... ERROR
/usr/lib/R/bin/texi2dvi: pdflatex exited with bad status, quitting.
2005 Aug 04
1
Help : Installation of Office XP with Wine May 2005
Dear all Wine-users,
I'm last-year student of Hanoi University of Technology in Vietnam.
My graduate thesis has important part relate to Wine and installation of Windows applications in Linux via Wine. I have completed all part of my thesis except Wine related part.
I installed Office XP with Wine May 2005 and it always failed. Before installed Office, I had installed Dcom98.exe ,
2005 Aug 21
1
Warning when using 'prelim.mix' from the package 'mix'
'sodexquan' is an data frame of numeric variables with some missing values.
I would like to approximate these missing values using some algorithm.
I thereby chose the mix package.
But when trying to run the 'prelim.mix' function (aka the function that will
prepare the data for further calculations), R says:
prelim.mix(truc,0)
Error in as.integer.default(list(c(32, 52, 32, 27, 34,
2018 Aug 21
2
Function optimization pass
Hi Philip,
Thanks for the response. Under llvm-5.0.2 and llvm-6.0.1 in Debug mode, the
crash hit at the same assertion:
/usr/local/include/llvm/IR/PassManager.h:689: typename PassT::Result&
llvm::AnalysisManager<IRUnitT, ExtraArgTs>::getResult(IRUnitT&, ExtraArgTs
...) [with PassT =
llvm::InnerAnalysisManagerProxy<llvm::AnalysisManager<llvm::Loop,
2018 May 09
2
ScalarEvolution questions
Hi,
I'm new to ScalarEvolution and wanted to explore its capabilities.
I have following few questions:
1) How to compare SCEV expressions.
I have a situation to compare two SCEV to find the min among them.
Found an existing function(getMinFromExprs) in LoopAccessAnalysis which compares two SCEVs.
getMinFromExprs function finds the diff between two SCEV's and then checks for the negative
2006 Jun 15
2
Name of a column
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?...
Nom : non disponible
Url : https://stat.ethz.ch/pipermail/r-help/attachments/20060615/8bdef5dc/attachment.pl
2000 Jun 19
1
configure problem on UnixWare 7.1.1
Anyone can locate what was wrong with the below problem on UnixWare 7.1.1 ?
The file rand.h was finally found in one of the tests but configure still
failed with
...
checking for getpagesize... yes
checking for OpenSSL directory... configure: error: Could not find working
SSLeay / OpenSSL libraries, please install
Thanh
configure:2302: gcc -o conftest -g -O2 -Wall -I/usr/local/include
2007 Mar 27
1
Using nnet
I have a problem when using nnet to predict the negative values. For example
:
X = matrix(c(1,1,0,0,1,0,1,0),4,2)
X
Y = matrix(c(0,1,1,0)) - 0.5 # XOR - 0.5
Y
nn = nnet(X,Y,size=3)
val = predict(nn,X)
val # this is expected to be close to Y, but it's not !
The 'val' is always positive. I tried to change the options, but the result
isn't much better.
Could someone give me an
2008 Aug 13
2
Tiny help for tiny function
I just started to write tiny functions and therefore I appologise in advance
if I am asking stupid question.
I wrote a tiny function to give me back from the original matrix, a matrix
showing only the values smaller -0.8 and bigger 0.8.
y<-c(0.1,0.2,0.3,-0.8,-0.4,0.9)
x<-c(0.5,0.3,0.9,-0.9,-0.7,0.3)
XY<-rbind(x,y)
extract.values<-function (x)
{
if(x>=0.8|x<=-0.8)x
2012 Oct 04
1
(minor) R syntax error in help page to the function makeCluster of library(snow)
Dear list,
I just realized that one of the examples given in the help page to the
function makeCluster of the library(snow) has a small syntax error :
## to get started
library(snow)
?makeCluster
.. will open a halp page containing the command towards the end of the
examples :
cl <- makeCluster(c(rep(list(macOptions), 2), rep(list(lnxOptions), 2),
rep(list(winOptions),
2018 May 10
0
ScalarEvolution questions
Hi Ashutosh,
On Wed, May 9, 2018 at 3:28 AM, Nema, Ashutosh via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> I’m new to ScalarEvolution and wanted to explore its capabilities.
>
> I have following few questions:
>
> 1) How to compare SCEV expressions.
>
> I have a situation to compare two SCEV to find the min among them.
>
> Found an existing
2008 Dec 15
1
newbie question on snow/Rmpi
I have a network of four machines set up. I'm having trouble spawning
my slaves on these machines.
All the examples I have found so far use makeCluster with type="MPI",
and I guess I'm missing some kind of cluster configuration in my
environment variables because all my clusters are formed on the
machine where my initial session is running.
Can anyone refer me to a link that