Displaying 20 results from an estimated 12000 matches similar to: "looking into function body without package installation"
2010 Aug 05
3
PageUp/Down in gnome-terminal
Dear all,
I am using gnome-terminal to run R, and I noticed that standard
PageUp/Down do not work but they do work for other programs within the
same terminal window (e.g. irssi). Scroll bar does not work either.
I run R using GNU-screen, but it doesn't seem to make any difference.
Many thanks
Olga
------------------
R version 2.11.1 (2010-05-31)
2010 x86_64 GNU/Linux
Ubuntu 10.04.1 LTS
2010 Sep 02
2
lower triangle of the correlation matrix with xtable
Dear all,
mydata<-data.frame(x1=c(1,4,6),x2=c(3,1,2),x3=c(2,1,3))
cor(mydata)
x1 x2 x3
x1 1.0000000 -0.5960396 0.3973597
x2 -0.5960396 1.0000000 0.5000000
x3 0.3973597 0.5000000 1.0000000
I wonder if it is possible to fill only lower triangle of this
correlation matrix? Using 'dist' doesn't seem to be useful as it doesnt
allow to convert this table
2010 Mar 14
6
barplot with a probability density curve
Dear all,
I am making a barplot as following:
barplot(c(1,2,3,5,2,3,1),names.arg=c("100","200","300","400","500","600","700"),xlab="diameter",ylab="flow",main="some title",space=0.1)
I am also trying to add a probability density curve, however using
lines(density(c(1,2,3,5,2,3,1))) does not give
2009 Aug 04
3
read.csv from a remote machine
Dear all,
I am trying to import data with read.csv and my file is on remote
machine.
I believe that I need to open a connection, not sure about syntax
though.
I would appreciate any suggestions,
Thanks!
Olga
2010 Aug 03
2
multiple R sessions from one working directory using GNU screen
Dear all,
I am using GNU screen to run multiple R sessions from one working
directory in order to split task, however I noticed that dataset is not
synchronized e.g. if I have two sessions R1 and R2, and I remove an
object from R1, R2 doesn't change as expected or change at random.
I have tried to save.image(), q() and then restart both sessions, but it
does not help.
Any suggestions?
2011 Feb 04
2
vegan and sweave using xtable
Dear all,
Using:
library(vegan)
data(BCI)
mod <- radfit(BCI[1,])
mod
RAD models, family poisson
No. of species 93, total abundance 448
par1 par2 par3 Deviance AIC BIC
Null 39.5261 315.4362 315.4362
Preemption 0.042797 21.8939 299.8041 302.3367
Lognormal 1.0687 1.0186 25.1528 305.0629 310.1281
2010 Sep 01
3
standardize columns selectively within a dataframe
Dear all,
I have a dataframe:
df<-dataframe(a=c(1,2,3),b=c(4,5,6),c=c(7,8,9),d=c(10,11,12))
I want to obtain a new dataframe with columns a and b being standardized
((x-mean(x))/sd(x)); the other two columns (c,d) I want to leave
unchanged. What is the best way to achieve this? I have been trying to
use subscripts but did not succeed so far.
Any tips?
Many thanks,
Olga
2016 Apr 18
1
ZINB multi-level model using MCMCglmm
Hi,
I am Olga Viedma. I am running a Zero-inflated negative binomial (ZINB) multi-level model using MCMCglmm package. I have a doubt. Can I use the "Liab" outputs as fitted data, instead of the predicted values from "predict"? The liab outputs fit very well with the observed data, whereas the predicted values are so bad.
Thanks in advance,
Olga Viedma
D . Olga
2010 Apr 14
2
brtfs on Solaris? (Re: [osol-discuss] [indiana-discuss] So when are we gonna fork this sucker?)
brtfs could be supported on Opensolaris, too. IMO it could even
complement ZFS and spawn some concurrent development between both. ZFS
is too high end and works very poorly with less than 2GB while brtfs
reportedly works well with 128MB on ARM.
Olga
On Wed, Apr 14, 2010 at 5:31 PM, <Casper.Dik at sun.com> wrote:
>
>
>>Just a completely different question...is there any plans
2007 Sep 13
3
Call C code from R
Hello, All!
I have function which is written in C, the function uses other functions
also builded bu me. Now I need to use the function to build R function.
My questions are:
1. How can I include libraries (for example, iomanip, sstream, tcl.h)?
2. Should I put other function to the separate file and then include the
file?
Thanks All :)
Olga
[[alternative HTML version deleted]]
2010 Aug 13
1
decision tree finetune
My decision tree grows only with one split and based on what I see in
E-Miner it should split on more variables. How can I adjust splitting
criteria in R?
Also is there way to indicate that some variables are binary, like variable
Info_G is binary so in the results would be nice to see "2) Info_G=0"
instead of "2) Info_G<0.5".
Thank you in advance!
And thanks for Eric who
2015 Aug 04
4
Working Documentation Toolchain [GSoC]
Hi,
The basic toolchain is up and running. I encourage community to test
this workflow once. It is an addition to the existing contributing
mediums.
Site: http://clown-olga-13325.bitballoon.com/
Contributing Docs repo : https://github.com/kunaaljain/test-centos-docs
==AIM==
Initial Idea : http://wiki.centos.org/GSoC/2015/Ideas#docs-toolchain
The CentOS Project needs more short-form
2016 May 13
1
LaTeX errors new with R 3.3.0
Hello:
I could use help understanding an error reported by "R CMD build
sos" that's new with R 3.3.0:
Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet, :
Running 'texi2dvi' on 'sos.tex' failed.
LaTeX errors:
! Undefined control sequence.
l.1 \Sconcordance
{concordance:sos.tex:sos.Rnw:%
The control sequence at
2016 Jun 18
5
Error in texi2dvi
Hello:
Changes in R seem to have broken the sos vignette, and I don't
know how to fix it. The build on R-forge,
"https://r-forge.r-project.org/R/?group_id=235&log=build_src&pkg=sos&flavor=patched",
ends as follows:
Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet, :
Running 'texi2dvi' on 'sos.tex' failed.
LaTeX
2011 Nov 13
1
issue using package sos
Issue with sos package
I am now using R 2.14 and the sos package did work with 2.13
> library(sos)
Loading required package: brew
Attaching package: 'sos'
The following object(s) are masked from 'package:JGR':
installPackages
The following object(s) are masked from 'package:utils':
> library("sos"); findFn("random forest")
found 253
2010 Aug 19
1
decision tree display
I am using "plot" and "text" commands to display the decision tree I built,
here is the code:
plot(fit, compress=TRUE)
text(fit, use.n=TRUE)
but the the result of this code is not readable. Text doesn't get fully
displayed (missing on the margines and overlapping in the middle). Where
can I get info on how to adjust the tree display and text size display?
Please help.
2013 Sep 19
1
Vignette problem and CRAN policies
Hello, All:
The vignette with the sos package used "upquote.sty", required for R
Journal when it was published in 2009. Current CRAN policy disallows
"upquote.sty", and I've so far not found a way to pass "R CMD check"
with sos without upquote.sty.
I changed sos.Rnw per an email exchange with Prof. Ripley without
solving the problem; see below. The
2007 Dec 11
1
CentOS 5 sysreport
I stumbled across this issue because I requested to install the
sysreport package in my kickstart file. Anaconda complains that such
a package doesn't exist. There is a bug report about this already
(http://bugs.centos.org/view.php?id=2492), but it's certainly a
strange situation.
1. Anaconda doesn't think the package sysreport exists
2. yum thinks it exists:
2018 Mar 18
0
WARNING: CPU: 5 PID: 74 at ../drivers/gpu/drm/nouveau/include/nvkm/subdev/i2c.h:170 nvkm_dp_enable+0xbe/0x140
I have been getting the following splat for while now, guess its time to
report, this is on 4.15.8-1-default (OpenSUSE Tumbleweed). I could try
a more up to date kernel if we think this can be fixed.
Mar 16 16:48:18 olga kernel: kvm: SMP vm created on host with unstable TSC; guest TSC will not be reliable
Mar 16 18:28:59 olga kernel: WARNING: CPU: 5 PID: 74 at
2012 Jun 10
1
Convert "\" to "/"?
Hello, All:
I have for years copied an address like "C:\Program
Files\R\R-2.15.0\library\MASS\scripts" from Windows Explorer into R,
then manually replaced "\" with "/". I have a function to automate this
added to the development version of "sos". However, it generates a
warning in "R CMD check" ("parse error: unexpected