Displaying 20 results from an estimated 5000 matches similar to: "Error in update() when repositories is specified."
2005 Apr 20
3
if(foo == TRUE) .. etc
Martin Maechler wrote:
> More generally, please, please, everyone :
>
> Replace
> if (something == TRUE)
> with if (something)
> and
> if (something.or.other == FALSE)
> with if (!something.or.other)
Amen! And right on! And you tell 'em! And a few other
exclamations, several of which are not suitable for a family
program.
That sort of syntax,
2005 Aug 22
1
cbind and rbind
Hi, I have been trying for a while to use cbind and rbind to add a row and column to the same table but seem to be able only to add one OR the other???
Any help would be most welcome,
Tony Evans
Australia
[[alternative HTML version deleted]]
2005 Apr 29
2
congratulations to the JGR developers
Just want to offer my congratulations to the JGR developers as the recepient
of the 2005 Chambers Award. Great job, guys!!
http://stats.math.uni-augsburg.de/JGR/
[Now, could JGR be updated to work with 2.1.0 (or be made R version
independent, please... 8-)]
Best,
Andy
2004 Nov 11
6
scan or source a text file into a list
I've ported somebody else's rather cumbersome Matlab model to R for
colleagues that want a free build of the model with the same type of I/O.
The Matlab model reads a text file with the initial parameters specified as:
C:\Data\Carluc\Rport>more Params.R
# Number of years to simulate
nYears = 50;
# Initial year for graphing purposes
year0 = 1970;
# NPP/GPP ratio (cpp0 unitless)
fnr =
2007 Apr 23
1
Package installed, functional but not available
Hello,
when I run packageStatus(), I get the following results:
> packageStatus()
Number of installed packages:
ok upgrade unavailable
/home/fernando/my_library 38 0 1
/usr/local/lib/R/library 28 0 0
Number of available packages (each package/bundle counted only once):
installed
2006 Apr 07
3
finding common elements in a list
Suppose I have a list where I want to extract only the elements that occur
in every component. For instance in the list foo I want to know that the
numbers 2 and 3 occur in every component. The solution I have seems
unnecessarily clunky. TIA, Andy
foo <- list(x = 1:10, y=2:11, z=1:3)
bar <-unlist(foo)
bartab <- table(bar)
as.numeric(names(bartab)[bartab==length(foo)])
2008 Mar 08
5
Non-visible functions are asterisked
Dear R-Helpers,
I suspect I'm about to ask a FAQ, but I haven't been able to find an
answer in the FAQ, AItR or an R Site Search. When I look at the methods
of summary (below) it says, "Non-visible functions are asterisked". I
looked at the help file for summary.princomp, which did not comment on
it being non-visible. I ran its help file example, which printed visible
output. I
2004 Nov 02
1
install.packages, bundles, pmatch, and Rprofile...
Hi,
Somebody asked me to make sure that all the machines running the in our lab
(XP and Linux, both running 2.0) have R installed and that A) All the
packages are installed and B) kept up-to-date.
Obediently, I began to modify a shared Rprofile so that once a week it
checks for new packages and updates to the current version of the installed
packages on CRAN. Sounds simple enough. Plus some
2006 Mar 10
1
add trend line to each group of data in: xyplot(y1+y2 ~ x | grp...
Although this should be trivial, I'm having a spot of trouble.
I want to make a lattice plot of the format y1+y2 ~ x | grp but then fit a
lm to each y variable and add an abline of those models in different colors.
If the xyplot followed y~x|grp I would write a panel function as below, but
I'm unsure of how to do that with y1 and y2 without reshaping the data
before hand. Thoughts
2005 Nov 10
2
ltext - adding text to each panel from a matrix
Hi all (really probably just Deepayan):
In the plot below I want to add text on either side of each violin plot that
indicates the number of observations that are either positive or negative.
I'm trying to do this with ltext() and I've also monkeyed about with
panel.text(). The code below is generally what I want but my calls to
ltext() are wrong and I'm not sure how to fix them.
2002 May 18
3
checkerboard plot?
Hi,
I've been doing a lot of CA modeling lately and am now wanting to make some
checkerboard plots in R.
Let's say I have a matrix:
> is.matrix(junk)
[1] TRUE
> junk
[,1] [,2] [,3] [,4] [,5]
[1,] 0 0 1 0 0
[2,] 0 1 1 1 0
[3,] 0 1 0 0 1
[4,] 0 1 1 1 1
[5,] 0 1 0 0 0
>
and I want to make a
2017 Aug 25
6
[Bug 2765] New: ssh-copy-id appears to hang indefinitely when the target user has no password
https://bugzilla.mindrot.org/show_bug.cgi?id=2765
Bug ID: 2765
Summary: ssh-copy-id appears to hang indefinitely when the
target user has no password
Product: Portable OpenSSH
Version: 6.6p1
Hardware: All
OS: Linux
Status: NEW
Severity: trivial
Priority: P5
2003 May 13
3
Sorting a matrix in an odd way
Hi, I have a matrix not unlike this:
foo <- matrix(,5,5)
foo[5,1] <- 1
foo[1:3,2] <- 1
foo[3:4,3] <- 1
foo[4:5,4] <- 1
foo[2:4,5] <- 1
foo
[,1] [,2] [,3] [,4] [,5]
[1,] NA 1 NA NA NA
[2,] NA 1 NA NA 1
[3,] NA 1 1 NA 1
[4,] NA NA 1 1 1
[5,] 1 NA NA 1 NA
I want to get a vector that is the column numbers as sorted
2012 Apr 16
1
Can't install package gbm, because packageVersion is not an exported object from namespace::Utils
I'm running R 2.11.1 on 64 bit Debian. I've had no problem installing any
other CRAN packages, but installing package "gbm" fails due to:
*** installing help indices
** building package indices ...
** testing if installed package can be loaded
Error : .onAttach failed in attachNamespace() for 'gbm', details:
call: NULL
error: 'packageVersion' is not an
2003 Nov 13
1
Installing packages
Running under Redhat 7.3 Linux I have installed R Version 1.8.0
(2003-10-08) from a binary download using the rpm manager.
Using packageStatus(), I am attempted to upgrade several packages.
This is unsuccessful with the following error messages:
* Installing *source* package 'MASS' ...
** libs
gcc -I/usr/lib/R/include -I/usr/local/include -D__NO_MATH_INLINES
-mieee-fp -fPIC -O2
2005 Aug 19
4
Advice about system for installing & updating all R package in a Linux Lab?
Good day:
I'm administering 6 linux systems (FC4) in a student lab and worry that
users may want packages that are not installed. I get tired of adding
them one by one. Then I happened upon this page
http://support.stat.ucla.edu/view.php?supportid=30
about installing all R packages from CRAN. That did not run as it was,
but after some fiddling I arrived at the following script, which
2004 Nov 17
4
summary.lme() vs. anova.lme()
Dear R list:
I modelled changes in a variable (mconc) over time (d) for individuals
(replicate) given one of three treatments (treatment) using:
mconc.lme <- lme(mconc~treatment*poly(d,2), random=~poly(d,2)|replicate,
data=my.data)
summary(mconc.lme) shows that the linear coefficient of one of the
treatments is significantly different to zero, viz.
Value Std.Error
2004 Nov 11
3
R "sumo" package suggestion
r-help:
I have an R package suggestion. After spending
several hours the other day installing about a dozen
packages, I had an idea. In xemacs, there is a
"sumo" package which allows me to install a large
bundle of xemacs packages at one time (about a 120
modes including ESS). I think R should have a
similar bundle. It would be so much easier than
hunting/downloading/installing.
2005 Oct 16
4
Cannot telnet to port 5038 on asterisk
Hi,
I cannot do the following:
telnet 127.0.0.1 5038
I get connection refused and this is preventing AMP from installing. I
had this working when I was using FC3 but I had to upgrade to FC4 for
another application. So I am running PHP5, MYSQL 4 with FC4 and asterisk
is running (I had this problem before with FC3 and it turned out
asterisk was not running) I am using 1.2.0 beta1 Asterisk
2006 Apr 26
3
copying previously installed libraries to R 2.3.0
hi all,
is there a new mechanism in R 2.3.0 for copying libraries from, say, R 2.2.1 to R 2.3.0? i ask because gabor grothendieck comments in his copydir.bat (from gabor's batchfiles at: http://cran.r-project.org/contrib/extra/batchfiles/batchfiles_0.2-5.zip ):
``:: I personally upgraded my 2.1.0 to 2.2.0 this way so it seems ok until
:: R replaces this with something better which is