Displaying 13 results from an estimated 13 matches for "newr".
Did you mean:
new
2007 Dec 12
1
Problem with filenames with commas in them
...the file but it can't check/rewrite them.
Here is the error I get from rsync when trying to overwrite the files
(using --inplace) :-
home# rsync -r --inplace .in /freecom/backup/home/chris/Mtest/
rsync: open "/freecom/backup/home/chris/Mtest/.in/audacity/cur/1172007150.76430_0.newred:2," failed: Input/output error (5)
rsync: open "/freecom/backup/home/chris/Mtest/.in/audacity/cur/1172012773.6188_0.newred:2," failed: Input/output error (5)
rsync: open "/freecom/backup/home/chris/Mtest/.in/audacity/cur/1172032604.34523_0.newred:2," failed: Input...
2007 Dec 10
1
What is happening here - rsync can't copy where cp can, Input/Output errors
...e tests on one particular directory, "cp -R" succeeds
but "rsync -r" fails:-
home# cp -R .in /freecom/backup/home/chris/Mail/
home# rsync -r .in /freecom/backup/home/chris/Mail/
rsync: rename "/freecom/backup/home/chris/Mail/.in/audacity/cur/.1172007150.76430_0.newred:2,.PC3iF7" -> ".in/audacity/cur/1172007150.76430_0.newred:2,": Input/output error (5)
rsync: rename "/freecom/backup/home/chris/Mail/.in/audacity/cur/.1172012773.6188_0.newred:2,.P11kJR" -> ".in/audacity/cur/1172012773.6188_0.newred:2,": Input/output e...
2002 Nov 25
3
Full enumeration, how can this be vectorized
...x <- seq(.01, 2, by=stepx)
y <- seq(.01, 2, by=stepy)
z <- seq(.01, 15, by=stepz)
for (i in 1:length(x))
for (j in 1:length(y))
for (k in 1:length(z))
{
# Pass the current best result to the function being minimized to allow
for early termination
newRes <- fun(c(x[i], y[j], z[k]), par, res)
if (!is.na(newRes) && newRes < res)
{
res = newRes
best.x <- x[i]
best.y <- y[j]
best.z <- z[k]
}
}
return (c(
best....
2010 Dec 09
3
hi have a question about merging.
...iables.
# For
the fourth dataset, please show how to save a dataset of males only (the
variable male=1)
#to a new #data frame.
>attach(raceprofiling)
>s<-male[male==1]
>news<-data.frame(s)
#The same thing for females (male=0).
>r<-male[male==0]
>newr<-data.frame(r)
now to merge:
I tried >merge(newr,news)
but this does not give the same observation as the original file. I also tried rbind, but this gives me error. Please help
[[alternative HTML version deleted]]
2004 Oct 30
2
How to add values to an array at any position.
Hi,
How to add values to an array at any position.
Asking because of the following:
e.g.
y<-c(0.1,NaN,0.2,NaN) #or data frame
x<-na.omit(y)
take some columns from x and
do some computation with functions which do not allow NaN 's.
After the computing add NaN's at positions stored in
attr(x,"na.action")
of the result vector.
/E
--
Dipl. bio-chem. Witold Eryk
2013 Jul 14
2
creating dummy variables based on conditions
Hello everyone,
I have a dataset which includes the first three variables from the demo
data below (year, id and var). I need to create the new variable ans as
follows
If var=1, then for each year (where var=1), i need to create a new dummy
ans which takes the value of 1 for all corresponding id's where an instance
of one was recorded. Sample data with the output is shown below.
year
2007 Apr 26
1
rsync mirroring and hardlink issues
I'm running a mirror of several repositories that are fetched using
separate rsync runs. Since some of those repositories are hosting
related files, I'm using the hardlink utility[1] in order to save disk
space.
However, I've noticed an issue that may lead to potential file metadata
inconsistencies when using hardlink.
Consider the following scenario:
- two repositories (rep_a and
2002 Mar 29
1
memory error with rpart()
...ation loop. Within each loop, there are some calls
to rpart() like:
ctl <- rpart.control(maxcompete=0, maxsurrogate=0, maxdepth=10)
temp <- rpart(y~., x, w=wt, method="class", parms=list(split="gini"),
control=ctl)
res <- log(predict.rpart(temp, type="prob"))
newres <- log(predict.rpart(temp, newdata=newx, type="prob"))
The code runs fine for the first 30-60 iterations, then gives me the
following error message and crashes:
The instruction at "0x112b4143" referenced memory at "0x00000000".
The memory could not be "read...
2005 Feb 28
2
phpconfig
...e.conf as opposed to the deffrent
sections on the demo site. Even when i click Header, the page just
refreshes and doesn't pick out only the header.
2) I also lack the other links on the right which are in most cases numbers
Questions:
1) Am i using an older version? If so, where can i get a newr version?
2) Am i missing some configuration, which one?
Thanks in advance,
Allan
2013 Feb 28
1
using a personal template for new R scripts
Does anyone know if there's an easy facility to create and specify a template file to be used for new R scripts?
I found myself creating this function which works well (in RStudio on Windows).
newR = function(filename=tempfile(tmpdir='.',fileext='.R'), open=TRUE) {
template = paste(Sys.getenv('R_USER'), 'R_template.R', sep='/')
lines = readLines(template)
lines = sub('Sys.time', format(Sys.time(), '%A, %d %B %Y'), lines)
lines =...
2009 May 12
1
Help needed to compile R with shared library.
Hi,
I cannot compile R with shared library.
I am using Redhad Linux on Dell hardware.
Here''s what I am doing:
I set ?PICFLAGS in config.site file:
CPICFLAGS=-fPIC
FPICFLAGS=-fPIC
and issue:
./configure --enable-R-shlib --prefix=$HOME/newR
make
configure finishes with no complaints, the last
informative line being:
Options enabled: shared R library, shared BLAS, R profiling, Java
But make is upset:
/usr/bin/ld: CConverters.o: relocation R_X86_64_32S against `a local symbol' can not be used when making a shared ob...
2004 Jul 13
2
POP3 fails on non-existent inbox
Using the latest RPM (dovecot-0.99.10.5) on Fedora Core 2. I connected to
the server by POP3 for a user who'd not yet received email (ever) so she
didn't have a spool file in /var/spool/mail, and dovecot was failing on
login.
I just tested it by removing my own mailbox and see this in maillog:
pop3-login: Login: ken [127.0.0.1]
pop3(ken): stat() failed with mbox file
2015 Jun 25
13
[PATCH v2 0/9] Better testing of the guestfsd daemon.
In v2:
- Kernel command line parsing now moved to the appliance.
- In the captive daemon test, the daemon cleanly shuts down on exit.
- Add another btrfs test.
Rich.