Displaying 20 results from an estimated 8000 matches similar to: "Possible uninstall problem on windows."
2005 Nov 24
1
Changes to Windows registry in R-2.2.0
R-Devel,
I note from the CHANGES log accompanying the Windows version of R-2.2.0 that
the behaviour with respect to the Windows registry has changed. It says:
"If the user chooses to register R during installation, a registry entry
HKEY_LOCAL_MACHINE\Software\R-core\R\{version}\InstallPath will be added.
Users require administrative privileges to create this key. For others,
the same key
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]]
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
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
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
2007 Aug 15
1
help and Firefox
My configuration is Windows XP, R-2.5.1patched.
My standard browser in Windows is Firefox 2.0.6,
and I am using htmlhelp.
I have problems with starting the browser for displaying help.
help("lm") works as it should when Firefox is already running.
When I do help("lm") and the browser is not yet started,
I get
Error in shell.exec(url) :
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
2008 Apr 19
7
Re ad From EXCEL
Hello!!!
I have been read a much about as read data from Excel File, but I haven?t
found the necesary information to read the data.
Now, I can create a channel : channel <- odbcConnectExcel("file.xls") but I
don?t know as read the data??
I hope that you could help me. Thank you very much.
--
View this message in context:
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
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
2009 Oct 24
2
warnings details
I am running R as an invisible subprocess in another program (RExcel).
Using try I can catch errors and print the errors produced by an R
statement.
Is there a way to know if running a statement caused a warning message?
last.warning gives me the last warning, but I do not have any indication
what the statement was that caused the message.
I can of course store last warning before I run
a
2009 Oct 19
1
source and textConnection
Is this warning given on purpose?
> myconn<-textConnection("print(11*11)")
> source(myconn)
[1] 121
Warning message:
In source(myconn) : argument 'encoding = "native.enc"' will be ignored
Could it be omitted, since the docs state that encoding is only use if
the corresponding argument is a file name or url?
--
Erich Neuwirth, University of Vienna
2010 Apr 18
3
loops and if statements
Hello,
I am very new to R and data analysis in general.
I am trying to generate values to append to my data frame using
conditional statements.
I am playing with this simple example:
a <- c(1:4)
b <- c("meep", "foo", "meep", "foo")
d <- cbind(a, b)
now what I want to do is , each time there is a "meep" in column 2 of
d, print
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
2007 Aug 28
7
Excel
A common process when data is obtained in an Excel spreadsheet is to save
the spreadsheet as a .csv file then read it into R. Experienced users
might have learned to be wary of dates (as I have) but possibly have not
experienced what just happened to me. I thought I might just share it with
r-help as a cautionary tale.
I received an Excel file giving patient details. Each patient had an ID
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
>
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
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