[R] example on front page doesn't work in R 2.0.1
Sundar Dorai-Raj
sundar.dorai-raj at pdf.com
Fri Apr 15 22:35:37 CEST 2005
Hubert Feyrer wrote on 4/15/2005 3:04 PM:
>
> On http://www.r-project.org/, there is an R script linked to the top
> graphic, http://www.r-project.org/misc/acpclust.R. This script says it
> works in R 1.8.1, but in 2.0.1 it gives (me):
>
>> source("acpclust.R")
>
> Loading required package: ade4
> Loading required package: mva
> Loading required package: RColorBrewer
> Loading required package: pixmap
> Loading required package: ade4
> Error in plotacpclust(swiss[, 1:5], 1, 3, hcut = 48) :
> couldn't find function "s.corcircle"
> In addition: Warning messages:
> 1: There is no package called 'ade4' in: library(package, character.only
> = TRUE, logical = TRUE, warn.conflicts = warn.conflicts,
> 2: package 'mva' has been merged into 'stats'
> 3: There is no package called 'RColorBrewer' in: library(package,
> character.only = TRUE, logical = TRUE, warn.conflicts = warn.conflicts,
> 4: There is no package called 'pixmap' in: library(package,
> character.only = TRUE, logical = TRUE, warn.conflicts = warn.conflicts,
> 5: There is no package called 'ade4' in: library(package, character.only
> = TRUE, logical = TRUE, warn.conflicts = warn.conflicts,
>
>>
>
> Maybe you want to adjust this! :)
>
> Thank you very much very this very very useful program! It saved me from
> Excel/Gnumeric. ;)
>
>
> - Hubert
>
Hubert,
Works for me with R-2.0.1 on Windows 2000. Did you remember to install
the required packages?
--sundar
More information about the R-help
mailing list