Displaying 20 results from an estimated 1000 matches similar to: "Keeping R active when launching external application"
2013 Jan 14
3
readJPEG function cannot open jpeg files
I installed jpeg package and tried to use
kim<-readJPEG("kim.jpeg") to read in a jpeg file, but R gave me an error:
Error in readJPEG("kim.jpeg") : unable to open kim.jpeg
I already put "kim.jpeg" in Rstudio's default working directory: "E:\home
work\Rstudio". So I don't think it's a problem caused by omitting the file's
path. But I
2012 Nov 22
1
How to read jpeg image with russian font in R?
Hi,
I m working on R and read one image with russian font using readjpeg()
function and write it on pdf (using grid). But russian text is not visible
on pdf. How can i fix my pblm?
Regards <http://r.789695.n4.nabble.com/file/n4650417/pointer.jpg>
library(JPEG)
library(grid)
pdf("out.pdf" , width = 6.6 ,height = 4.2,family= "URWHelvetica",
encoding="KOI8-R")
2003 Feb 10
1
Factor level comparisons in lme
Hello,
I''m trying to fit a linear mixed effects model of the form:
lme(y ~ x * Sex * Year, random=x|subject)
where Sex and Year are factors with two and three levels respectively. I
want to compare the fixed effects for each level to the overall mean, but
the default in R is to compare to the first level. This can be changed by
adding the term -1 to the righthand side of the model
2011 Mar 23
0
Is there any way to tell what level the flac was encoded at?
Hjalmar,
I recall that many hardware decoders have a limit on the level that
they can handle. At the very least, hardware encoders may only
support a subset of the compression levels. As for the decoders, I
cannot remember specifically whether they are all capable of decoding
all compression levels (it certainly would be more convenient).
My memory from discussions on this mailing list
2007 Feb 09
0
cluster "non-diet", "diet" example.
Suppose, we have 3 people called: Francis, Cedric and Nina. Base on what
they have eaten, we want to cluster people by "diet", "non-diet".
# original data file, named as filename "food.csv".
Francis|potato
Francis|chocolate
Francis|chocolate
Francis|milk
Cedric|vegetable
Cedric|vegetable
Cedric|potato
Nina|potato
Nina|chocolate
Nina|chocolate
Nina|potato
# Step 1: I
2009 Mar 19
2
nth root
Hi,
Is there a function in R to calculate the nth root, similar to the
MATLAB function NTHROOT()?
Thanks,
Martin Biuw
[[alternative HTML version deleted]]
2014 Mar 17
1
internal-sftp stuck on 'ls' with chrootdirectory
Hi all,
I am using Match directive and internal-sftp to chroot sftp users into their
directory. Connection and login works. I can change directories and put/get
files. Also logging of the internal sftp-process works (created a /dev/log
socket inside the chroot). As soon as I use the 'ls' command, nothing
happens and the the process gets stuck. Listing files does work as soon as I
remove
2005 Dec 13
1
Problem with understanding output of Cox model
Hi all,
I am using a 'tricked' Cox Hazard regression model for discrete choice
habitat modelling.
However, I'm having a hard time understanding the meaning of the first
line the following part of the summary() output:
Rsquare= 0.307 (max possible= 0.475 )
Likelihood ratio test= 91.8 on 12 df, p=2.23e-14
Wald test = 26.3 on 12 df, p=0.00977
Score (logrank) test = 58.6 on 12 df,
2006 Mar 24
1
Clustering over strata using a Cox proportional hazard model
Hi all,
I wish to do build discrete choice model to analyse habitat selection of
wolverines.
This can be done with a 'tricked' stratified Cox proportional hazard
model.
For each individual animal each selected position, and possible
alternative non-used available positions are combined into strata.
This means that one stratum contains a set of 1 used position and
several positions which
2004 Sep 21
0
SV: compilation failed for package
Thanks to Roger Bivand, my problem was solved. binutils 2.14 was updatet to binutils 2.15, as indicated under.
Geir Helge Systad
Norwegian Institute for Nature Research
Arctic Ecology, Polarmilj??senteret, N-9296 Troms??, Norway
Adress aug-04 to feb-05:
Albert Pettersonsvei 13, N-5750 Odda
fax +47 85 03 82 14
phone +47 53 64 24 94
mobil +47 91 63 70 55
E-mail: geir.systad at nina.no
2011 Mar 24
1
Is there any way to tell what level the flac was encoded at?
I would also add that the "level" is only relevant to the reference encoder,
as it is an alias to quickly set a number of parameters. Other encoders
might make different choices.
Also, I haven't looked in details at how the encoder works, but I think it
is based on heuristics to decide which is the best compression method for a
set of samples, and I'm not sure that it would give
2003 Jun 05
2
Regression slopes
Hi,
Sorry if this is an obvious one, but is there a simple way to modify the lm
function to test whether a slope coefficient is significantly different
from 1 instead of different from 0?
Thanks,
Martin
Martin Biuw
SEA MAMMAL RESEARCH UNIT
Gatty Marine Laboratory
School of Environmental and Evolutionary Biology
University of St Andrews
Fife, Scotland KY16 8LB
UK
phone +44 (0)1334 462630
fax
2003 Aug 20
2
Weighted circular mean
Hello,
Once again, I posted a message without a subject line. Sorry.... here is
the question again.
Is there a simple way to modify the circ.mean function in the CircStats
package to include a vector of weights to obtain a weighted average angle?
Thanks!
Martin
--
Martin Biuw
Sea Mammal Research Unit
Gatty Marine Laboratory, University of St Andrews
St Andrews, Fife KY16 8PA
Scotland
Ph:
2004 Jun 08
1
mbox configuration
Hi, I change the dovecot.conf
default_mail_env = mbox:/Mail/IMAP/%u/:INBOX=/var/mail/%u
After I did the change, I restart dovecot with the hope that folder that
I create will be stored in /Mail/IMAP/%u. Then I use Mozzila as my email
client and change the IMAP server directory to ~nina/IMAP/ which is the
link to /Mail/IMAP/nina/.
But then I can not create folder anymore from Mozzila, or view
2017 Oct 28
0
Job opportunity: postdoc or PhD at Norwegian Institute for Nature Research (NINA)
Dear all,
The Norwegian Institute for Nature Research (NINA) seeks a post doc or
Ph.D. candidate in mapping and valuation of ecosystem services from
green infrastructure in Oslo. The candidate has preferably skills in
Open Source GIS (OSGeo) and a M.Sc./Ph.D. in geomatics with an
interest in urban ecosystem services, or a M.Sc./Ph.D. in nature
management, landscape architecture, geography,
2008 Sep 26
2
axis in a normal plot
Hi
I have a small problem, I'm new in using R, so I hope you can help me...
I'm running a logistic regression model and want to do a nice plot.
The plot I have made is done a plot with the command jitter:
plot(jitter(overto$age[overto$sex=="F"]),jitter(overto$neg.pos[overto$sex=="F"]),xlab="age",ylab="neg and pos")
my responsvariable is positive
2004 May 27
1
automating aov function
I am running the aov function to determine the linear relationship between
individual genes and a number of covariates in a micro-array data set. My
aov function is working, but I have not been able to write a code to save
these results in a matrix. I am using the following code or a slight
variation of this code:
for(i in 1(length(m[1,])-20)
{tmp<- aov(m[,i]~treat, data=m)
2006 Apr 06
4
weighted kernel density estimate
Dear R-users,
I intend to do a spatial analysis on the genetic structuring within a
population. For this I had thought to prepare a kernel density estimate
map showing the spatial distribution of individuals, while incorporating
the genetic distances among individuals. I have a dataset of locations
of N unique individuals (XY-coordinates) and an NxN matrix with the
genetic distances given as a
2005 Jun 02
1
nls.control: increasing number of iterations
Hello,
I'm using the nls function and would like to increase the number of
iterations. According to the documentation as well as other postings on
R-help, I've tried to do this using the "control" argument:
nls(y ~ SSfpl(x, A, B, xmid, scal), data=my.data,
control=nls.control(maxiter=200))
but no matter how much I increase "maxiter", I get the following error
2004 Mar 08
2
memory problem
I am trying to upload into R 143 Affymetrix chips onto using R on the NIH
Nimbus server. I can load 10 chips without a problem, however, when I try
to load 143 I receive a error message: cannot create a vector of 523263 KB.
I have expanded the memory of R as follows: R --min-vsize=10M
--max-vsize=2500M --min-nsize=10M -max-nsize=50M (as specified in help in
R). After running this command the