Displaying 20 results from an estimated 6000 matches similar to: "R doesn't want to update packages (Windows 7)"
2010 Nov 13
1
Updating R packages
I have been trying to update some R packages but I get the following error.
Can you advise how mow to get around this . I am using the R for 64 bit
windows.
--- Please select a CRAN mirror for use in this session ---
Warning in install.packages(update[instlib == l, "Package"], l, contriburl =
contriburl, :
'lib = "C:/PROGRA~1/R/R-211~1.1-X/library"' is not writable
2007 Sep 18
1
Problem updating packages
Hello, everybody
I have R 2.5.1 now installed on a laptop with Windows Vista Home
Premium. I have problems updating the packages. Here is what I get at
the prompt when I try to update:
> update.packages(ask='graphics')
--- Please select a CRAN mirror for use in this session ---
trying URL 'http://cran.ch.r-project.org/bin/windows/contrib/2.5/car_1.2-2.zip'
Content type
2009 May 16
1
I can't update
To whom it concenrt
I am trying to update the R program 2.9
This is the message that the program give is:
> update.packages(ask='graphics')
Warning in install.packages(update[instlib == l, "Package"], l, contriburl =
contriburl, :
'lib = "C:/PROGRA~1/R/R-29~1.0/library"' is not writable
Erro em install.packages(update[instlib == l, "Package"],
2008 Jan 19
1
Updating library
On Vista my R installation is in
C:\Program Files\R\R-2.6.0
and there is a library here:
%userprofile%\Documents\R\win-library\2.6
If I use the GUI Packages menu to update my library it
works ok _except_ for any packages such as lattice and
the VR bundle that come with R. For those I get this (this
is what I got when I tried to update lattice but I get a similar
message for the VR bundle
2006 Dec 19
4
Upgrading
Hi!
As per Thomas' advice, I upgraded R by using "update.packages()" and got the following warning messages:
Warning messages:
1: installation of package 'lmtest' had non-zero exit status in: install.packages(update[, "Package"], instlib, contriburl = contriburl,
2: installation of package 'quadprog' had non-zero exit status in: install.packages(update[,
2011 Sep 20
2
update.packages() as ordinary user, /usr/lib/R/site-library is not writable
I am moving from windoze on a Dell laptop to Debian but I seem to have
hit a snag for R. I managed to find the information to point an
/etc/apt/sources.list entry at my local CRAN repository and have
installed R 2.13.1 for squeeze from the Bristol UK repository.
I installed a number of the additional R packages using synaptic which
reported no errors but when I run my first
2007 Sep 20
1
packages MANOR, qvalue, and tkWidgets fail install on Fedora 7 with latest R-beta build
Had some packages fail install so I updated to today's R-beta release.
On updating packages the following packages still fail. sessionInfo
follows. Mark
Warning messages:
1: In install.packages(update[instlib == l, "Package"], l, contriburl =
contriburl, :
installation of package 'MANOR' had non-zero exit status
2: In install.packages(update[instlib == l,
2011 Apr 18
2
as.formula doesn't want to take a phrase
Hello!
I am trying to create a formula object using as.formula. But it's not working:
examplephraze<-"for.my.example"
myformula<-as.formula(paste(examplephraze,"~group, sum, data=mydata",sep=""))
What's the problem?
Thanks a lot!
--
Dimitri Liakhovitski
Ninah Consulting
www.ninah.com
2010 Jul 12
1
errors from update.packages()
Running R.2.11.1, debian linux, I tried to update.packages as root
within R and get errors
for cairoDevice and latticeExtra I don't know how to fix.
For cairoDevice, I don't know what gtk+2.0 is;
for latticeExtra, I'm surprised that R cannot find RColorBrewer built
for R 2.10+
What to do?
> old.packages()
Package LibPath Installed Built
2007 Jun 07
2
update packages with R on Vista: error
Dear R-list,
I have encountered the following error message trying to update R packages:
> update.packages(ask='graphics')
Warning in install.packages(update[instlib == l, "Package"], l,
contriburl = contriburl, :
'lib' is not writable
Error in install.packages(update[instlib == l, "Package"], l, contriburl
= contriburl, :
unable to
2010 Oct 01
3
Suppressing printing in the function
Hello!
I wrote a function that returns a data frame. Nowhere in the function
do I say print(my.data.frame), but when I run the function - the data
frame is printed on the console.
Is there any way to suppress it?
Thank you!
--
Dimitri Liakhovitski
Ninah Consulting
www.ninah.com
2007 Oct 06
2
help_R2.5 updating
Hi,
I run windows vista ultimate in my laptop and run R 2.5
I am trying to update the packages but it comes up with an error message
""Warning in install.packages(update[instlib == l, "Package"], l, contriburl = contriburl, : 'lib' is not writable
Error in install.packages(update[instlib == l, "Package"], l, contriburl = contriburl, :
2011 Feb 25
6
preventing repeat in "paste"
Hello!
s<-"start"; e<-"end"
middle<-as.character(c(1,2,3))
I would like to get the following result:
"start 123 end" or "start 1 2 3 end" or "start 1,2,3 end"
How can I avoide this (undesired) result:
paste(s,middle,e,sep=" ")
Thank you!
--
Dimitri Liakhovitski
Ninah Consulting
www.ninah.com
2010 Dec 27
1
package update
I'm running Linux Ubuntu and tried to update my packages using the
update.package() command. It appeared to download the updates ok but I got
the following message:
The downloaded packages are in ?/tmp/RtmpFM82Ry/downloaded_packages?
Warning in install.packages(update[instlib == l, "Package"], l, contriburl =
contriburl, :
'lib = "/usr/lib/R/site-library"' is
2011 Sep 06
1
Update packages problem
R-help, I recently updated R from 2.13.0 to 2.13.1 (32-bit Windows version) and now have a problem updating packages. I am running Windows 7 as operating system. As the FAQ suggests, I uninstalled 2.13.0 before installing 2.13.1. On first opening R, I ran "update.packages(checkBuilt=TRUE, ask=FALSE) ras also recommended and selected the NS Cran mirror. On doing this the following error
2011 May 08
1
package update
I tried to update my packages using update.packages()
I got the following message:
The downloaded packages are in
?/tmp/RtmpyDYdTX/downloaded_packages?
Warning in install.packages(update[instlib == l, "Package"], l, contriburl =
contriburl, :
'lib = "/usr/lib/R/library"' is not writable
Error in install.packages(update[instlib == l, "Package"], l,
2012 Mar 30
1
Update Packages error
Anyone knows how to get around this message? I am trying to update some
packages in R but I get the following message I use R for 64 bit windows.
Warning in install.packages(update[instlib == l, "Package"], l, contriburl
= contriburl, :
'lib = "C:/Program Files/R/R-2.14.1/library"' is not writable
Error in install.packages(update[instlib == l, "Package"],
2009 Oct 13
4
replacing period with a space
Dear R-ers!
I have x as a variable in a data frame x.
x<-data.frame(x=c("aa.bb","cc.dd.ee"))
x$x<-as.character(x$x)
x
I am sorry for such a simple question - but how can I replace all
periods in x$x with spaces?
sub('.', ' ', x$x) - removes all letters to the left of each period...
Thanks a lot for your advice!
--
Dimitri Liakhovitski
Ninah.com
2010 Oct 25
3
finding the year of a date
I know that I can use as.yearmon in the package "zoo" to find the year
and the month of a date.
I can use as. yearqtr to find the year and the quarter.
But how can one find just the year of a date?
Thanks a lot!
--
Dimitri Liakhovitski
Ninah Consulting
www.ninah.com
2009 Sep 23
2
Function to check if a vector contains a given value?
Dear R'rs,
is there a function that checks if a given vector contains a certain value.
E.g., x<-c(1,2,3,4).
How can I get a TRUE or FALSE for whether x contains a 2?
--
Dimitri Liakhovitski
Ninah.com
Dimitri.Liakhovitski at ninah.com