similar to: package installation fails only for "sp"

Displaying 20 results from an estimated 2000 matches similar to: "package installation fails only for "sp""

2009 Apr 07
1
axis values on lattice log-scale plot
I'm plotting the following (stripped of inessentials) xyplot(sd ~ distance | wshed,data=sdvar.df,scales=list(x=list (log=TRUE),y=list(log=TRUE))) sdvar.df is a data frame, sd and distance are numeric, wshed is an ordered factor trying to replicate the action of log="xy" in plot() The plot works fine but the axis values at the ticks are in scientific notation, e.g. 10^1.5,
2007 Mar 30
1
Trouble installing package 'sp' in R 2.4.1
Hi all, I just installed R 2.4.1 and tried to install the package 'sp' working down from the 'Packages' menu in the R GUI. The package would not install and I got the following message: "trying URL 'http://cran.us.r-project.org/bin/windows/contrib/2.4/sp_0.9-10.zip' Error in download.file(url, destfile, method, mode = "wb") : cannot
2008 Jan 29
1
coherency and phase plots
I am having a hard time interpreting the phase and coherency plots. x is two timeseries that occur at the same time i.e. a b 1 11.2 12.3 16 11.3 12.4 31 11.4 12.5 46 11.5 12.6 ...etc even though my example is does not show this they are oscillating at more or less the same frequency just shifted by t=x (imagine two sine waves offset with the 2nd sine
2005 Oct 14
3
zip package
Dear all I can not understand how to install the package lpsolve_1.1.9.zip I have read the FAQ and the help pages carefully, but it still not clear for me. I have tried the following (and obtained the respective error messages): >install.packages("c:/ProgramFiles/R/rw2011/library/lpSolve_1.1.9",destdir=" c:/ProgramFiles/R/rw2011/library/lpSolve") Mensagem de aviso:
2009 Aug 24
1
Unique command not deleting all duplicate rows
Hello everyone, when I run the "unique" command on my data frame, it deletes the majority of duplicate rows, but not all of them. Here is a sample of my data. How do I get it to delete all the rows? 6 -115.38 32.894 195 162.94 D 8419 D 7 -115.432 32.864 115 208.91 D 8419 D 8 -115.447 32.773 1170 264.57 D 8419 D 9 -115.447 32.773 1170 264.57 D 8419 D 10 -115.447 32.773 1170
2011 Mar 11
1
Partial Cross Correlation
Does anyone know of any R code for computing partial cross-correlation? I have examples of cross correlation functions (ccfs) that are not smooth but rather consist of a peak of several high values in consecutive lags, with sharp drops on either side. This indicates that y(t) is a function of some average of x(t-tau) at the set of lags tau over which the ccf is high. I could sort out these
2011 Apr 18
2
Using jitter function with differing variable lengths
Hi, I am trying to make a scatter plot with 4 different categories using the jitter function. My code returns a variable length error and will not plot because my four categories have different numbers of samples. When I delete samples from my spreadsheet so that each of the categories has the same number of variables, it plots just fine. Is there any way to get around this and plot all of my
2009 Oct 04
3
Stranger Behavior -maybe not
Hello everyone, When I run a for loop I noticed that the looping variable gets assigned the last value in the loop: For example, if I let h=200, and I run for(i in 1:h), i gets the value 200. What's wrong here? -- -Tony [[alternative HTML version deleted]]
2009 Sep 16
2
How not to keep the redundant space when convert a data frame with as.matrix()?
Hi, The first column in as.matrix(x) has extra spaces (" "), which I don't want. Is there a way not to generate those spaces? Regards, Peng > x=data.frame(x=1:10,y=letters[11:20]) > as.matrix(x) x y [1,] " 1" "k" [2,] " 2" "l" [3,] " 3" "m" [4,] " 4" "n" [5,] " 5"
2004 Dec 31
4
install.packages() for local source file
Wish to install a local source package on Un*x platform from within R. Same thing as I can accomplish from cmdline as $ export R_LIBS=~/R/library $ cd /path/to/pkg $ R CMD INSTALL -l $R_LIBS <pkgname> So, how do you go about this anyway? And isn't this a bug in 'install.packages'? ------- $ R R : Copyright 2004, The R Foundation for Statistical Computing Version 1.9.0
2011 Mar 01
3
Export R dataframes to excel
I'm trying to do this in several ways but havent had any result. Im asked to install python, or perl.... etc. Can anybody suggest a direct, easy and understandable way? Every help would be appreciated. Thx. -- View this message in context: http://r.789695.n4.nabble.com/Export-R-dataframes-to-excel-tp3330399p3330399.html Sent from the R help mailing list archive at Nabble.com.
2008 Sep 16
5
How to find the index
Dear R experts, i have a vector z , i have to do something after z is sorted. how can i find the original index, i.e., before sorting, of a certain element in the sorted vector . thanks in advance regards ----------------------------------------------- Peng Jiang ?? ,Ph.D. Candidate Antai College of Economics & Management ???????? Department of Mathematics ??? Shanghai Jiaotong
2006 Mar 09
1
lsa and Rstem?
Dear r-helpers, I can't get lsa to run because: > library(lsa) Loading required package: Rstem Error in library(pkg, character.only = TRUE, logical = TRUE, lib.loc = lib.loc) : 'Rstem' is not a valid package -- installed < 2.0.0? In addition: Warning message: cannot create HTML package index in: make.packages.html() > install.packages('Rstem') Warning in
2011 Mar 04
4
cv.lm syntax error
Dear all, I've tried a multiple regression, and now I want to try a cross-validation. I obtain this error (it must be sth related to df) that I don't understand, any help would be appreciated. cv.lm(df= dat, lm2.52f, m=3) Error en `[.data.frame`(df, , ynam) : undefined columns selected lm2.52f is my lm object, dat is a dataframe where the variables involved in .lm are I tried CVlm
2008 Sep 04
1
Error with update.packages()
R-helpers: I just updated from R 7.0 to R 7.2.2 today. I am using MAC OS X version 10.5.4 on a Macbook to run R. ---------------------------- > sessionInfo() R version 2.7.2 (2008-08-25) i386-apple-darwin8.11.1 locale: en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8 attached base packages: [1] stats graphics grDevices utils datasets methods base loaded via a namespace
2005 Jul 11
3
misc3d package
Hi, I am trying to install the misc3d package on a Windows (XP) installation of R 2.0.1 using install.packages("misc3d") but with no success. I have used this approach with other packages OK, but for misc3d I get the following output... trying URL `http://cran.r-project.org/bin/windows/contrib/2.0/PACKAGES' Content type `text/plain; charset=iso-8859-1' length 27996 bytes
2005 Nov 11
3
no package 'Matrix' at the repositories
Yesterday, I installed R2.2.0 for Windows [Version 2.2.0 (2005-10-06 r35749)]. Unfortunately, 'install.packages("Matrix")' produced the following message: Warning in download.packages(pkgs, destdir = tmpd, available = available, : no package 'Matrix' at the repositories I installed lme4, maps, mapproj, CircStats, scatterplot3d, gregmisc, Hmisc without
2006 Dec 13
2
install.packages
I try to type this in my R-winEdt. but I got these. Do you know? Aimin > install.packages('http://rh-mirror.linux.iastate.edu/CRAN/bin/windows/contrib/2.4/plotrix_2.1-6.zip') Warning in download.packages(pkgs, destdir = tmpd, available = available, : no package 'http://rh-mirror.linux.iastate.edu/CRAN/bin/windows/contrib/2.4/plotrix_2.1-6.zip' at the
2004 Oct 22
2
install.packages question / suggestion
Hello, when trying to write an R-file, which automatically installs and updates a given list of packages, I had two problems with install.packages() 1) install.packages("<package>") will install <package>, no matter if <package> has already been installed. 2) the readline() at the end of install.packages, which asks the user, if the downloaded files should be
2008 Aug 13
1
problems with packages tseries and robustbase
Dear R Users, Is there a known problem with downloading packages robustbase and tseries from the UK CRAN website ? Thanks in advance, Tolga ========================================================= R version 2.7.1 (2008-06-23) Copyright (C) 2008 The R Foundation for Statistical Computing ISBN 3-900051-07-0 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to