Displaying 20 results from an estimated 3000 matches similar to: "Incorrect display of b[hat((a))] expression in plots"
2004 Oct 15
1
Building package compatible w/ R v1.9.1 and R v2.0.0?
Hi,
just in the process of updating my packages for R v2.0.0 and I have not had
time to followed the R v2.0.0 discussions so maybe my questions have already
been answered.
A concern I have is that when creating packages they should be backward
compatible with R v1.9.x for a while until all users and computers has
migrated to R v2.0.x. It is pretty straightforward to setup my packages so
that
2002 Aug 18
1
Adding argument 'flush' to read.table() too...
What about adding the argument 'flush=FALSE' to read.table() for the option
to ignore trailing elements on each row? This feature already exists in
scan(), which is called internally by read.table():
flush: logical: if `TRUE', `scan' will flush to the end of the line
after reading the last of the fields requested. This allows
putting comments after the last
2004 Jun 10
1
tryCatch() and preventing interrupts in 'finally'
With tryCatch() it is possible to catch interrupts with tryCatch(). Then you
can use a 'finally' statement to clean up, release resources etc. However,
how can I "protect" against additional interrupts? This is a concern when
the hold down Ctrl+C and generates a sequence of interrupts. Example:
tryCatch({
cat("Press Ctrl+C...\n");
Sys.sleep(5);
}, interrupt =
2004 Nov 15
1
UseMethod call with no arguments
Dear R developers,
I will ask a very straightforward question concerning UseMethod's future,
because people depending on my code wonder what will happen to it next.
In R v2.0.1 NEWS it says
o The undocumented use of UseMethod() with no argument is now
formally deprecated.
and in the R v2.0.1 help(UseMethod) it says
'UseMethod' accepts a call with no arguments and tries to
2002 Aug 23
5
quick xtable questions
Hi, I'm creating a lot of tables in a file for inclusion in a Latex
document. When I try to compile that document there is an error "too many
unprocessed floats." Is there a way to correct this?
Also, in a Latex table I want R to put in a $\beta$ in the caption, but it
puts a weird system character instead of the \b
Brian
2002 Aug 06
1
write.table() adds unnecessary spaces to right align integer column
When using write.table() to write data frames the integer columns are padded
with unnecessary spaces (0x20) so that these columns are right align if you
look at them in a text editor. However, I think it is quite a vast of file
size. For instance, I am reading a tab-delimited 4200kb microarray data file
and writing it back verbatim using write.table() and it becomes 5100kb, a
20% increase. Is this
2002 Jul 08
2
Methods/package for working with sets and intervals
Before reinventing the wheel, is there a package for working on (nice)
sets and intervals, where one can for instance check if a set of intervals
contains a scalar, taking the union and intersection of some intervals
etc?
Example:
# Defining the set i = [1,2) + [3.5, 10]
i <- c(1,2, 3.5, 10)
attr(i, "include") <- c(TRUE, FALSE, TRUE, TRUE)
x <- 0:12
# Get
2004 Mar 11
1
Is it ok to use the name on a bundle and one if its packages?
Hello,
I wonder if it is unwise to name a bundle the same as one of its
packages. For instance, I now have a huge package called 'aroma' that
I basically want to split up in several smaller packages, say
'aroma.core', 'aroma.io', 'aroma.explore', 'aroma.trial',
'aroma.deprecated' etc, which simplifies maintenance but also the
overview. For
2003 Aug 21
1
how to specify format of floats for the output file
I'd like to write some numbers to an external file that looks "pretty" (e.g,
decimal points aligned, same number of decimals). For example, if using
sprintf(), "%5.1f" can be used to specify the format of the float to be printed
on screen. How can I do the same if I want to write an output file instead? I
have tried cat and write.table, but none of them worked so far.
2004 May 25
1
Hiding internal package functions for the doc. pkg-internal.Rd
Hallo!
I would like that the internal package functions does not appear in the documentation.
I placed they names as aliases in the file nameofmypackage-internal.Rd as advised.
After R CMD check (which runs neatly) they are still listed in 00Index.html.
Is there no way to hide internal functions from the doc?
Have I overlook something?
Sincerely Eryk.
Dipl. bio-chem. Eryk Witold Wolski
2003 Dec 09
1
Importing TIFF files into a R matrix
Hi
I am facing a problem where I would like to import a TIFF image (of spots on a nylon filter) into R (into a matrix for example). When plotting the matrix using fx. scatterplot3d I would then be able to see how the pixel-intensities are distributed in "spot-areas" on the filter - which would be very helpful.
Does anynone know of a way to do this?
Best regards,
Peter Hagedorn
...
2003 Aug 13
2
scan file error (PR#3738)
Full_Name: Bart
Version: 1.7.1
OS: XP
Submission from: (NULL) (150.203.41.62)
When trying to load microarray slides (gpr format) into R 1.7.1, I get the
following error message
Error in scan(file = file, what = what, sep = sep, quote = quote, dec = dec, :
line 1057 did not have 43 elements
I have been able to load the files on another computer before including an XP
machine. I have
2002 Jul 22
2
finding the colour at a point
I think this was asked recently but I can't find the item.
Is it possible to find the colour at a point on a graphics page?
I want to estimate the area of a complex shape by colouring it then random
sampling from an enclosing box ...
Richard Rowe
Richard Rowe
Senior Lecturer
Department of Zoology and Tropical Ecology, James Cook University
Townsville, Queensland 4811, Australia
fax (61)7
2001 Jun 13
1
plot math Q: How to "plot" hat(f') ?
In nonparametric regression and density estimation, something like
\hat{f'}(x) [LaTeX] is very natural.
In all S dialects,
hat(f')
is invalid syntax, and hence one cannot use something like
plot(1, main = expression(hat(f')))
I can say something like
plot(1, main = expression(widehat(paste(f, "'"))), cex.main = 3)
but that (the R code, not the plot result)
2015 Jan 03
4
Potential cross-platform package building issue
I am using 32-bit R 3.1.2 on Windows 7.
I recently conducted an `R CMD check --as-cran` on a recently-developed
package and received only the 'New submission' note. Research on
StackOverflow and on R-devel suggested this could be ignored. I also used
devtools::build_win() and received no notes or warnings, other than the one
mentioned previously. Lastly, I conducted an `R CMD check` with
2009 Oct 19
3
loop and plot
Dear all,
I am stuck at applying loop function for creating separated plots.
I have coding like below:
dataset.table <-
table(data.frame(var1=c(1,2,3,1,2,3,1),colour=c("a","b","c","c","a","b","b")
))
kk = function(f)
{
ls=as.character(f)
pie(dataset.table[ls,],main=ls)
2005 Aug 10
3
repeated - R package
Thompson's Manual to Accompany Agresti's book refers to a package named
"repeated". It's not on CRAN from what I can see. I have seen rpm's for
it. Where is the best place to download this package?
Rick B.
2011 Oct 18
1
How to read data sequentially into R (line by line)?
I have a data set like this in one .txt file (cols separated by !):
APE!KKU!684!
APE!VAL!!
APE!UASU!!
APE!PLA!1!
APE!E!10!
APE!TPVA!17122009!
APE!STAP!1!
GG!KK!KK!
APE!KKU!684!
APE!VAL!!
APE!UASU!!
APE!PLA!1!
APE!E!10!
APE!TPVA!17122009!
APE!STAP!1!
GG!KK!KK!
APE!KKU!684!
APE!VAL!!
APE!UASU!!
APE!PLA!1!
APE!E!10!
APE!TPVA!17122009!
APE!STAP!1!
GG!KK!KK!
it contains over 14 000 000 records. Now
2002 Mar 01
2
Weakness in Knuth-TAOCP RNG (fwd) (PR#1336)
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.
---559023410-1141662977-1014960253=:3119
Content-Type: TEXT/PLAIN; CHARSET=iso-8859-1
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-ID:
2006 Apr 23
1
fsck_ufs locked in snaplk
Colleagues,
one of my servers had to be rebooted uncleanly and then I have backgrounded
fsck locked for more than an our in snaplk:
742 root 1 -4 4 1320K 688K snaplk 0:02 0.00% fsck_ufs
File system in question is 200G gmirror on SATA. Usually making a snapshot
(e.g., for making dumps) consumes 3-4 minutes for that fs, so it seems to me
that filesystem is in a deadlock.
Any