Dear Zhang Jian,
Is it possible that you're using a version of the Rcmdr package that's
incompatible with your version of R?
(I won't have access to email this weekend, so will be unable to reply
until Monday to your response.)
I hope this helps,
John
On Fri, 26 May 2006 09:52:31 -0400
"zhang jian" <jzhang1982 at gmail.com>
wrote:> I can load the package in other R file, but I can not do it in the
> file.
> How to solve the question?
>
> > local({pkg <- select.list(sort(.packages(all.available = TRUE)))
> + if(nchar(pkg)) library(pkg, character.only=TRUE)})
> Loading required package: tcltk
> Loading required package: car
> Error in parse(file, n, text, prompt) : syntax error in "*"
> Error: .onAttach failed in 'attachNamespace'
> Error: package/namespace load failed for 'Rcmdr'
>
> [[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
--------------------------------
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario, Canada
http://socserv.mcmaster.ca/jfox/