Displaying 20 results from an estimated 2000 matches similar to: "Problems installing and updating packages for 2.1.0 on Windows 2000"
2006 Feb 13
1
Windows GUI package install annoyance
Folks:
A minor (R 2.2.0) Windows package install annoyance, but I can't figure out
how to fix it. If someone could tell me how or point me to the appropriate
docs, I would appreciate it.
I set my CRAN mirror in my Rprofile.site file. After startup, I get:
> getOption('repos')
CRAN
"http:/cran.cnr.berkeley.edu/"
>
However, when I then go
2006 Feb 17
3
Basic R Problem
> To: Anyone Who Can Help
I am new to R and am trying to install a couple of packages but receive
this warning/error message. Please help by providing suggestions or
solutions to this problem
>> chooseCRANmirror()
>> utils:::menuInstallPkgs()
> Warning: unable to access index for repository
> http://www.ibiblio.org/pub/languages/R/CRAN/bin/windows/contrib/2.2
> Warning:
2005 Aug 25
1
Attempting to recode elements contained in a list
Hello R-Masters,
I have a list 's' with three elements, as shown below. I want to recode a.a, a.a2, and a.a3 to NA if the value in a.a is less than 3.
I reivewed my Modern Applied Statistic Book, the online help and did some searching of R-help on the internet. I explored unlist and as.list.data.frame in an attempt to isolate the third element of the list s, but this was not helpful.
2003 Oct 07
3
Problem getting an ifelse statment to work
This is a "long" way; i.e., not necessarily efficient:
> qs2
[1] 2 1 1 4 4 4 1 1 1 4 2 4 3 1 4 3 3 2 4 3
> qs9
[1] 4 4 1 3 4 3 1 3 1 4 1 2 3 3 4 4 1 4 2 3
> decision <- function(a, b) {
+ if (a == 1 || b == 1) return(1)
+ if (a == 2 || b == 2) return(2)
+ if (a == 3 || b == 3) return(3)
+ if (a == 4 || b == 4) return(4)
+ NA
+ }
> mapply(decision,
2004 Jun 06
4
Request help writing a function
I have been wrestling with this function for quite a while, and am not making headway.
1) I want to apply a function to the following columns of a dataframe:
myfunction. <- apply(ph5028[,c(83:107)],2,function(x) ...
2) Within each of the above columns there is a single numeric code, 1, 2 or 3 or an NA.
3) My goal is to determine the percent of time each person used a 2 code. So if a person
2011 Feb 11
1
problem with installing packages
Dear:
I am recnetly trying to install some libraries. However, I found this issue for both my laptop and desktop even I uninstall and install it again.
I even can not update the R now.
I wonder if you have the similar issue.
Thakns!
Xin
> chooseCRANmirror()
Warning message:
In open.connection(con, "r") :
unable to connect to 'cran.r-project.org' on port 80.
>
2009 Jan 08
1
library error on start up, error on update packages
Hello,
I am unable to update packages. I am running R version 2.8.1 (2008-12-22)
under VISTA. When I start R I get the following error:
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
Error in library(package, lib.loc = lib.loc, character.only = TRUE,
logical.return = TRUE,
2010 Sep 01
1
CRAN Mirror definition error.
Hello,
I was wondering if anyone has run across this problem in the past and might be able to suggest a solution.
I did a review of the FAQ's link trying to find a topic that closely related to the experience I was having, however I didn't see
anything that might help in diagnosing the problem.
While invoking the options under the "package" menu I get the following errors:
2007 Oct 30
2
Where can I find package "segmented" ?
I tried to install "segmented" from three different repositories but I keep
getting the following message on R window: ... Please, advice where to find
this package.
Thank you in advance.
Maura
> utils:::menuInstallPkgs()
--- Please select a CRAN mirror for use in this session ---
Warning: package 'segmented' is in use and will not be installed
> utils:::menuInstallPkgs()
2004 Mar 04
4
A file manipulation question
Hello R experts,
The following problem outstrips my current programming knowledge.
I have a dataframe with two fields that looks like the following:
ID Contract
01 1
01 1
02 2
02 3
02 1
03 2
03 2
03 2
03 1
03 1
03 1
etc...
I would like to end up with a dataframe with one row per ID where the value in the contract field would be the
2004 Dec 21
2
How to display each symbol in a different color using plot with summary.formula.reverse
Dear R Masters,
I have searched high and low (the help archives and my various R reference material and help files) for a solution to what appears to me to be quite a simple problem. In the following syntax, variable n10 has three levels. I would like the symbols that appear in the graph for these three levels to be different colors. The best I have been able to do is to have the Key display
2005 Jun 16
1
motivation for setRepositories and chooseCRANmirror
I have some questions and observations about these:
Will these replace manually setting options(CRAN), which doesn't work in
R-2.1.0?
In R-2.1.0, setRepositories() looks to see if options("repos") contains
a CRAN entry and will not override that CRAN entry even if the
$R_HOME/etc/repositories file (which setRepositories reads from)
contains a CRAN entry. Why is this? The user
2004 Apr 03
3
Seeking help for outomating regression (over columns) and storing selected output
Hello,
I have spent considerable time trying to figure out that which I am about to describe. This included searching Help, consulting my various R books, and trail and (always) error. I have been assuming I would need to use a loop (looping over columns) but perhaps and apply function would do the trick. I have unsuccessfully tried both.
A scaled down version of my situation is as follows:
2003 Jan 06
2
R and file size
I will be involved with an analysis based on a file that will be roughly 25 meg. Assuming I have enough memory, is their any limitations to using R on a file this large.
Thank you,
Gregory L. Blevins
Vice President, Partner
The Market Solutions Group, Inc.
gblevins at marketsolutionsgroup.com
Office phone: 612 392-3163
Cell phone: 612 251-0232
2003 Aug 18
1
Would like to apply a weight variable to the summary function in Hmisc
Hello,
In the Hmisc package, functions describe and summarize can explicitly take a
weight variable.
My question is can a weight variable be applied when using 'summary'?
For example, using...summary(var1 ~ var2) I would like to weight the data
by var 3 (same length).
Is this possible?
Thanks a lot.
Greg Blevins
The Market Solutions Group, Inc.
2007 Aug 26
2
error message!
Dear R-users,
Can some one help me out. I tried installing some packages in R_2.5.1 but I get an error message as shown below. This is unusual since I have been installing and updatings packages in the same version of R.
> chooseCRANmirror()
> update.packages(ask='graphics')
Error in .readRDS(pfile) : unknown input format
or
> utils:::menuInstallPkgs()
Error in .readRDS(pfile) :
2004 Oct 06
8
Dataframe manipulation question
Hello,
I have a data frame that has three fields.
Resp# ActCode ProdUsed
100 3 2
100 3 2
100 4 3
100 4 3
101 3 6
102 2 1
102 3 1
103 5 1
103 5 1
103
2003 Sep 20
1
grep in version 1.8 (PR#4231)
Full_Name: Gregory L. Blevins
Version: 1.8
OS: Windows 2000
Submission from: (NULL) (65.29.54.28)
I see this when I open 1.8
Error in grep("united.states", Sys.getlocale("LC_CTYPE"), TRUE) :
5 arguments passed to "grep" which requires 6.
R : Copyright 2003, The R Development Core Team
Version 1.8.0 alpha (2003-09-18)
R is free software and comes with
2006 May 15
1
Trying to get values to display on horizontal barchart
Hello,
R 2.3.0
Windows XP
I have spent quite a bit of time trying to resolve my problem below, which included a R site search.
The "vertical bars" syntax below produces a vertical bar chart with the values displayed above each bar. I want to cast this graphic horizontally, but I have not been able to arrive at a suitable outcome. The best I have been able to do, using the second block
2011 Nov 28
1
regarding bayesian quantile regression r pkg mirror for india and its code
sir,
i am trying to install r package Bayesian quantile regression but i am
facing with following problem which says
forPlease select a CRAN mirror for use in this session ---
Warning: unable to access index for repository
http://cran.cnr.Berkeley.edu/bin/windows/contrib/2.6
Warning: unable to access index for repository
http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.6
Error in