Displaying 20 results from an estimated 8000 matches similar to: "getting a windows environment variable in r"
2000 Mar 18
1
abline(coef=c(1,1)) different behavoir to screen and postscript 1.00 under windows
hi listees-
Running windows 2000 and r 0.99 or 1.00; I get different lines on screen and print out:
> j<-read.table("jnk.rin",head=T,sep="\t")
> attach(j)
> #gives lines I want
> qqnorm(Dog,pch="o",main="Cumulative Frequency Log Dog Size",log="y",sub="Figure 2",x
=c(-3,3),ylim=c(2000,1000000))
>
2000 Mar 18
0
abline(coef=c(1,1)) different behavoir to screen andpostscript 1.00 under windows
Hi - The problem is with two abline(s). Attached are:
1) jnk.r to run program
2) jnk.rin the data
3) jnkps.eps the postscript output
4) jnkscreen.bmp (from photoshop after bmp copy to clipboard) in jnk.zip
the eps and bmp are different on my machine (windows 2000)
any suggestions appreciated
bob
>>> Diego.Kuonen at epfl.ch 03/18/00 08:24AM >>>
"Robert L.
2003 Apr 12
1
R-1.7.0-beta: in check-all test-IsAs fails on WinNT4.0
Todays R-1.7.0-beta (see below) compiles fine on, but it doesn't pass
make check-all
on WinNT4.0, SP6.
Looking closer, test-IsAs fails:
D:\uwe-ns\R-1.7.0\tests>make -f Makefile.win test-IsAs
running tests of consistency of as/is.*
make[1]: Entering directory `/cygdrive/d/uwe-ns/R-1.7.0/tests'
creating 'isas-tests.R'
make[1]: *** [isas-tests.R] Error 253
make[1]: Leaving
2007 Feb 28
12
Specifying that code is called in a block
Not sure if this is possible currently.
I have a section of code like this:
ActiveRecord::Base.transaction do
cow.save!
duck.save!
dog.save!
end
(Names changed to protect the innocent.)
I''d like to specify that the saves run in a transaction. I can do
ActiveRecord::Base.should_receive(:transaction).and_yield
But is there any way to specify that the code is
2001 Aug 28
2
fitting a mixture of distributions with optim and max log likelihood ?
hi
Suppose I have a mixture of 2 distributions generated by
rtwonormals <- function(npnt,m1,s1,m2,s2,p2){
rv<-vector(npnt,mode="numeric")
for( i in seq(1:npnt)){
if(runif(1,0,1)<=p2){
rv[i]<-rnorm(1,m2,s2)
}
else{
rv[i]<-rnorm(1,m1,s1)
}
}
return(rv)
}
x <- rtwonormals(50000,0,100,500,500,0.05)
#and I try to fit these with (based on thread: [R]
2008 Mar 30
2
tests Rin Rout
Hi the list,
Some rumour (!) say that is it possible to prepare some tests for
checking our code using .Rin and .Rout. It seems to be a very good
practice, but I did not manage to find information on it.
So does someone know how it works ? What are we suppose to write in Rin ?
More precisely :
- I have a package myPack.r in directories ~/myR/myPack/R/
- I create the directory
2000 Nov 01
5
Performance note: Preallocating helps? and two questions
hi-
in r 1.1 on windows 2000
with length(AU) of 35833
AUcap30<-0
for(i in 1:length(AU))AUcap30[i]<-min(30,AU[i])
took over an hour on pentium II 300 mhertz (I esc'ed before it finished)
but
AUcap30<-AU
for(i in 1:length(AU))AUcap30[i]<-min(30,AU[i])
is very quick (a few seconds)
Is this performance difference common in r (ie is linux the same way)?
Are there other tricks
2000 Nov 01
5
Performance note: Preallocating helps? and two questions
hi-
in r 1.1 on windows 2000
with length(AU) of 35833
AUcap30<-0
for(i in 1:length(AU))AUcap30[i]<-min(30,AU[i])
took over an hour on pentium II 300 mhertz (I esc'ed before it finished)
but
AUcap30<-AU
for(i in 1:length(AU))AUcap30[i]<-min(30,AU[i])
is very quick (a few seconds)
Is this performance difference common in r (ie is linux the same way)?
Are there other tricks
2010 Oct 10
1
segfault caused by `icfit` in `interval` package
Dear R community,
I am using the R package `interval` in order to perform some modelling
tests of the
NPMLE convergence in the case of censoring. So all I am doing is drawing a
sample
from exponential distribution, making it a censored sample and computing the
NPMLE of
its distribution function. But when run on Linux Calculate 10.4 the program
keeps
crashing and reporting a segmentation fault
2009 Nov 09
1
Echo canceller strange behaviour
Hi,
I use Echo Canceller from speex 1.2rc1. It works excellent, except one kind
of test: if I use overloaded (and clipped) RIN and not interlaced local
speech and echo in SIN, echo is not removed.
I checked the sources (RIN and SIN) with EC diagnostic tool - delay and
drift are ok.
I would like to understand what the problem is and how to solve it.
--
Victoria
-------------- next part
2011 Mar 02
1
Designing Relation Ship Between Different Models
Hi
I have One Problem
For Example if You Take
Category has_many :products
Here For Category i have soap as example
for products i am taking Santoor , Lux and Rin soaps as products.
Here Again
Both Lux and santoor comes under Bathing soaps.
Rin Soaps Comes under Washing Soaps
So these are sub categories...
Tom-arrow some new sub category may come like baby soaps..
I am confusing How many
2000 Feb 28
1
sub in boxplot doesn't do subtiles
R list-
Under Windows 2000 and r 99:
I wanted a subtitle in boxplot and tried:
> boxplot((AU[ROCK==2 & AU>-1]+0.1~iz),log="y",main="Boxplot of AU by 25 M elevations",sub="aa")
And I got:
Error in sort(x) : only vectors can be sorted
In addition: Warning messages:
1: is.na() applied to non-(list or vector) in: is.na(x)
2: is.na() applied to non-(list
2010 Jan 22
2
sorted reshaping?
dear R wizards:? I am wrestling with reshape.? I have a long data set
that I want to convert into a wide data set, in which rows are firms
and columns are years.
> summary(rin)
firm fyear sim1
Min. :1004.00 Min. :1964.0 Min. : -1.00000
1st Qu.:1010.00 1st Qu.:1979.0 1st Qu.: -0.14334
Median :1016.00 Median :1986.0 Median : 0.00116
Mean
2002 Oct 12
1
auth problem
hi, im facing this problem:
Fatal: can't listen in UNIX socket /var/rin/dovecot/login/
/usr/lib/dovecot/imap-login: No such file or directory
Errror: child xxxxx (auth) returned error 98
any idea?
- bini
2000 Jul 27
3
R under Win2000?
Dear all,
Will R run under Win2000 or is it safer to stay with NT4.0 for a while?
Regards
--
Dr. Jens Oehlschl?gel
Analyse
BBDO InterOne
Gr?nstr. 15
40212 D?sseldorf
Tel.: +49 (0)211 1379-187
Fax.: +49 (0)211 1379-461
http://www.bbdo-interone.de
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2003 May 11
1
Mac OS X canonically decomposed UTF-16 filenames
Hi.
I'd like to find some way for Samba to convert the filenames created
by Macintosh OS X into something windows can use.
According to their docs:
http://developer.apple.com/techpubs/macosx/Essentials/SystemOverview/FileSystem/chapter_9_section_13.html
filenames are stored as
canonically decomposed Unicode 2.1 in UTF-16 format (a sequence of
16-bit codes)
Samba running on a
2019 Aug 19
3
interference of the nmbd service with the dhcp of the debian server??
Hello guys,
I have a fileserver configured on a debian 9.9 using Louis APT. This is not
always the case, but sometimes the server changes IP, and the configuration
in /etc/network/interfaces is static. I already disabled services that
could potentially change the IP.
- The server is an xenserver VM;
- The "vlan" that the server is part of does not have DHCP enabled;
- In xenserver
1999 Oct 21
1
left.solve
I have sort of an emergency question for the list. One of my professors
for an S-Plus intensive class distributed a function to produce partial
regression plots. I need to run it under R, because I'm doing the
homework on my home computer with a modem; hence I don't have the speed
required to emulate X-Windows and run S Plus off one of the campus
servers. Bottom line: I'm using R.
2010 Feb 26
7
How to add a variable to a dataframe whose values are conditional upon the values of an existing variable
Hi everyone,
I am at my wits end with what I believe would be considered simple by a more experienced R user. I want to know how to add a variable to a dataframe whose values?are conditional?on the values of an existing?variable.?I can't seem to make an ifelse statement work?for my situation.?The existing variable?in my dataframe is?a character variable named DOW which contains abbreviated
2017 Mar 31
2
Network isolation for KVM guests
On Fri, Mar 31, 2017 at 05:06:53PM +0200, Sven Kieske wrote:
> On 31/03/17 15:55, C. L. Martinez wrote:
> > I need to attach two physical interfaces to a guest and these phy interfaces have IP and routes assigned and I need to get them off the main routing table.
>
> I do not understand this.
>
> You can attach a physical (or virtual, doesn't matter), interface to any