Displaying 20 results from an estimated 4000 matches similar to: "New unique name"
2000 Feb 25
1
r-excel interface code
some of you might be interested.
i just uploaded the first release of my
r-excel interface package to CRAN.
it is in
contributed extensions
nonstandard extensions
erich neuwirth
--
Erich Neuwirth, Computer Supported Didactics Working Group
Visit our SunSITE at http://sunsite.univie.ac.at
Phone: +43-1-4277-38624 Fax: +43-1-4277-9386
2000 Feb 25
1
r-excel interface code
some of you might be interested.
i just uploaded the first release of my
r-excel interface package to CRAN.
it is in
contributed extensions
nonstandard extensions
erich neuwirth
--
Erich Neuwirth, Computer Supported Didactics Working Group
Visit our SunSITE at http://sunsite.univie.ac.at
Phone: +43-1-4277-38624 Fax: +43-1-4277-9386
2001 Nov 12
3
histogram question
hist(rbinom(1000,10,0.5),col=2,xlim=c(0,10),ylim=c(0,300))
gives a histogram with "touching bars"
hist(rbinom(100000,10,0.5),col=2,xlim=c(0,10),ylim=c(0,30000))
gives a histogram with space between the bars.
is there a way to control the space betweent he bars easily?
--
Erich Neuwirth, Computer Supported Didactics Working Group
Visit our SunSITE at http://sunsite.univie.ac.at
2004 Jul 14
5
RGui Titlebar
In the windows version (RGui), is there a way to set
the text displayed in the titlebar of the R window?
When I have 2 instances of RGui running, it would be helpul
if the titlebar could help to understand which is which.
--
Erich Neuwirth, Computer Supported Didactics Working Group
Visit our SunSITE at http://sunsite.univie.ac.at
Phone: +43-1-4277-38624 Fax: +43-1-4277-9386
2004 Sep 08
4
factor always have type integer
typeof applied to a factor always seems to return "integer",
independently of the type of the levels.
This has a strange side effect.
When a variable is "imported" into a data frame,
its type changes.
character variables automatically are converted
to factors when imported into data frames.
Here is an example:
> v1<-1:3
>
2000 Mar 15
2
headers needed in gcc
i am working my way to create a stdin-stdout version of R
i am not a gcc configuration expert.
currently, i am missing
#include <sys/types.h>
# include <sys/socket.h>
# include <netinet/in.h>
# include <netinet/tcp.h>
#include "sock.h"
as far as i understand my system,
these header files shpuld be in
/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.1/include
2002 Mar 29
3
system in windows
i want to call
"c:/Program Files/Netscape/Communicator/Program/netscape.exe"
with system
but
system("c:/Program Files/Netscape/Communicator/Program/netscape.exe")
does not work because of the blank.
system('"c:/Program
Files/Netscape/Communicator/Program/netscape.exe"',wait=FALSE)
works exactly like i want.
when i set
options(browser="c:/Program
2002 Jul 19
3
controling graphic window size and asprec ratio in windows
i am using the rarcinfo package
to draw maps.
for maps, th aspect ratio is quite important.
how can i control the aspect ratio and the size of a graphics window
in the mswindows version of R and more generally in R in general.
i would like to e able to both set the size before or while the window
is corrected,
and also for a window which already exists.
--
--
Erich Neuwirth, Computer Supported
2001 Dec 16
1
windows testing, internet
doing
make -f Makewfile.win test-Internet
in tests
gave
make[1]: Leaving directory `/cygdrive/d/Work/R-devel/tests'
D:/Work/R-devel/bin/Rterm --vanilla LC_ALL=C --internet2 --vanilla <
internet.R
> internet.Rout2
diff internet.Rout internet.Rout2
99,100c99,100
< unable to resolve 'foo.bar'.
< Error in url("http://foo.bar", "r") : cannot open URL
1999 Sep 29
1
date() in win version
when i do
print(date())
the output is
[1] "Wed Sep 29 09:13:04 1999\n"
ios it on purpose the the linfeed is
shown as abbreviation and not done?
--
Erich Neuwirth, Computer Supported Didactics Working Group
Visit our SunSITE at http://sunsite.univie.ac.at
Phone: +43-1-4277-38624 Fax: +43-1-4277-9386
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
2005 Dec 22
1
Hiding a function from ls()
I need to define a small helper function
which should not be listed by ls().
What is the best and cleanest way of achieving this?
--
Erich Neuwirth, University of Vienna
Faculty of Computer Science
Computer Supported Didactics Working Group
Visit our SunSITE at http://sunsite.univie.ac.at
Phone: +43-1-4277-38624 Fax: +43-1-4277-9386
2010 Apr 16
3
run R script from Excel VBA
I wrote a R script say called computeCovarMatrix.R and i want to call and
run this piece from Excel visual basic. does anyone know how to do that?
thanks,
KZ
[[alternative HTML version deleted]]
2002 Mar 07
2
Statconnector and Excel
Hi,
I'm trying to combine a VBA macro and a R package. I've installed the R-(D)COM and the R-excel interface by Neuwirth. They seem to work both. However I would like to display the r-generated data in an Excel sheet as an array but I don't manage.
Here is an example of my source:
Sub doR()
Call RInterface.StartRServer
Call RInterface.RRun("library(mdnn)")
Call
2001 Feb 04
1
help with build on windows needed.
i installed r for window 1.2.1
and suddenly
rcmd build
does not work any more.
C:\work\checked.out>rcmd build
Please set TMPDIR to a valid temporary directory
C:\work\checked.out>echo %TMPDIR%
C:\Documents and Settings\Erich Neuwirth\Local Settings\Temp
and this is a valid directory.
things worked smoothly in 1.2.0
what can i do?
--
Erich Neuwirth, Computer Supported Didactics
2001 May 01
2
graphics library fltk
we still do not have dynamic graphics in R natively.
i just found out about a widget library called fltk
info is at
www.fltk.org
it has all the stuff r currently can do only through tcl/tk or
(as i do it) excel: sliders, knobs, spinners and so on.
it is multiplatform, there are production versions for
unixen and windows, and there is a beta for macs.
this could be a way of getting some of
2004 Apr 13
1
Execute function at startup
It would be convenient to have something like
Rgui runfist="myfunction()"
in Windows.
The reason:
AFAIK Rgui does not accept piped input
(RGui < myfile.R does not seem to work).
A solution could be to put a few fuctions in Rprofile and then
give the name for one of these functions to be executed at startup as
a command line parameter to Rgui.
Can something like this be done?
--
2004 Apr 13
1
Execute function at startup
It would be convenient to have something like
Rgui runfist="myfunction()"
in Windows.
The reason:
AFAIK Rgui does not accept piped input
(RGui < myfile.R does not seem to work).
A solution could be to put a few fuctions in Rprofile and then
give the name for one of these functions to be executed at startup as
a command line parameter to Rgui.
Can something like this be done?
--
2001 Nov 24
4
about the function order()
Dear all,
I have recently experienced something with the function order I cannot
explain:
The help(order) (which I admit having overlooked before) rises even more
my confusion...
The following lines made me think order() was returning the 'order' each
value in a vector would take when sorted.
> a <- c(4.1, 3.2, 6.1)
> order(a)
[1] 2 1 3
Doing
> plot(a,
2008 Feb 13
2
apply on large arrays
I have a big contingency table, approximately of size 60*2*500*500,
and I need to count the number of cells containing a count of 1 for each
of the factors values defining the first dimension.
Here is my attempt:
tab1<-with(pisa1,table(CNT,GENDER,ISCOF,ISCOM))
tab2<-apply(tab1,1:4,function(x)ifelse(sum(x)==1,1,0))
tab3<-apply(tab2,1,sum)
Computing tab2 is very slow.
Is there a faster
2010 Feb 23
5
export tables to Excel files
Dear R users,
I've just posted a similar question about Illustrator.
This time I would like to export the results of my statistic tables and
my dataframes into Excel files.
Up to now I've used write.csv(), but I have to resave every file in .xls
in Excel.
I would like to know if there is a function or package to export
directly into *.xls.
I have found xlsReadWrite which would be