[R] packages, help

Christian Hoffmann christian.hoffmann at wsl.ch
Mon Feb 5 16:57:30 CET 2001


Hi,

Using help under help.start() is working fine (html)

Q1:
using  >  ?solve  results in the message

"sh: ~/R/tmp/R4f32S1cfb: cannot open"

displayed in the XEmacs buffer "help[R](solve)". BUT there exists a file

 R.R4f32S167e

in that directory. (not quite the same name). 

Does the "sh: " prefix suggest that the shell "sh" is run, although my
default shell is "csh" or even "tcsh"?

OR: do I lack the right permissions for this tmp file to be opened??


Q2:
What can I do to fix

> loadhistory
function (file = ".Rhistory") 
invisible(.Internal(loadhistory(file)))
> loadhistory()
Error in loadhistory(file) : no history mechanism available

".Rhistory" exists in my directory.


Q3:
I created a personal package "x" under R-1.2.1 on Solaris 2.5.1. Now I have
problems accessing it. I am new to this business and do have some problems.

I have  U:\R\Sources\chlib\  with subdirectories
  \data,  \man,  and \R
and in U:\R\Sources I executed

U:\R\Sources> R CMD build chlib .    and it said:

  building `chlib_0.1.tar.gz'

resulting in a file
  U:\R\Sources\chlib_0.1.tar.gz   5 050 kB

U:\R\Sources> R CMD check chlib .  did work.

Q3a:  
Trying
   library(chlib, lib.loc = "~/R/Sources" )
Warning message: 
Package  `chlib' contains no R code in: library(chlib, lib.loc =
"~/R/Sources") 

Q3b:
library(chlib, lib.loc = "~/R/Sources", logical.return = TRUE, keep.source
= T )
[1] TRUE
Warning message: 
Package  `chlib' contains no R code in: library(chlib, lib.loc =
"~/R/Sources", logical.return = TRUE,  
> 


SO much for now.


Thanks for help.
--christian


Dr.sc.math.Christian W. Hoffmann
Mathematics and Statistical Computing
Landscape Modeling and Web Applications
Swiss Federal Research Institute WSL 
Zuercherstrasse 111
CH-8903 Birmensdorf, Switzerland
phone: ++41-1-739 22 77    fax: ++41-1-739 22 15
e-mail: Hoffmann at WSL.CH
www: http://www.wsl.ch/staff/christian.hoffmann/

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list