Displaying 20 results from an estimated 1000 matches similar to: "exmaple problems"
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 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
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) :
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
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
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
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
2006 Jul 03
1
rownames, colnames, and date and time
Hi all
I was wondering whether there has ever been an update on the rownames and
colnames behaviour as described by Eric below?
I still get the same behaviour, exactly as described by Eric, on my WinXP
installation of R-2.3.0. I also posted a message to r-help on Friday but
looking through the online archives it seems to have not made it to the
list. I would agree with Eric that a consistent
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
2008 Jun 20
1
problem with rdiff
Hi all.
(I am sending this querry here because it is somehow relating to rsync. If i am wrong please pardon me.)
I am doing following on these windowsXP and Vista.
I am trying to get only incremental backup using "rdiff-backup" (that also uses rsync).
I have installed gcc compiler and by following the steps given in http://katastrophos.net/andre/blog/2005/11/02/rdiff-backup-on-windows/
2011 Aug 19
1
rsync'ing an rdiff-backup repository
I'm rsync'ing an rdiff-backup repository to a different machine and I
have a few questions I'm hoping you guys can help me out with.
Should I use --archive? Or maybe -rlD instead?
Can I restrict an SSH key to rsync? I can do it with rdiff-backup
with command="rdiff-backup --server" but I can't figure out how to do
it with rsync.
The rdiff-backup repository I'm
2008 Feb 09
1
Rprofile.site in Windows version
I think Rprofile.site as installed with R-2.6.2
contains some misleading information.
It contains the following lines
# set a CRAN mirror
# local({r <- getOption("repos")
# r["CRAN"] <- "http://my.local.cran"
# options(repos=r)})'.
Uncommenting these lines and changing the URL
will not work.
'. at the end of the last line will break the
2005 May 07
1
ScieViews installer
I tried to install SciViews in R 2.1.0 (on Windows)
and on all machines I get:
bundle 'SciViews' successfully unpacked and MD5 sums checked
Error in sprintf(gettext("unable to move temp installation '%d' to
'%s'"), :
use format %s for character objects
how can I solve this problem?
--
Erich Neuwirth, University of Vienna
Faculty of Computer Science
2015 May 07
2
Backup PC or other solution
On May 7, 2015 6:05 AM, "Jussi Hirvi" <greenspot at greenspot.fi> wrote:
>
> I wonder why nobody has yet mentioned rdiff-backup. It combines browsable
directories with multiple versions - the version data is stored in a
separate rdiff-backup-data subdirectory (one per backup task).
>
> One downside is that rdiff-backup causes a lot of network traffic. For
that reason I
2009 Jan 10
1
Implementing a conditional branch within rsync based on modified time of a file
Greetings,
I've been looking through archives, googling, and reading through man pages to no avail for some time now. I believe I need some combination of rsync -u (update) and rsync --del, and I'm not quite sure how to get it.
I'm looking to build a rough implementation of a multi-client rdiff-backup system; in order to do this I'm using rsync before rdiff-backup.
(We'll
2011 Nov 18
3
Windows binaries: Version and revision strings show "(2006-00-00 r00000)"
FYI,
for the last few revision the version string for both R v2.14.0
patched and R devel are not correct for the Windows binaries. This is
what R --version and sessionInfo() report since a couple of days:
R version 2.14.0 Patched (2006-00-00 r00000)
R Under development (unstable) (2006-00-00 r00000)
Also, "r00000" is listed as the revision on:
2008 Apr 17
0
RExcelInstaller
RExcelInstaller_2.0-15
installs RExcel, an add-in for Excel, which connects R and Excel.
RExcel allows to transfer data between R and Excel,
writing VBA macros using R as a library for Excel,
and calling R functions as worksheet function in Excel.
RExcel integrates nicely with R Commander (Rcmdr),
turning R Commander's menus into Excel menus.
It comes with a comprehensive set of example
2017 Feb 21
1
that ever puzzling special chars escaping + rdiff-backup
hi everyone
a good basher around here?
I try in a script:
_rdiffBack="rdiff-backup -v5 --tempdir /tmp/ --no-eas
--exclude-other-filesystems --exclude-symbolic-links"
_rdffiExclude="--exclude '**/~*' --exclude '**.tmp'
--exclude-regexp '(.glusterfs|.trashcan|temp)'"
_execCom=${!2}
_sourceDir=${1}
_backupTo=${3}
__backMeUp() {
for _sourceDir in
2009 May 27
1
How to emulate rdiff behaviour
Hi,
i am new to rsync and i want to use rsync to emulate rdiff behaviour (because i can't install rdiff on the system).
What i would like rsync to do is to generate a diff file (like with rsync --write-batch) but WITHOUT changing the destination file.
This would allow me to store daily differential updates on the target (i think hardlinking would not help me much as the file is changing every
2006 Mar 21
1
rownames, colnames, and date and time
I noticed something surprising (in R 2.2.1 on WinXP)
According to the documentation, rownames and colnames are character vectors.
Assigning a vector of class POSIXct or POSIXlt as rownames or colnames
therefore is not strictly according to the rules.
In some cases, R performs a reasonable typecast, but in some other cases
where the same typecast also would be possible, it does not.
Assigning a