I upgraded to R Gui 1.6 this morning and I can't seem to get it to accept my new startup directory. R 1.51 will accept "F:\_ben\bls\gen1\results\bls\analysis" as the start in directory for the R Gui shortcut, but R 1.6 will not. R 1.6 will accept "F:\_ben\bls\gen1\results\bls". It seems to have trouble when I add "\analysis." R still loads fine but I get the following error: Error in testRversion(descfile) : This package has not been installed properly See the Note in ?library Also, R 1.6 will let me set the working directory to include "analysis." I can ignore the error and R still loads in the correct directory. But I am curious as to why this is. Any ideas? Thanks. Ben Stabler Oregon, USA. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Benjamin.STABLER at odot.state.or.us wrote:> > I upgraded to R Gui 1.6 this morning and I can't seem to get it to accept my > new startup directory. R 1.51 will accept > "F:\_ben\bls\gen1\results\bls\analysis" as the start in directory for the R > Gui shortcut, but R 1.6 will not. R 1.6 will accept > "F:\_ben\bls\gen1\results\bls". It seems to have trouble when I add > "\analysis." R still loads fine but I get the following error: > > Error in testRversion(descfile) : This package has not been installed > properly > See the Note in ?library > > Also, R 1.6 will let me set the working directory to include "analysis."[Looks like there wasn't any answer to this mail before] Including the dot?> I can ignore the error and R still loads in the correct directory. > But I am curious as to why this is. Any ideas? Thanks.Maybe there is an .Renviron or .Rprofile file or something like that in your directory that causes the error message? Or a .First() function in your .Rdata workspace in that directory? Uwe Ligges -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
...i have the same problem and didn't now why ? Error in testRversion(descfile) : This package has not been installed properly See the Note in ?library The problem is the .First() Function, but the same works in R1.5.1 without problems ? thanks for advance,christian options(editor="\"c:/DevelopeWinedt/winedt\"-c=\"R-WinEdt-edit\" -e=r.ini -V") options(pager="\"c:/DevelopeWinedt/winedt\" -C=\"R-WinEdt\" -e=r.ini -V") file.show(".Rhistory") .First <-function() { options(prompt="$ ",continue="+\t") options(digits=3,length=999) library(ipred) library(relimp) library(hmisc) library(design) library(e1071) library(lattice) library(grid) library(XML) library(ctest) library(cluster) library(foreign) #library(mva) library(RODBC) library(foreign) #library(xtable) library(rpart) #library(tools)} Sys.putenv("TCL_LIBRARY"="c:/develope/Tcl/lib/tcl8.3") library(tcltk) #help() Freq <- function(x){ xmat<-as.matrix(x) ifelse (ncol(xmat)==1,{ Count<-table(x) Total<-sum(Count) Prcnt<-100*(Count/Total) x1<-cbind(Count,Prcnt) x2<-cbind(Total,sum(Prcnt)) Frequency.Table<-as.data.frame(rbind(x1,x2)) c<-nrow(Frequency.Table) rownames(Frequency.Table)[c]<-"Total" return(Frequency.Table)} , return("To use this function across multiple columns use apply")) } eda.shape <- function(x) { par(mfrow=c(2,2)) hist(x) boxplot(x) iqd <- summary(x)[5] - summary(x)[2] plot(density(x,bw=2*iqd),xlab="x",ylab="",type="l") qqnorm(x) qqline(x) } eda.ts <- function(x) { par(mfrow=c(2,1)) plot.ts(x) acf(x) invisible() } replace.na.m <- function (x){ X<-mean(x,na.rm=TRUE) ifelse ( is.na(x)=="TRUE",X,x) } replace.na.x<- function(x, value){ ifelse (is.na(x)=="TRUE", value , x) } .Last <- function() { graphics.off() cat(paste(date(),"\nAdiosAmigos\n")) } Uwe Ligges schrieb: Benjamin.STABLER at odot.state.or.us wrote: I upgraded to R Gui 1.6 this morning and I can't seem to get it to accept my new startup directory. R 1.51 will accept "F:\_ben\bls\gen1\results\bls\analysis" as the start in directory for the R Gui shortcut, but R 1.6 will not. R 1.6 will accept "F:\_ben\bls\gen1\results\bls". It seems to have trouble when I add "\analysis." R still loads fine but I get the following error: Error in testRversion(descfile) : This package has not been installed properly See the Note in ?library Also, R 1.6 will let me set the working directory to include "analysis." [Looks like there wasn't any answer to this mail before] Including the dot? I can ignore the error and R still loads in the correct directory. But I am curious as to why this is. Any ideas? Thanks. Maybe there is an .Renviron or .Rprofile file or something like that in your directory that causes the error message? Or a .First() function in your .Rdata workspace in that directory? Uwe Ligges -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
R 1.6 loaded fine when I disabled one of our packages that was called with the first function in Rprofile. Thanks for the help. Regards, Ben Stabler Oregon, USA -----Original Message----- From: Uwe Ligges [mailto:ligges at statistik.uni-dortmund.de] Sent: Monday, October 07, 2002 6:05 AM To: chr.schulz at email.de Cc: STABLER Benjamin; R-help at stat.math.ethz.ch Subject: Re: [R] R 1.6 Gui for Windows On Mon, 7 Oct 2002 chr.schulz at email.de wrote:> ...i have the same problem and didn't now why ? > > Error in testRversion(descfile) : This package has not been installedproperly> See the Note in ?library > > The problem is the .First() Function, but the same works in R1.5.1 withoutproblems ?> > thanks for advance,christian > > options(editor="\"c:/DevelopeWinedt/winedt\"-c=\"R-WinEdt-edit\" -e=r.ini-V")> options(pager="\"c:/DevelopeWinedt/winedt\" -C=\"R-WinEdt\" -e=r.ini -V") > > file.show(".Rhistory") > .First <-function() { options(prompt="$ ",continue="+\t") > options(digits=3,length=999) > library(ipred) > library(relimp) > library(hmisc) > library(design) > library(e1071) > library(lattice) > library(grid) > library(XML) > library(ctest) > library(cluster) > library(foreign) > #library(mva) > library(RODBC) > library(foreign) > #library(xtable) > library(rpart) > #library(tools)} > Sys.putenv("TCL_LIBRARY"="c:/develope/Tcl/lib/tcl8.3") > library(tcltk) #help()Obviously, you are loading a number of packages. The package structure is tested more intensively with R-1.6.0 than before, so you might consider to update the package which produces that error message ... Just start R without that .First function and load the packages step by step to see, which one produces the error message ... Uwe Ligges> Freq <- function(x){ > xmat<-as.matrix(x) > > ifelse (ncol(xmat)==1,{ > > Count<-table(x) > Total<-sum(Count) > Prcnt<-100*(Count/Total) > x1<-cbind(Count,Prcnt) > x2<-cbind(Total,sum(Prcnt)) > Frequency.Table<-as.data.frame(rbind(x1,x2)) > c<-nrow(Frequency.Table) > rownames(Frequency.Table)[c]<-"Total" > return(Frequency.Table)} > , > return("To use this function across multiple columns use apply")) > } > > eda.shape <- function(x) { > par(mfrow=c(2,2)) > hist(x) > boxplot(x) > iqd <- summary(x)[5] - summary(x)[2] > plot(density(x,bw=2*iqd),xlab="x",ylab="",type="l") > qqnorm(x) > qqline(x) > } > eda.ts <- function(x) { > par(mfrow=c(2,1)) > plot.ts(x) > acf(x) > invisible() > } > replace.na.m <- > function (x){ > X<-mean(x,na.rm=TRUE) > ifelse ( is.na(x)=="TRUE",X,x) > } > replace.na.x<- > function(x, value){ > ifelse (is.na(x)=="TRUE", value , x) > } > > .Last <- function() { > graphics.off() > cat(paste(date(),"\nAdiosAmigos\n")) > } > > > Uwe Ligges schrieb: > > Benjamin.STABLER at odot.state.or.us wrote: > > I upgraded to R Gui 1.6 this morning and I can't seem to get it to acceptmy> new startup directory. R 1.51 will accept > "F:\_ben\bls\gen1\results\bls\analysis" as the start in directory for theR> Gui shortcut, but R 1.6 will not. R 1.6 will accept > "F:\_ben\bls\gen1\results\bls". It seems to have trouble when I add > "\analysis." R still loads fine but I get the following error: > > Error in testRversion(descfile) : This package has not been installed > properly > See the Note in ?library > > Also, R 1.6 will let me set the working directory to include "analysis." > > > [Looks like there wasn't any answer to this mail before] > Including the dot? > > > I can ignore the error and R still loads in the correct directory. > But I am curious as to why this is. Any ideas? Thanks. > > > > Maybe there is an .Renviron or .Rprofile file or something like that in > your directory that causes the error message? Or a .First() function in > your .Rdata workspace in that directory? > > Uwe Ligges >-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. -.-> r-help mailing list -- Readhttp://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html> Send "info", "help", or "[un]subscribe" > (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch >_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._. _._> > > > >-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. -.-> r-help mailing list -- Readhttp://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html> Send "info", "help", or "[un]subscribe" > (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch >_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._. _._>-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. -.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._. _._ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._