I am a new R user and so I thought I could start with "Using R for Introductory statistics" by Verzani. In order to use some of the functions and datasets I have to install the simpleR package which is is now inside the UsingR package. I did so using>install.packages("UsingR"). However, the functions such as"simple.freqpoly.R" do not work. I also tried to install the Simple_0.4.zip available by the author, but I get the following message: Error in gzfile(file, "r") : unable to open connection In addition: Warning messages: 1: error 1 in extracting from zip file 2: cannot open compressed file 'Simple/DESCRIPTION' I should also note that I use windows XP and the latest R version. Any suggestions? Thank you!! ______________________________________________________ Danmarks Fiskeriundersøgelser er den 1.1.07 fusioneret med Danmarks Tekniske Universitet (DTU), Forskningscenter Risø, Danmarks Fødevareforskning, Danmarks Rumcenter og Danmarks Transportforskning. DTU er den fortsættende enhed. Læs mere om fusionen på www.detnyedtu.dk As of 1 January 2007 The Danish Institute for Fisheries Research has merged with the Technical University of Denmark, Risø National Laboratory, the Danish Institute for Food and Veterinary Research, the Danish National Space Centre and the Danish Transport Research Institute. The Technical University of Denmark (DTU) is the continuing unit. More information on www.detnyedtu.dk [[alternative HTML version deleted]]
I think the name of what you want is simple.freqpoly() Try: library(UsingR) ?simple.freqpoly HTH, Rob Baer I am a new R user and so I thought I could start with "Using R for Introductory statistics" by Verzani. In order to use some of the functions and datasets I have to install the simpleR package which is is now inside the UsingR package. I did so using>install.packages("UsingR"). However, the functions such as"simple.freqpoly.R" do not work. I also tried to install the Simple_0.4.zip available by the author, but I get the following message: Error in gzfile(file, "r") : unable to open connection In addition: Warning messages: 1: error 1 in extracting from zip file 2: cannot open compressed file 'Simple/DESCRIPTION' I should also note that I use windows XP and the latest R version. Any suggestions? Thank you!! ______________________________________________________ Danmarks Fiskeriunders?gelser er den 1.1.07 fusioneret med Danmarks Tekniske Universitet (DTU), Forskningscenter Ris?, Danmarks F?devareforskning, Danmarks Rumcenter og Danmarks Transportforskning. DTU er den forts?ttende enhed. L?s mere om fusionen p? www.detnyedtu.dk As of 1 January 2007 The Danish Institute for Fisheries Research has merged with the Technical University of Denmark, Ris? National Laboratory, the Danish Institute for Food and Veterinary Research, the Danish National Space Centre and the Danish Transport Research Institute. The Technical University of Denmark (DTU) is the continuing unit. More information on www.detnyedtu.dk [[alternative HTML version deleted]] --------------------------------------------------------------------------------> ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >
Yes, you were right, I did not load the library. Now it works. I just installed R yesterday and I am still trying hard: for sure I will come back for more input! Thank you:) -----Original Message----- From: Phil Spector [mailto:spector at stat.Berkeley.EDU] Sent: February 15, 2007 2:57 PM To: Irene Mantzouni Subject: Re: [R] simpleR or usingR package by Verzani Irene - After installing a library, you need to use the library command in order to make it available in the current session: library(UsingR) Once you do that, you can see the names of the functions and data sets that are available by typing objects('package:UsingR') There you will see that the function you mentioned is called "simple.freqpoly" -- in other words, the ".R" that you added to the end of the function name is not necessary. Hope this helps. - Phil Spector Statistical Computing Facility Department of Statistics UC Berkeley spector at stat.berkeley.edu On Thu, 15 Feb 2007, Irene Mantzouni wrote:> I am a new R user and so I thought I could start with "Using R for > Introductory statistics" by Verzani. > In order to use some of the functions and datasets I have to install > the simpleR package which is is now inside the UsingR package. I did > so using >> install.packages("UsingR"). However, the functions such as > "simple.freqpoly.R" do not work. > I also tried to install the Simple_0.4.zip available by the author, > but I get the following message: > > Error in gzfile(file, "r") : unable to open connection In addition: > Warning messages: > 1: error 1 in extracting from zip file > 2: cannot open compressed file 'Simple/DESCRIPTION' > > I should also note that I use windows XP and the latest R version. > > Any suggestions? > > Thank you!! > > ______________________________________________________ > Danmarks Fiskeriunders?gelser er den 1.1.07 fusioneret med Danmarks > Tekniske Universitet (DTU), Forskningscenter Ris?, Danmarks > F?devareforskning, Danmarks Rumcenter og Danmarks Transportforskning. > DTU er den forts?ttende enhed. L?s mere om fusionen p? > www.detnyedtu.dk > > As of 1 January 2007 The Danish Institute for Fisheries Research has > merged with the Technical University of Denmark, Ris? National > Laboratory, the Danish Institute for Food and Veterinary Research, the > Danish National Space Centre and the Danish Transport Research > Institute. The Technical University of Denmark (DTU) is the continuing > unit. More information on www.detnyedtu.dk > > > [[alternative HTML version deleted]] > >______________________________________________________ Danmarks Fiskeriunders?gelser er den 1.1.07 fusioneret med Danmarks Tekniske Universitet (DTU), Forskningscenter Ris?, Danmarks F?devareforskning, Danmarks Rumcenter og Danmarks Transportforskning. DTU er den forts?ttende enhed. L?s mere om fusionen p? www.detnyedtu.dk As of 1 January 2007 The Danish Institute for Fisheries Research has merged with the Technical University of Denmark, Ris? National Laboratory, the Danish Institute for Food and Veterinary Research, the Danish National Space Centre and the Danish Transport Research Institute. The Technical University of Denmark (DTU) is the continuing unit. More information on www.detnyedtu.dk