Displaying 20 results from an estimated 38 matches for "gchappi".
2006 Oct 16
6
NULL or NA for missing function arguments?
Hi,
I am troubled by the use of NULL or NA to indicate
missing/non-specified function arguments.
In the R code that I have looked at, it seems that both forms are used
(NULL seems to be used more often though). Sometimes both variants are
in the same declaration, e.g.
format.default <-
function(x, trim = FALSE, digits = NULL, nsmall = 0,
justify = c("left",
2005 Jun 03
3
plots from batchfile on windows
Hi,
On windows I'd like to run a batchfile that leaves me a plot. As a
test I have the scriptfile "test.r" which only contains:
x <- 1:10;
y <- sample( 10 )
plot( x, y )
Now I tried the following (but nothing worked):
a) "R --vanilla < test.r" in the cmd window, => that doesn't give me a plot
b) the same, but I added
2006 Nov 28
3
delete content of directory - unlink doesn't work as expected
Hi,
I try to delete the files in a directory. While the command
invisible(lapply( list.files( "DeleteThis" ), function(x)
file.remove(paste("DeleteThis", x, sep="/" )) ))
works, I keep thinking that there should be a more direct command.
"unlink" looks like a good candidate but whith this I only arrive to
either delete the whole directory or nothing
2005 Jul 05
1
Kind of 2 dim histogram - levelplot
Dear R-List,
I've written some code to put measurement values at a position x and y
in bins (xb and yb). It works, but I wonder if there isn't a function
that would do what I do by hand in "# fill data in bins"?
Here is the code:
# data
x <- c( 1.1, 1.5, 2.3, 2.5, 2.6, 2.9, 3.3, 3.5 )
y <- c( 6.3, 6.2, 5.9, 5.3, 5.4, 4.2, 4.8, 4.6 )
val <- c( 50, 58, 32, 14, 12,
2005 Oct 13
3
aggregate slow with many rows - alternative?
Hi,
I use the code below to aggregate / cnt my test data. It works fine,
but the problem is with my real data (33'000 rows) where the function
is really slow (nothing happened in half an hour).
Does anybody know of other functions that I could use?
Thanks,
Hans-Peter
--------------
dat <- data.frame( Datum = c( 32586, 32587, 32587, 32625, 32656,
32656, 32656, 32672, 32672, 32699 ),
2006 Feb 16
3
Rf_errorcall - translate to Pascal
Hello!
I (try to) convert the external R header files to Pascal (Delphi). At
one place I stumbled over a macro that uses a method that is not
declared in a LGPL header file:
In Rinternals.h:
#define error_return(msg) { Rf_error(msg); return R_NilValue; }
#define errorcall_return(cl,msg){ Rf_errorcall(cl, msg); return R_NilValue; }
~~~~~~~~
2007 Oct 27
3
How to make own function load automatically on startup
Dear list members,
I have written a function, called say Analysis. I supply an Excel file
name as an argument, it does analysis on this file and returns a pdf
file with specific plots, and a text file with several statistical
models' output (I extract certain values from the output and create my
own custom dataframe with output).
As of now I have to open the script file and load the function
2006 Jun 19
2
strange digit switching
Hi,
I execute the following code snippet.What I don't understand is, that in the
first two cases the numbers shown don't correnspondant to the input (though
I have set the options to show 22 digits). When I assign the third number
which has one place, the display of the numbers is suddenly correct.
Can anybody explain what happens here?
(this is just a sample, my real problem lies in
2005 Jun 09
3
dir() and RegEx and gsub()
Dear R-Users,
I have two questions:
a)
in a directory there are 3 files:
[1] "Data.~csv" "Kopie von Data.~csv" "VorlageTradefile.csv"
The command "dir( fold, pattern = "\.csv" )" gives back *all* the 3 files
With dir( fold, pattern = "\\.csv" ) I get back only VorlageTradefile.csv.
I don't understand this behaviour,
2007 Mar 09
6
R and clinical studies
Does anyone know if for clinical studies the FDA would accept
statistical analyses performed with R ?
Delphine Fontaine
2006 Apr 12
0
headerfile translation to Delphi (Pascal) completed
...sts and think about some kind
of testframework
**I already sent them to the few persons I know who might be interested
- - -
| Hans-Peter Suter, Dipl. Natw. ETH / SW-Entwickler
| Treetron Umweltinformatik, Zuerich Tel +41(1)242 22 55
| mailto: <firstname>.<name>@treetronPUNKTch
| or: gchappi at gmail.com
-------------- next part --------------
DEMOS
========================================================
Available:
- Convolve | - RegisteredConvolve | - Initialize |
- GlobalVariables | - AcrossTheBoard
In each folder is a specific script _rscript and in the
Demo folder two global ones...
2007 Mar 23
6
Updating a worksheet in Excel file using RODBC
Hello!
I have no problem reading Excel files (each worksheet in the file is a "table" which can be read - at least in my case).
What I would like to do is to read such a table, change it (just the contents, not the format) and write it back, and this I can not do. I am getting the following error messages (3 slightly different attempts):
> sqlSave(con, x, tablename =
2009 May 05
1
self organizing map advice for categorical data
..._____
Ravi Varadhan, Ph.D.
Assistant Professor,
Division of Geriatric Medicine and Gerontology School of Medicine Johns
Hopkins University
Ph. (410) 502-2619
email: rvaradhan at jhmi.edu
------------------------------
Message: 18
Date: Mon, 4 May 2009 15:51:26 +0200
From: Hans-Peter Suter <gchappi at gmail.com>
Subject: Re: [R] Surface for R outside of R
To: koj <jens.koch at gmx.li>
Cc: r-help at r-project.org
Message-ID:
<47fce0650905040651j2527bc15o600d0f1acaa2de52 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
> want an analysis. The best case were a...
2010 Dec 11
0
is there a packge or code to generate markov chains in R
...le code.
> >
--
GRATIS! Movie-FLAT mit ?ber 300 Videos.
--
GMX DSL Doppel-Flat ab 19,99 €/mtl.! Jetzt auch mit
gratis Notebook-Flat! http://portal.gmx.net/de/go/dsl
------------------------------
Message: 12
Date: Fri, 10 Dec 2010 12:56:59 +0100
From: Hans-Peter Suter <gchappi at gmail.com>
To: tkdweber <tkd.weber at gmail.com>, eixcxisx at bca.bai.ne.jp
Cc: r-help at r-project.org
Subject: Re: [R] ReadWrite.xls problem
Message-ID:
<AANLkTi=qon_=O+4so7Au-_gRYjGOouEbPnnQ954G+qqw at mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
Toby, haruo0409,...
2010 Sep 06
0
xlsReadWrite v1.5.2
Natively read and write Excel (.xls) files. Supports Windows 32-bit only (atm).
A new version has been released:
-- changes --
o read.xls
- new arguments 'checkNames'
- recognize NA values according to a new 'naStrings' argument
- recognize NaN values
- recognize 'true', 'false' (not case-sensitive) as logical when
determing a class for data.frame column;
2006 Apr 21
1
No Discounts for Springer books (e.g. S Programming)?
Hi,
I want to buy the books "Modern applied Statistics with S" and "S
Programming". Both are Springer books and according to the "Discount
Info" on the page books related to R
(http://www.r-project.org/doc/bib/R-books.html) subject to a 20 %
discount.
Unfortunatley the promotion code doesn't work. I already contacted
Springer but didn't get an answer.
Does
2006 Sep 04
0
xlsReadWrite 1.0
The first version of xlsReadWrite has been uploaded to CRAN.
-- WHAT IS IT? / R COMMANDS
The package allows you to read and write Excel files natively. The supported
Format is BIFF 8, i.e. Excel from version 97 up to 2003.
• read.xls( file, colNames = TRUE, sheet = 1, type = "data.frame", from = 1
)
• write.xls( x, file, colNames = TRUE, sheet = 1, from = 1 )
-- PLATFORM / LICENSE
2007 Mar 20
2
BETA testers for xlsReadWrite? (natively read/write Excelfiles)
Dear UseRs,
I have an update ready for the xlsReadWrite package. It runs my unit
tests just fine but there are quite a lot of changes and it would be
good if some other people could try it out before it will be submited
to CRAN. I won't have more time this week, but I hope to publish
xlsReadWrite at the end of next week and I will incorporate eventual
bugreports and/or (minor) suggestions
2009 Jun 12
0
fix for RMate (TextMate/E-Texteditor bundle)
Arg, I already needed to fix the bundle. If anyone downloaded it
yesterday, please update, the help index building was broken (on
Macs). Should work now.
Repo/Infos: http://github.com/swissr/rmate.tmbundle/tree/master
--
Regards,
Hans-Peter
2010 Sep 06
0
xlsReadWrite v1.5.2
Natively read and write Excel (.xls) files. Supports Windows 32-bit only (atm).
A new version has been released:
-- changes --
o read.xls
- new arguments 'checkNames'
- recognize NA values according to a new 'naStrings' argument
- recognize NaN values
- recognize 'true', 'false' (not case-sensitive) as logical when
determing a class for data.frame column;