Hi
How do I install "gregmisc" packages?
I did-
% sudo R
> install.packages("gregmisc")
.
.
> barplot2()
but,
Error: couldn't find function "barplot2"
--
atuya
Mac OSX 10.2.6
R 1.7.1
On Thursday 07 August 2003 20:46, atsuya fujito wrote:> Hi > > How do I install "gregmisc" packages? > I did- > % sudo R > > > install.packages("gregmisc") > > . > . > > > barplot2() > > but, > Error: couldn't find function "barplot2"I guess you forgot to say library(gregmisc) maybe it's a good idea to take a look at "An Introduction to R"... Z
Assuming you have installed the package, have you done: library(gregmisc) before you call barplot2? On Thu, 7 Aug 2003, atsuya fujito wrote:> Date: Thu, 7 Aug 2003 13:46:10 -0500 > From: atsuya fujito <atuya at xd5.so-net.ne.jp> > To: r-help at stat.math.ethz.ch > Subject: [R] gregmisc > > Hi > > How do I install "gregmisc" packages? > I did- > % sudo R > > install.packages("gregmisc") > . > . > > barplot2() > but, > Error: couldn't find function "barplot2" > > -- > atuya > Mac OSX 10.2.6 > R 1.7.1 > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help >-- Cheers, Kevin ------------------------------------------------------------------------------ "On two occasions, I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question." -- Charles Babbage (1791-1871) ---- From Computer Stupidities: http://rinkworks.com/stupid/ -- Ko-Kang Kevin Wang Master of Science (MSc) Student SLC Tutor and Lab Demonstrator Department of Statistics University of Auckland New Zealand Homepage: http://www.stat.auckland.ac.nz/~kwan022 Ph: 373-7599 x88475 (City) x88480 (Tamaki)
On Thu, 2003-08-07 at 13:46, atsuya fujito wrote:> Hi > > How do I install "gregmisc" packages? > I did- > % sudo R > > install.packages("gregmisc") > . > . > > barplot2() > but, > Error: couldn't find function "barplot2" > > -- > atuya > Mac OSX 10.2.6 > R 1.7.1Assuming that you did not get any errors from the installation of the package, you then need to use: library(gregmisc) to be able to use the functions in the package. You might want to review "5. R Add-On Packages" in the main R FAQ. (http://cran.r-project.org/doc/FAQ/R-FAQ.html#R%20Add-On%20Packages) HTH, Marc Schwartz
I did library > library(gregmisc) Error in library(MASS) : There is no package called 'MASS' Error in library(gregmisc) : .First.lib failed > What is wrong?> You have to *load* the package too, not just install it. > > 'library(gregmisc)' will load it > > > On Thu, 7 Aug 2003, atsuya fujito wrote: > >> Hi >> >> How do I install "gregmisc" packages? >> I did- >> % sudo R >>> install.packages("gregmisc") >> . >> . >>> barplot2() >> but, >> Error: couldn't find function "barplot2" >> >> -- >> atuya >> Mac OSX 10.2.6 >> R 1.7.1 >> >> ______________________________________________ >> R-help at stat.math.ethz.ch mailing list >> https://www.stat.math.ethz.ch/mailman/listinfo/r-help >> > >
Thank you, Marc;
I installed "car", "R commander" and
"Bioconductor".
I am using R 1.7.1, on MAC OSX 10.2.6
> library()
Packages in library '/usr/local/lib/R/library':
AnnBuilder Bioconductor annotation data package builder
Biobase Biobase: Base functions for Bioconductor
DynDoc Dynamic document tools
RBGL Test interface to boost C++ graph lib
ROC utilities for ROC, with uarray focus
Rcmdr R Commander
Ruuid Ruuid: Provides Universally Unique ID values
SAGElyzer A package that deals with SAGE libraries
affy Methods for Affymetrix Oligonucleotide Arrays
affycomp Graphics Toolbox for Assessment of Affymetrix
Expression Measures
affydata Affymetrix Data for Demonstration Purpose
annotate Annotation for microarrays
base The R base package
car Companion to Applied Regression
ctest Classical Tests
eda Exploratory Data Analysis
edd expression density diagnostics
genefilter Genefilter: filter genes
geneplotter Geneplotter: plot microarray data
golubEsets exprSets for golub leukemia data
graph graph: A package to handle graph data
structures
gregmisc Greg's Miscellaneous Functions
grid The Grid Graphics Package
lattice Lattice Graphics
limma Linear Models for Microarray Data
lqs Resistant Regression and Covariance Estimation
makecdfenv CDF Environment Maker
marrayClasses Classes and methods for cDNA microarray data
marrayInput Data input for cDNA microarrays
marrayNorm Location and scale normalization for cDNA
microarray data
marrayPlots Diagnostic plots for cDNA microarray data
Packages in library '/usr/local/lib/R/library':
AnnBuilder Bioconductor annotation data package builder
Biobase Biobase: Base functions for Bioconductor
DynDoc Dynamic document tools
RBGL Test interface to boost C++ graph lib
ROC utilities for ROC, with uarray focus
Rcmdr R Commander
Ruuid Ruuid: Provides Universally Unique ID values
SAGElyzer A package that deals with SAGE libraries
affy Methods for Affymetrix Oligonucleotide Arrays
affycomp Graphics Toolbox for Assessment of Affymetrix
Expression Measures
affydata Affymetrix Data for Demonstration Purpose
annotate Annotation for microarrays
base The R base package
car Companion to Applied Regression
ctest Classical Tests
eda Exploratory Data Analysis
edd expression density diagnostics
genefilter Genefilter: filter genes
geneplotter Geneplotter: plot microarray data
golubEsets exprSets for golub leukemia data
graph graph: A package to handle graph data
structures
gregmisc Greg's Miscellaneous Functions
grid The Grid Graphics Package
lattice Lattice Graphics
limma Linear Models for Microarray Data
lqs Resistant Regression and Covariance Estimation
makecdfenv CDF Environment Maker
marrayClasses Classes and methods for cDNA microarray data
marrayInput Data input for cDNA microarrays
marrayNorm Location and scale normalization for cDNA
microarray data
marrayPlots Diagnostic plots for cDNA microarray data
marrayTools Miscellaneous functions for cDNA microarrays
methods Formal Methods and Classes
modreg Modern Regression: Smoothing and Local Methods
multtest Multiple Testing Procedures
mva Classical Multivariate Analysis
nlme Linear and nonlinear mixed effects models
nls Nonlinear regression
reposTools Repository tools for R
sma Statistical Microarray Analysis
splines Regression Spline Functions and Classes
stepfun Step Functions, including Empirical
Distributions
survival Survival analysis, including penalised
likelihood.
tcltk Tcl/Tk Interface
tkWidgets R based tk widgets
tools Tools for package development
ts Time series functions
vsn Variance stabilization and calibration for
microarray data
widgetTools Creates an interactive tcltk widget
xtable Export tables to LaTeX or HTML