Displaying 20 results from an estimated 5000 matches similar to: "Assignment from list"
2007 Apr 18
2
Error loading libraries in MAC
Hi I just installed the gmodels package
and the installation was successful but when I was trying to load the
library I got an error (see below).
Interesting, yesterday I wrote to the maintainer of RSQLite apckage
because I got the same error.
Does somebody knows what is going on ??
thanks,
Mayte
library(gmodels)
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load
2007 Apr 18
2
Error loading libraries in MAC
Hi I just installed the gmodels package
and the installation was successful but when I was trying to load the
library I got an error (see below).
Interesting, yesterday I wrote to the maintainer of RSQLite apckage
because I got the same error.
Does somebody knows what is going on ??
thanks,
Mayte
library(gmodels)
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load
2006 May 09
4
ks.test one-sample - where can I get a list of the strings specifying the distribution?
Dear all,
One can use ks.test(x,y) for a one-sample kolmogorov-smirnov test:
x being the data sample
y being a string specifying a distribution
I notice the help on ks.test does not tell you how to get such a list. Is
this a hole in my R knowledge?
Where can I get a list of the strings specifying the possible
distributions?
and more specifically
What would be the string and following
2007 Apr 12
2
problems in loading MASS
Hi, there:
After I upgraded my R to 2.4.1, it is my first time of trying to use
MASS and found the following error message:
> install.packages("MASS")
--- Please select a CRAN mirror for use in this session ---
trying URL 'http://cran.cnr.Berkeley.edu/bin/macosx/universal/contrib/2.4/VR_7.2-33.tgz'
Content type 'application/x-gzip' length 995260 bytes
opened URL
2011 Aug 27
3
all combinations of the elements of two vectors
Dear R-help readers,
I'm sure this problem has been answered but I can't find the solution.
I have two vectors
v1 <- c("a","b")
v2 <- c(1,2,3)
I want an easy way to produce every possible combination of v1, v2 elements
Ie I want to produce
c("a1","a2","a3", "b1","b2","b3")
regards
Desmond
Desmond
2006 Dec 21
4
where is the source code of bca.ci?
i was searching for the source of bca.ci, a function of the package
boot. I tried
require(boot, keep.source=TRUE)
but again the source was not viewable. How should i do?
Best regards
Meinhard Ploner
----------------
PS
> version
_
platform i386-apple-darwin8.8.1
arch i386
os darwin8.8.1
system i386, darwin8.8.1
status
major 2
2007 Apr 09
1
Could not fit correct values in discriminant analysis by bruto.
Shuji,
I suspect that bruto blows up because your data are linearly separable.
To see this (if you didn't already know), try
library(lattice)
splom(~x, groups = y)
and look at the first row. If you are trying to do classification, there
are a few methods that would choke on this (logistic regression) and a
few that won't (trees, svms etc). I would guess that bruto is in the
latter
2004 Jan 26
5
conditional assignment
Hi all
I want to conditionally operate on certain elements of a matrix, let me
explain it with a simple vector example
> z<- c(1, 2, 3)
> zz <- c(0,0,0)
> null <- (z > 2) & ( zz <- z)
> zz
[1] 1 2 3
why zz is not (0, 0, 3) ?????
the null <- assignment is to keep the console silent
in the other hand, it curious that null has reasonable values
> null
[1]
2012 Jan 09
3
problem with R installation package
Dear,
I have created my first package "G2Sd : Grain Size Statistiques and
Description". I submitted it to the CRAN after I have checked the
tar.gz file. All was ok, but since it is on the CRAN I can't install
it :
In getDependencies(pkgs, dependencies, available, lib) :
package ?G2Sd? is not available (for R version 2.13.2)
I've got the same message with R 2.14.1.
In
2009 Jun 08
2
help to speed up loops in r
Hi
i am using a script which involves the following loop. It attempts to reduce a data frame(zz) of 95000 * 41 down to a data frame (averagedreplicates) of 95000 * 21 by averaging the replicate values as you can see in the script below. This script however is very slow (2days). Any suggestions to speed it up.
NB I have also tried using rowMeans rather than adding the 2 values and dividing by 2.
2009 May 15
2
Help with loops
Hi
I am trying to create a loop which averages replicates in my data.
The original data has many rows. and consists of 40 column zz[,2:41] plus row headings in zz[,1]
I am trying to average each set of values (i.e. zz[1,2:3] averaged and placed in average_value[1,2] and so on.
below is my script but it seems to be stuck in an endless loop
Any suggestions??
for (i in 1:length(average_value[,1])) {
2009 Nov 04
4
unexpected results in comparison (x == y)
Dear readers of the list,
I have a problem a comparison of two data from a vector. The comparison
yields FALSE but should be TRUE. I have checked for mode(), length() and
attributes(). See the following code (R2.10.0):
-----------------------------------------------
# data vector of 66 double data
X =
2009 May 15
1
Fw: Help with loops(corrected question)
--- On Fri, 15/5/09, Amit Patel <amitrhelp at yahoo.co.uk> wrote:
> From: Amit Patel <amitrhelp at yahoo.co.uk>
> Subject: Help with loops
> To: r-help at r-project.org
> Date: Friday, 15 May, 2009, 12:17 PM
> Hi
> I am trying to create a loop which averages replicates in
> my data.
> The original data has many rows. and consists of 40 column
> zz[,2:41]
2018 Mar 22
2
Google Cloud Directory Service password synchronization for AD DC
Hello, and thank you for the answer. I'm quite new to Samba, and when you
speak about Samba storing a crypt() password hash and about the
virtualCryptSHA256 attribute I get the general meaning, but not the way to
get to those informations.
Would you have any pointer on where I could learn more about that ? I found
discussions about some patches from Stefan Metzmacher in the mailing lists,
is
2011 Aug 03
2
syntax with do.call and `[`
Dear List,
i would like to mimic the behaviour or the following indexing with a do.call construct to be able to supply the arguments to `[` as a list:
test = matrix[1:4,2]
result = test[2,]
My try, however, did not work:
result = do.call(`[`,list(test,2,NULL))
result = do.call(`[`,list(test,2,))
result = do.call(`[`,list(test,2,''))
How can I use the do.call in that way with
2007 Mar 17
1
problem with mfg argument of par
I'm having a problem with the mfg option of par. Am I making an error in my
usage? Here is a simple example that I thought would plot to the 4 corners
of a 2x2 plot but doesn't plot to the lower right and plots twice on the
upper left.
par(mfrow = c(2, 2))
pos <- as.matrix(expand.grid(1:2, 1:2))
for (ix in 4:1) {
par(mfg = pos[ix, ])
plot(1:5)
}
Thank you in advance.
R version
2008 Jul 30
1
model mix problem. FALSE CONVERGENCE
Hi R users
I try to use the lme but I can?t!!!!!
My script is (some words in french, sorry!!):
rm(list=ls(all=TRUE)) #Efface tous les objets en m?moire pour ?viter des
erreurs
library(MASS) #Chargement des Librairies
library(car)
library(Hmisc)
library(tkWidgets)
library(svDialogs)
library(multtest)
library(nlme)
#Rep <- "C:/Documents and Settings/U3M/Bureau/steph/Scripts
2010 Jun 22
4
seek() and gzfile() on 32-bit R2.12.0 in linux
I have installed both 32-bit and 64-bit versions of R2.12.0 (2010-06-15
r52300) on my Ubuntu 10.04 64-bit system. I observe the following behavior
when running the examples from base::connections. There appears to be a
problem with seek() on a .gz file when using a 32-bit installation of
R2.12.0, but the problem doesn't appear in the 64-bit installation. I
realize that seek() has been
2007 Apr 19
0
Package loading shows missing libraries in Mac OS X
I've been using R actively for only the past few months under Mac OS
X, but have found a few situations where I cannot get a package to
load. This seems like the same situation reported recently on the
thread "R-2.4.1 for MacOS X - languageR, acepack, Hmisc":
> > library(Hmisc)
> Error in dyn.load(x, as.logical(local), as.logical(now)) :
> unable to load shared
2005 Aug 29
4
ttda on R 2.1.1: error
Hello,
I'm trying to use the package ttda, wich is involved in text analysis,
for my own data about answers in a company survey.
I've installed it, as well as ispell, but when trying to use an example:
> zz <- file("stupid.txt", "w") # build a data file
> cat("{comment - stupid data file} \n" , file = zz)
> cat("<uci=1>