[R] installing a new package

2008-03-28 Thread zmontaze
Dear all,
I have prepared a new package to install in R, I tried to check my package
and I got the following message

232sub141:~ zahra$ R CMD check /Users/zahra/Desktop/HighProbability
* checking for working latex ... OK
* using log directory '/Users/zahra/HighProbability.Rcheck'
* using R version 2.6.2 (2008-02-08)
* checking for file 'HighProbability/DESCRIPTION' ... OK
* this is package 'HighProbability' version '1.0-3'
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking whether package 'HighProbability' can be installed ... OK
* checking package directory ... OK
* checking for portable file names ... OK
* checking for sufficient/correct file permissions ... OK
* checking DESCRIPTION meta-information ... OK
* checking top-level files ... OK
* checking index information ... OK
* checking package subdirectories ... OK
* checking R files for non-ASCII characters ... OK
* checking R files for syntax errors ... OK
* checking whether the package can be loaded ... ERROR
Error in library(HighProbability) :
  'HighProbability' is not a valid package -- installed  2.0.0?
Execution halted

It looks like this package has a loading problem: see the messages for
details.


I don't know what the Error in library(package name) means and how can I
solve it. I work with Mac.
I'll appreciate it if you could help me.
All the best,
Zahra

__
R-help@r-project.org 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.


[R] installing package

2008-02-27 Thread zmontaze
Dear all,

I have prepared a package to install in R. I followed all steps explained
in  writing R extensions.  Also I read the section add-on package in
R installation and administration. These documents refer to R CMD
INSTALL command but I don't know how to use this command.
My specific question is where should I type this command? In help page, we
have

Use R CMD INSTALL --help for more usage information
when I type this, I have

 R CMD INSTALL --help
Error: unexpected symbol in R CMD

Is there something I do wrong?
Thanks in advance
Zahra Mntazeri

__
R-help@r-project.org 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.