Displaying 20 results from an estimated 20000 matches similar to: "colored text"
2001 Sep 10
3
inter tick distance
R colleagues,
I am stumped. I would like the inter-tick distances to be the same on the x
and y axes but cannot determine how to do so when the lower half of the y
axis is not printed. Thanks for any and all suggestions. (btw, setting
par(pty="s") does not solve my problem)
Niels Waller
M<-matrix(c(2,1,
-1,3),2,2,byrow=TRUE)
2002 May 16
3
building packages on windows
Has anyone had success building a package on a windows machine?
I am trying the following command with no luck (perhaps my flags are
incorrect?). At this point I am stuck. Any help greatly appreciated.
Niels Waller
(BTW - I have no idea why it cannot find sh.exe since I have it is a
directory that is specified in a path statement)
H:\R\bin>rcmd build --binary --use-zip h:\taxon2
* checking
2002 Jun 14
3
calling an editor on MAC and Linux
I have written an R function that writes output to an external file using
the sink function. I assume that `sink' is not operating system dependent.
At the end of the function I have additional code that opens the newly
created file using notepad on a Windows system. Obviously, this part of the
code will not work on a Mac or Linux box. Since I do not have a machine
with Linux or the Mac OS
2003 Dec 17
1
Building packages in XP
R users,
I recently upgraded (?) to Windows XP from 2000. I am trying to build an R
package. I have done this many times on my old system and I am not sure why
it is not working in XP.
To build the package I call a bat file that specifies all the necessary
paths -- but the "build" file (which appears to be a perl script) is looking
for a "src" subdirectory in the src
2000 Apr 03
3
No subject
R community,
I am having trouble adding Greek symbols to a plot. I want to mix Roman
text and Greek -- but they keep fighting!
Pseudo code for what I want:
[Greek] gamma [subscript]1 = [Roman] Threshold 1
I have conducted a search on the CRAN FAQ list, but no luck.
Any and all hints would be GREATLY appreciated.
Niels Waller
Department of Psychology and Human Development
Vanderbilt
2002 Jun 19
3
unexpected results
Is R behaving correctly in this example? I do not understand why column 2
has any 2s in it (and why column 3 has any 1s)
> x<-matrix(0,10,3)
> x[seq(1,10,by=2),2:3]<-c(1,2)
> x
[,1] [,2] [,3]
[1,] 0 1 2
[2,] 0 0 0
[3,] 0 2 1
[4,] 0 0 0
[5,] 0 1 2
[6,] 0 0 0
[7,] 0 2 1
[8,] 0 0 0
[9,] 0 1
2004 Dec 22
2
Creating packages in windoze: *** [indices] Error 1
Dear R community,
I am running R 2.0.1 on a Windoze XP OS. I recently upgraded from R 1.9x to
2.0.1 and I am currently
upgrading a my personal function packages. My other packages compiled
without
a hitch but I am having a difficult time with my largest package.
Can someone please help me with the following error message
"Error in parse(file, n, text, prompt) : syntax error on line
2001 Mar 01
1
SOM code
The (slow) SOM code can be found on my web page (towards the bottom)
http://peabody.vanderbilt.edu/depts/psych_and_hd/faculty/wallern/
On Thu, 1 Mar 2001, John Aitchison wrote:
>
> Is there an implementation of the SOM ('Self Organizing Map') procedure in
> R ?
>
> I am aware of the implementations of Sammon mapping, multidimensional
> scaling and, somewhat
1998 Nov 28
1
No subject
Dear Friends,
Yesterday I posed a question to the list concerning the possibility of doing
animation examples in R. Here is an example S-Plus (4.5 for Windows ) that
I wrote to illustrate my problem. If I try this in R (comment out the
graphsheet and guilocator calls) I don't see my results until after the
function has iterated through the 100 trials. I would like to plot each
iteration.
2002 May 16
4
packages on windows
I am trying to write my first R package. The file 'Creating R packages'
instructs me to create a 'man' subdirectory for the help files (with an Rd
extension). However when I look at other libraries I do not find a man
subdirectory (I find html dirs). Also I am told to include a keyword from
the KEYWORDS.db. However this file is not on my system? Any suggestions?
I am working
1998 Nov 27
1
No subject
Dear friends,
I am trying to port a collection of S-PLUS teaching functions over to R.
Several of my functions use animation. Animation in S-PLUS is not ideal,
but can be accomplished with a call to guiLocator (this forces the program
to print to the graphsheet rather than wait until the function has completed
all calculations). Does anyone know if there is a trick that will enable
me to
2002 Jan 05
1
R-WinEdt question - answer
The answer to my question was contained in
http://cran.r-project.org/contrib/extra/winedt/ReadMe ,
although it helped to receive the restatements that were emailed to me.
As mentioned by Uwe Ligges, Renuad Lancelot, Niels Waller, my mistake was
not starting R before
using R-WindEdt.
Below I will copy the instructions on using R-WinEdt by Renaud Lancelot
(except for the last paragraph which is
2005 Oct 25
1
Syntax Question
Hello,
I'm having some difficulty running Niels Waller's Maxcov Hitmax program in
the R console, and I was hoping you could provide me with some assistance.
When I attempt to run the analysis I receive the following message:
Indicators 1 3 & 2Error in if (del == 0 && to == 0) return(to) :
missing value where TRUE/FALSE needed
I contacted Dr. Waller regarding this question
2000 Dec 17
1
AW: Permutations
Niels Waller wrote:
> Does anyone know of an R (or S-PLUS) function for delineating all possible
> combinations and permutations?
The following function delivers all permutations of 1:n.
all.perm <- function(n) {
p <- matrix(1, ncol = 1)
for (i in 2:n) {
p <- pp <- cbind(p, i)
v <- c(1:i, 1:(i - 1))
for (j in 2:i) {
v <- v[-1]
2002 Jul 18
0
cloud borders
Is it possible to create a cloud plot (in library lattice) that is not
enclosed by a border? I want the 3d plot to include the cube - I just do
not want the border on the page (because I would like to place four clouds
on a page). Setting the argument: border=FALSE clearly is not the answer
(it doesn't appear to do anything on my system).
I am using R 1.5.1 on a windows NT machine.
2002 May 12
1
ACE and AVAS
Hello,
I would like to perform a monotone transformation of y (my response
variable) to achieve additivity.
My model is as follows
y~X+items
I do not want to transform X or items (both of these variables are factors)
> X
[1] 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 3 3 3 3 3 3 3 3 3 4 4 4 4 4 4 4 4 4
5 5 5 5 5 5 5 5 5 6 6 6 6 6 6 6 6 6 7 7 7 7 7 7
[61] 7 7 7 8 8 8 8 8 8 8 8 8
Levels: 1 2 3 4 5
2000 Oct 15
1
Re: I want to pull out an element from each of a list of matrices
At 18:26 14/10/00 +0100, Prof Brian D Ripley wrote:
>On Sat, 14 Oct 2000, niels Waller wrote:
>
>> Dear colleagues,
>>
>> I suspect there is a simple answer to this question -- but I cannot find
it.
>>
>> Suppose I have a list of matrices. I want to pull out an element (such as
>> row 1, col 2) from each matrix. Do I need a loop to do this? Or is
there
2001 Oct 26
3
warnings --- wish/bug (PR#1148)
When R prints warnings, they often go "out of the line", it would be
better if they where wrapped with
writeLines(strwrap ...
I tried to do that , changing the function warnings, but it has only
effect when called explicitely, not when R prints the warnings unasked.
Anyhow, here is the changed warnings:
warnings <-
function (...)
{
if (!(n <- length(last.warning)))
2018 Jul 17
2
Output mis-encoded on Windows w/ RGui 3.5.1 in strange case
Sorry, I should have been more clear -- if I write the contents of
that script to a file called 'encoding.R' and source that, then I see
the reported behavior.
Here's something standalone that you should hopefully be able to copy
+ paste into RGui to reproduce:
code <- '
x <- 1
print(list())
save(x, file = tempfile())
output <- encodeString("apple")
2018 Jul 18
1
Output mis-encoded on Windows w/ RGui 3.5.1 in strange case
Fixed in R-devel and R-patched,
Tomas
On 07/18/2018 12:03 PM, Tomas Kalibera wrote:
> Thanks, I can now reproduce and it is a bug that is easy to fix, I
> will do so shortly.
>
> Fyi it can be reproduced simply by running these two lines in Rgui:
>
> list()
> encodeString("apple")
>
> Best
> Tomas
>
> On 07/17/2018 05:16 PM, Kevin Ushey wrote: