similar to: multi-argument returns

Displaying 20 results from an estimated 11000 matches similar to: "multi-argument returns"

2004 Dec 23
3
tcltk problem
Hi all, I have R Version 2.1.0 installed on a box running Redhat Fedora Core 2. When I try: library() it shows the package tcltk. But if I try: library(tcltk) I get the same error message like in this thread: http://tolstoy.newcastle.edu.au/R/help/01c/3418.html The same, tcl and tk are installed in /usr/lib; if I try: capabilities("tcltk") I get: tcltk FALSE I cant' find tcltk.so
2004 Dec 23
3
tcltk problem
Hi all, I have R Version 2.1.0 installed on a box running Redhat Fedora Core 2. When I try: library() it shows the package tcltk. But if I try: library(tcltk) I get the same error message like in this thread: http://tolstoy.newcastle.edu.au/R/help/01c/3418.html The same, tcl and tk are installed in /usr/lib; if I try: capabilities("tcltk") I get: tcltk FALSE I cant' find tcltk.so
2008 Jan 11
3
Is R on Windows multi-threaded
Hi, A previous thread suggests that R on Windows is multi-threaded http://tolstoy.newcastle.edu.au/R/help/03b/6946.html When I'm running R 2.5.1 on a dual core pc I get Rgui.exe uses up to 50% of the available cpu and the rest is not used. i.e. it only uses one cpu. I'm soon going to get a nice shiny new 8 cpu machine which it would be very nice to fully utilize. Is there any way to
2007 May 31
1
RMySQL DBI question
Dear colleague, I have two data frame which I tried to use dbWriteTable function with append=TRUE to write to the mysql database. The problem is that if I am run my R script directly then it is fine. Both data frame got written into the database. But when I tried to embed the script to be called as system("R --save < whatever.R") in my perl script, I saw very strange things. One
2004 Jul 29
2
Parsing multi-line strings. Bug? Feature?
I have an S-Plus library that I would like to port to R. The library sends a mix of static and dynamic output to an html file. For example cat(" ... Big block of HTML formatting code ... ") cat(dat()) cat(" More static text ") With S-Plus I can just cut and paste HTML code from other files into my S-Plus script file. This makes maintenance of the script fairly easy. The
2005 Apr 02
1
Survey of "moving window" statistical functions - still looking f or fast mad function
Hi, First, let me thank Jaroslaw for making this survey. I find it quite illuminating. Now the questions: * the #1 solution below (based on cumsum) is numerically unstable. Specifically if you do the runmean on a positive vector you can easily get negative numbers due to rounding errors. Does anyone see a modification which is free of this deficiency? * is it possible to optimize the
2004 Sep 10
1
Multi-line string constants: proposed patch
R 1.9.1 requires multi-line strings to contain a backslash at the end of each line (except the last line). As noted by Mark Bravington (http://tolstoy.newcastle.edu.au/R/help/02b/5199.html) this requirement appears to be undocumented. In S-Plus 6.2, multi-line strings do not need a backslash for continuation. I recently (http://tolstoy.newcastle.edu.au/R/devel/04b/0256.html) requested
2005 Nov 28
6
How define global Variable?
Hello, I try to define a global variable. My example: R> a <- "old" R> test <- function () { a <- "new" } R> test() R> a # shoud be "new" This doesn't work. I would like to modify the variable "a" in a procedure. How can I do that. Thank you for helping. Sven Kn侟ppel (Germany-Berlin)
2009 Jan 19
2
plotting arrows with different colors and varying head size
Dear list, I would like to plot arrows with different colors according to arrow length, and also (if possible) with head size proportional to arrow length. The idea is to make a quiver-like plot of matlab with wind speed data. So far, I´ve been able to use different colors, but I need to find a more efficient way to recode arrow length intervals into colors. On the contrary, I can't define
2007 Jul 26
2
Creating windows binary R package (PowerArchiver vs. zip -r9X)
Hi list,I apologize if you see funny fonts, b/c I'm using the new Windows Live Hotmail and don't know how to turn off the "rich text" mode.....I have successfully built and installed a R package in windowsXP for R-2.5.1. But when I tried to create a .zip file so I can use "Packages/install package(s) from local .zip files..." to install it, it seems R only recognizes
2004 Oct 07
3
Read.Table Reading a Text file
Dear R users and Helpers I am beginner with using R and interested in carrying out certain task for my statistical research. I am reading data for a text file, which could contain data in following pattern x y 8 10 11 14 16 16 18 15 6 20 4 4 20 18 As per the example I have two columns and 7 rows of data in each. However is real life data situation I may not know how many columns are present
2005 Mar 02
5
Differences between package and library terminology
Just out of curiosity, what is the difference between the terms for package and library ? Why are we loading a package with the library() command ? If this is a case of RTFM, I would be happy to do so if pointed in the right direction. I have searched the FAQ and mail archives and only came up with http://tolstoy.newcastle.edu.au/R/help/05/02/12162.html but this still does not explain what is
2008 May 31
2
tolstoi.newcastle dead?
Anyone know what's up w/ tolstoi.newcast.edu.au (home of the threaded R-help archives)? I've got a "can't connect" for several days now. Carl
2007 Sep 10
3
plot legend: combining filled boxes and lines
Hello, I have difficulties combining boxes and lines in plot legend. I searched previous R-posts and found this (with no solution): http://tolstoy.newcastle.edu.au/R/help/06/07/30248.html. Is there a way to avoid boxes behind the line legends? x1 <- rnorm(100) x2 <- rnorm(100, 2) hist(x1, main = "", col = "orange",ylab = "density", xlab = "x", freq =
2007 Jan 19
2
Cross-compile errors under R-2.4.0 and R-2.4.1
Dear all, I already posted a question regarding this to an existing thread: http://tolstoy.newcastle.edu.au/R/e2/devel/06/10/0852.html#start I apologize for the double posting but I have some further information that might be illuminating. I am trying to cross-compile my R-package under ubuntu linux, kernel 2.6.17-10-generic, on an IBM T60. I am following the suggested steps in
2004 Nov 11
3
R "sumo" package suggestion
r-help: I have an R package suggestion. After spending several hours the other day installing about a dozen packages, I had an idea. In xemacs, there is a "sumo" package which allows me to install a large bundle of xemacs packages at one time (about a 120 modes including ESS). I think R should have a similar bundle. It would be so much easier than hunting/downloading/installing.
2010 Oct 12
1
GEE with user-specified link function
Hello, I would like to try to fit a GEE with user-specified link function. I read through a couple of thread on the list, for example http://tolstoy.newcastle.edu.au/R/help/04/12/9768.html#start and http://tolstoy.newcastle.edu.au/R/help/06/04/25298.html. I noticed that they are all 6 or more years old and the answer is very clear for GLM, however for GEE I am still not sure. There are two
2013 Jan 29
1
R-help archives --- are they up-to-date?
I just saw a message from David Winsemius, responding to an inquiry from Carol White: > On Jan 28, 2013, at 9:06 PM, carol white wrote: > >> Should I understand that this message was received? > > It's always possible to check the Archives for this question. This prompted me to ask about a problem that has been bothering me for a while: When I go to "Search" on
2007 Mar 20
6
Select the last two rows by id group
Hi R-users, Following this post http://tolstoy.newcastle.edu.au/R/help/06/06/28965.html , how do I get last two rows (or six or ten) by id group out of the data frame? Here the example gives just the last row. Sincere thanks, Lauri [[alternative HTML version deleted]]
2010 Nov 19
4
calculating martingale residual on new data using "predict.coxph"
Hi list, I was trying to use "predict.coxph" to calculate martingale residuals on a test data, however, as pointed out before http://tolstoy.newcastle.edu.au/R/e4/help/08/06/13508.html predict(mycox1, newdata, type="expected") is not implemented yet. Dieter suggested to use 'cph' and 'predict.Design', but from my reading so far, I'm not sure they can