Displaying 20 results from an estimated 2000 matches similar to: "Cookbook, was Re: [R] R on gentoo amd64, etc."
2004 Jul 08
0
R cookbook (Re: omit complete cases)
Hi Ivo:
You might check out Paul Jobnson's following page:
http://www.ukans.edu/~pauljohn/R/Rtips.html
HTH,
Arin
On Thu, 08 Jul 2004 ivo_welch-rstat8783@mailblocks.com wrote :
>
>...I used to use perl for much work, and although there is much to like about it, R seems to be even better for most tasks---except that there is one perl resource that R cannot beat: the Perl Cookbook.
2004 Sep 13
1
Re: [R] R on gentoo amd64 (gcc 3.3.3) is unstable --- no!
This has been in the R-admin manual for a least a week, and I reported it
here earlier than that.
R 2.0.0 alpha does not allow f2c on 64-bit platforms.
It's all been dealt with quite awhile ago ....
On Sun, 12 Sep 2004 ivo_welch-rstat8783@mailblocks.com wrote:
>
> from the gentoo folks, on f2c problems with R on 64bit platforms:
>
> "Config and me finally found the
2004 Aug 21
1
Re: [R] R on gentoo amd64 (gcc 3.3.3) is unstable --- no!
On Sat, 21 Aug 2004 ivo_welch-rstat8783@mailblocks.com wrote:
>
> peter/brian: thank you for the help. i can now report that gentoo
> amd64 can compile R just fine, too; it requires the f77 USE flag and a
> gcc compiler rebuild first, though. I also went to gcc 3.4.1. my
> segfault troubles earlier were caused by my use of f2c.
>
> suggestion: would it be possible to
2004 Aug 20
2
R on gentoo amd64 (gcc 3.3.3) is unstable
dear wizards:
FYI: gentoo is a linux meta distribution, which compiles all packages.
Once running, gentoo is stable on most applications. (it has some
problems with system tools, such as grub.) the compiler is gcc 3.3.3.
I do not expect anyone to track down for me why R fails on the gentoo
amd64+gcc3.3.3 system, but I thought that it would be good to put it on
the record to save
2004 Aug 20
2
R on gentoo amd64 (gcc 3.3.3) is unstable
dear wizards:
FYI: gentoo is a linux meta distribution, which compiles all packages.
Once running, gentoo is stable on most applications. (it has some
problems with system tools, such as grub.) the compiler is gcc 3.3.3.
I do not expect anyone to track down for me why R fails on the gentoo
amd64+gcc3.3.3 system, but I thought that it would be good to put it on
the record to save
2004 Aug 21
4
loadhistory() in .Rprofile ?
dear wizards: my .Rprofile has just one command for testing,
loadhistory("~/.Rhistory")
but this gives me an error on R startup:
Error: couldn't find function "loadhistory"
Invoking loadhistory() as the first interactive command works fine;
incidentally, I believe loadhistory() in the .Rprofile worked in
earlier or other platform R releases, too.
Is the .Rprofile
2004 Oct 15
4
pdf device --- axes labels text disappeared?
Dear R Wizards: Running R 1.9.1. on amd64.
Promise<- c(0,20,40); Expect<- c(0, 20, 0.2*20+.8*40 );
# this omits printing numbers on the axes labels.
pdf(file = "bug.pdf" );
plot(Promise, Expect, type="b", ylim=c(0,60));
dev.off();
# this works
postscript(file = "bug.eps" );
plot(Promise, Expect, type="b", ylim=c(0,60));
dev.off();
apologies if
2004 Nov 01
2
non-linear solve?
hi: could someone please point me to a function that allows me to
solve general non-linear functions?
> irr.in <- function(r, c1, c2, c3 ) { return(c1+c2/(1+r) +
c3/(1+r)^2); }
> solve.nonlinear( irr.in, -100, 60, 70 );
0.189
If someone has written an irr function, this would be helpful,
too---though not difficult to write, either. thanks for any pointers.
Regards,
/iaw
2004 Jul 29
2
expression + paste + arguments + ...
dear R wizards: I would like to write a function that roughly places
the equivalent of the following latex text into the current plot:
\newcommand{ \placesigma }[4]{ \put(\#1,\#2){ \sigma_{A , #3} = #4 }
I cannot figure out how to do this. I know I have to use a function
that uses expressions in a text() invoke. But passing arguments and
nesting strings and expressions has so far not
2003 Jun 03
0
Rtips (was Re: ? building a database with a the great /cookbook
For me as a beginner a cookbook would be welcome. so many great code
examples are posted into the help list, but finding these is quite
difficult. I think it comes all down to the problem who is compiling
/ contributing and can judge what should go in.
In this respect, Detlef Steuer (suggestion , might be a solution
http://fawn.unibw-hamburg.de/cgi-bin/Rwiki.pl?RwikiHome.
Frank
>
2004 Nov 21
1
sas vs. R
SAS
* better manuals.
* tech support for most universities contracted into the price, thus
for researchers.
* batch orientation. if you have to handle data sets that are as large
as your memory, SAS generally does it better. It seems to be an
"n-pass design." Years ago, when memory was expensive, I could not use
S/R even for simple problems. Just a few simple operations, and I
2004 Sep 15
1
adding observations to lm for fast recursive residuals?
dear R community: i have been looking but failed to find the
following: is there a function in R that updates a plain OLS lm()
model with one additional observation, so that I can write a function
that computes recursive residuals *quickly*?
PS: (I looked at package strucchange, but if I am not mistaken, the
recresid function there takes longer than iterating over the models
fresh from
2005 Aug 15
3
paste / system mystery
Dear R wizards:
under R-2.1.0:
eargs <- 3:5;
line <- paste(c("echo A B", eargs));
cat("executing from R: '", line, "'\n");
system(line);
Oddly, only "A" and "B" are echoed, not the eargs. I had hoped that
line would be one string at this point, and for printing this seems to
be true. However, unlist(line) still gives me the 4
2004 Jun 25
7
circle / oval / semicircle ?
hi: where would I find facilities to draw circles, ovals, and
semicircles? (or should I construct them myself using curve?)
regards, /ivo
2004 Jun 20
4
if syntax
I ran into an interesting oddity of R,
if (0) { print(1); }
else { print(2); }
is a syntax error, while
if (0) { print(1); } else { print(2); }
or
if (0) { print(1);
} else { print(2); }
is not. I presume it has to do with the duality of the newline
functioning as an end of command (;) character, though it still seems a
bit odd, and it took me a while to figure out
2005 Aug 22
2
pdf font embedding --- again
dear R wizards--- I would like to do some book-on-demand printing at a
popular printer named lulu, but lulu requires inclusion even of the
basic postscript fonts. Interestingly, my book itself does not need
the 14 base acrobat fonts, only the embedded R figures do. Of course,
I really would like to get pdftex to embed the fonts, but how to do
this is not obvious either. [This method seems
2003 May 28
2
? building a database with a the great examples
Dear R help reader,
I'm not an expert in R and are lerning a lot by reading the help
digest, which is sometimes difficult because the huge amount of data
posted. I have posted some questions before, and are impressed how
quick I got a solution for my problem. Sometimes with quite different
suggestions. I was always wondering if my questions didn't come up
before. On the other site,
2007 Jul 25
3
Constructing bar charts with standard error bars
I am new to R.
I want to graph group data using a "Traditional Bar Chart with Standard
Error Bar", like the kind shown here:
http://samiam.colorado.edu/~mcclella/ftep/twoGroups/twoGroupGraphs.html
Is there a simple way to do this?
So far, I have only figured out how to plot the bars using barplot.
testdata <- scan(, list(group=0,xbar=0,se=0))
400 0.36038 0.02154
200 0.35927
2006 Jan 10
2
Wikis (was about prod(numeric(0)))
Tony Plate <tplate <at> acm.org> writes:
>
> Since the virtue and reliability of Wikis was brought up, I created a R
> Wiki page for this at
>
http://www.sciviews.org/_rgui/wiki/doku.php?id=beginners:surprises:emptysetfuncs
>
>
> Anyone: please correct errors and improve it!
>
> Tony Plate
>
OK, now I have another question:
I see a wiki at
2006 Jan 10
2
Wikis (was about prod(numeric(0)))
Tony Plate <tplate <at> acm.org> writes:
>
> Since the virtue and reliability of Wikis was brought up, I created a R
> Wiki page for this at
>
http://www.sciviews.org/_rgui/wiki/doku.php?id=beginners:surprises:emptysetfuncs
>
>
> Anyone: please correct errors and improve it!
>
> Tony Plate
>
OK, now I have another question:
I see a wiki at