Displaying 20 results from an estimated 5000 matches similar to: "No subject"
2001 Feb 05
1
packages, help
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
2001 Feb 14
2
assignment function
Hi,
I am trying to create the assignment function:
"substring<-" <- function(text, first, last=100000, sub) {
if(is.character(first)) {
if(!missing(last)) stop('wrong # arguments')
return(sedit(text, first, sub))
}
lf <- length(first)
if(length(text)==1 && lf > 1) {
if(missing(last)) last <- nchar(text)
last <- rep(last,
2002 Sep 04
3
logical and NA
Hi there, (sorry Martin, ich habe den falschen Empfaenger erwischt :-( )
Is there a function in the base package or elsewhere which returns TRUE and
not NA, even if NA is involved: (I did not find in the help system :-( )
if ( x==something & !is.na(something))
or
if ( x==something & !is.na(x==something))
If "something" is complicated, a function would be handy.
Thanks
2001 Mar 05
0
Rggobi install
Hi,
I am trying to install ggobi for R under Solaris
SunOS 5.5.1 Generic_103640-27 sun4u sparc SUNW,Ultra-Enterprise
following the instructions in INSTALL under e) R interface, although I have
some modifications in mind:
I am planning to keep the sources (untarred and unzipped) in
/home/woodstock/hoffmann/R/Sources/Rggobi
and I have set
setenv GGOBI_ROOT $HOME/R/Sources/Rggobi
(with $HOME =
2001 Mar 01
1
Using csh
Hi all,
I am fancying the idea of using my preferred shell (t)csh when invoking
system(). How can I do that? (I didn't find anything about that in the FAQ).
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:
2001 Mar 20
0
Problem postscript(print.it)
Hi all,
I have a problem with plotting: (R-1.2.2 on
SunOS fluke 5.5.1 Generic_103640-27 sun4u sparc SUNW,Ultra-Enterprise
solaris 2.)
I define a function to switch between plotting on graphics device and
generating a postscript file (which can also be automatically be printed)
plt <- function(view,f,file="") {
if (view>0) f
else {
2001 Mar 08
0
C locale ?? Using csh??
Hi all,
Help! My help system is not functioning:
>help.start()
Making links in ~/.R ...
If netscape is already running, it is *not* restarted,
and you must switch to its window.
Otherwise, be patient..
> C locale package not found. Using C locale by default.
The netscape never comes up ..
What could be wrong here?
I have been experimenting with getting Rggobi running which may have
2001 Mar 08
0
2: C locale ?? Using csh??
Hi all,
This seems to be a temporary problem of our local Solaris machine.
Sorry for bugging you.
--christian
>Help! My help system is not functioning:
>>help.start()
>Making links in ~/.R ...
>If netscape is already running, it is *not* restarted,
>and you must switch to its window.
>Otherwise, be patient..
>> C locale package not found. Using C locale by default.
2002 Aug 19
1
CONTENTS, TITLE not generated
Hi all,
Using R Version 1.5.0 (2002-04-29) under Solaris I am reinstalling own
packages useing the script
#!/bin/csh
cd ~/R/Sources
R CMD check --no-latex --no-perms --no-install $1
R CMD INSTALL --library=lib $1
R CMD Rdindex $1 > INDEX
R CMD build --force $1
Everything echoes with OK, *but* the files CONTENTS and TITLE will not be
generated. What has changed in the process of
2008 Dec 05
1
How to retrieve a method
Hi there,
I am interested in the inner workings of wilcox.test:
> wilcox.test
function (x, ...)
UseMethod("wilcox.test")
<environment: namespace:stats>
how can I get at the code, if it is R-code? For Methods one should be able to learn what extension to use, but here default or such do not help.
Is there a wayplot.default to learn which different versions of
2001 Jul 12
1
Sys.getenv
I am running R-1.3.0 on Solaris 8:
Under Solaris I do
setenv dendro_us hoffmann
echo $dendro_us gives back:
hoffmann
which is correct.
When in R I do:
Sys.getenv("dendro_us") I get
dendro_us
""
which is NOT correct:
Inverse effect (taken from help of Sys.getenv)
Under R:
print(Sys.putenv("R_TEST"="testit", ABC=123))
[1] TRUE TRUE
2002 Nov 06
5
"chemical" plot
Hi all,
May be there is a plot which shows 3 variables in a triangle, their sum
being constant. I have forgotten its name, and a search in the engine using
"plot" did not help.
Does anyone know of such a procedure in R or S?
Thank you
--christian
Dr.sc.math.Christian W. Hoffmann
Mathematics and Statistical Computing
Landscape Dynamics and Spatial Development
Swiss Federal Research
2002 Jan 04
0
R CMD check, file permissions (PR#1239)
SunOS fluke 5.8 Generic_108528-07 sun4u sparc SUNW,Ultra-Enterprise
R-1.4.0
Running from the command line
R CMD check chlib
results in the log file 00check.log:
* using log directory `/home/woodstock/hoffmann/R/Sources/chlib.Rcheck'
* checking for file `chlib/DESCRIPTION' ... OK
* checking package directory ... OK
* checking for sufficient/correct file permissions ... WARNING
*
2001 May 17
1
BLAS where
Hi,
I want to install "Matrix" using
> install.packages("Matrix")
After a while I get:
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ATL_xerbla in -latlas... no
checking for dgemm_ in -lcxml... no
checking for dgemm_ in -ldxml... no
checking for dgemm_ in -lscs... no
checking for dgemm_ in -lcomplib.sgimath... no
checking
2006 Jan 26
1
construct a bundle, subdirs do not exist?
Hi,
Sorry to bother, but I checked around and did not succed creating a
bundle from six existing packages (which are checkable, installable,
etc. individually). I carefully followed the procedure given in ch.
1.1.5 Package bundles. However, I am getting
hoffmann at fluke:~/R/Sources >R CMD check cwhmisc
* checking for working latex ... OK
* using log directory
2006 May 09
1
2.3.0 problems
Hi,
Since the installation of R-2.3.0 I have the following problems:
1. Startup
.First() produces
------------------
Started in /home/woodstock/hoffmann/Projects/RtoZ/Windwurf/R with
'~/R/.Rprofile' edited on 2006-04-28, 11:08
During startup - Warning messages:
1: use of NULL environment is deprecated
2: use of NULL environment is deprecated
3: use of NULL environment is
2006 Jan 11
2
Browser problem, Misrepresentation of .html in Solaris Firefox (PR#8471)
Hi there
I hope that I am in the right forum.
I am working on Win2000 PC connected via Exceed 6.0.1.0 to a
SunOS fluke 5.9 Generic_118558-11 sun4u sparc SUNW,Sun-Fire-480R
There I am using Mozilla Firefox 1.0.7 as a browser.
I am having
difficulties viewing .html files. Their first pages are displayed
normally, black on white, links in blue. When I scoll down, the pages
appear black
2005 Aug 10
0
Plit result of pairs in an Sweave compatible manner
Hi,
I want to use "pairs" on a fairly big matrix, say more than 30 columns.
R tries to fit this on one page, which results in tiny invidual
rectangles, and dots are hard to see.
Is there a way to transform the output of pairs in a way that subplots
of 10*10, say, rectangles are generated. These subplots should then go
to Sweave which is accepting one figure at a time presently.
2009 Nov 24
0
Aquamacs/emacs and color of echo in R console
Hi
I have been unable to find information on the following problem:
All the text in my *R* window is shown in light red, starting after the
echo "This is mgcv 1.5-6 . For overview type ", the following
`help("mgcv-package")' is already in the light red.
This color annoys me because I need more contrast, and it is even worse
for use with a beamer.
In the options menu
2009 Nov 24
0
Aquamacs/emacs and color of echo in R console 2!
Hi
Sorry, I forgot to state the version: GNU Emacs 22.3.1
I have been unable to find information on the following problem:
All the text in my *R* window is shown in light red, starting after the
echo "This is mgcv 1.5-6 . For overview type ", the following
`help("mgcv-package")' is already in the light red.
This color annoys me because I need more contrast, and it is