Displaying 20 results from an estimated 2000 matches similar to: "graphics library fltk"
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
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
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
2004 Apr 19
3
New unique name
In some languages there is a function
gensym()
which returns a new unique name (in the current environment).
This is quite helpful when one has to do temporary assignments.
I could not find such a function in R.
Is there one?
--
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
2009 Nov 07
2
Rpad and R 2.10.0
I have problems with Rpad and R 2.10.0 (Windows XP and Windows 7,
browser is Firefox)
Just starting Rpad by
library(Rpad)
Rpad()
opens the browser and displays the
.html files and the .Rpad files in my home directory, but these
files do not have links and are not clickable.
Doing the same in R 2.9.2 gives clickable links in the browser.
Furthermore, in both cases an empty graphics window
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
>
2006 Apr 23
3
bivariate weighted kernel density estimator
Is there code for bivariate kernel density estimation?
For bivariate kernels there is
kde2d in MASS
kde2d.g in GRASS
KernSur in GenKern
(list probably incomplete)
but none of them seems to accept a weight parameter
(like density does since R 2.2.0)
--
Erich Neuwirth, University of Vienna
Faculty of Computer Science
Computer Supported Didactics Working Group
Visit our SunSITE 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
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
2008 Oct 26
2
Possible uninstall problem on windows.
I just uninstalled R 2.7.2 on Windows XP after having installed R 2.8.0
The uninstaller removed the String values
HKEY_LOCAL_MACHINE\SOFTWARE\R-core\R\Current Version
HKEY_LOCAL_MACHINE\SOFTWARE\R-core\R\InstallPath
despite the fact that they pointed to R 2.8.0
The uninstaller did not remove the key
HKEY_LOCAL_MACHINE\SOFTWARE\R-core\R\2.7.2
(and all the values in that key)
I think the
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]]
2010 May 22
1
exmaple problems
I do not know if this has been reported already
(I searched the headers of the recent messages to r-devel)
It seems that 'example' in R 2.11.0 has a problem when the help file
does not contain any example.
This is what happens on R 2.11.0 on Windows XP.
> library(tools)
> example(Rdiff)
Error in file(con, "r") : cannot open the connection
In addition: Warning message:
In
2006 Jan 11
3
dataframes with only one variable
Subsetting from a dataframe with only one variable
returns a vector, not a dataframe.
This seems somewhat inconsistent.
Wouldn't it be better if subsetting would respect
the structure completely?
v1<-1:4
v2<-4:1
df1<-data.frame(v1)
df2<-data.frame(v1,v2)
sel1<-c(TRUE,TRUE,TRUE,TRUE)
> df1[sel1,]
[1] 1 2 3 4
> df2[sel1,]
v1 v2
1 1 4
2 2 3
3 3 2
4 4 1
--
Erich
2000 Mar 15
4
question
here is another question (kurt already knows about it).
i would like to do a client server version
of R where the server can run on a unix box and the client
is excel ond a win machine.
the easiest solution would be running a stdin-stdout version
of the server through inetd.
but this is vulnerable.
so what is needed is a sandbox version of the server,
where no acrtive access to the file system is
2009 May 15
1
rsync creates file twice
Hi,
I'm using rsnapshot 1.3.1 on a Synology Diskstation ds 107+.
# uname -a
Linux ds107 2.6.15 #832 Sat Mar 7 00:44:45 CST 2009 armv5tejl GNU/Linux
rsnpahot uses rsync, on my box there is:
# rsync --version
rsync version 3.0.6 protocol version 30
Copyright (C) 1996-2009 by Andrew Tridgell, Wayne Davison, and others.
Web site: http://rsync.samba.org/
Capabilities:
64-bit files, 64-bit
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
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