Displaying 20 results from an estimated 22 matches for "dragulescu".
2009 Nov 04
3
inconsistent behavior for logical vectors when using apply (" TRUE")
...t;
[[3]]
[[3]]$letters
[1] "c"
[[3]]$flag
[1] " TRUE"
Notice how TRUE becomes " TRUE" and FALSE becomes "FALSE". Not sure why
TRUE gets an extra whitespace in front.
Checked with R-2.10.0, but can reproduce the behavior as far back as
R-2.8.1.
Adrian Dragulescu
> sessionInfo()
R version 2.10.0 (2009-10-26)
i386-pc-mingw32
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United
States.1252
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics...
2005 Feb 17
2
dumping the summary of lm to a text file
...<- lm(weight ~ group)
sreg <- summary(reg)
and I would like to dump exactly what I see on the console with
print(sreg) to a text file. I've tried using cat but it did not work.
I've read the list questions but I did not see a solution.
Can you help with this?
Thank you,
Adrian Dragulescu
2007 May 26
3
learning lattice graphics
Hi,
I've just produced my first lattice plot - the graphic is very
impressive, but I only partly understand how it works. I crimped from
examples in MASS and the help pages to get most of what I want done.
Howver, I find both MASS and the help pages are a little too terse for
my needs as a beginner. Can anyone suggest web or print resources for
lattice graphics that provide a more thorough
2008 Feb 12
1
controlling the edge linewidth in Rgraphviz
...o have different linewidths for the edges of my graph. I
read the documentation but could not find how to control this. On the
Graphviz help page I've seen that there is something called "penwidth" but I
could not find it in the R edge attributes.
Thanks a lot for any help.
Adrian Dragulescu
2006 Jul 25
5
greek letters, text, and values in labels
Hello,
I want to have a title that will look something like:
"Results for \theta=2.1", given that I have a variable theta=2.1, and
\theta should show on the screen like the greek letter.
I've tried a lot of things:
theta <- 2.1
plot(1:10, main=expression(paste("Results for", theta, "=", eval(theta))))
or using bquote
plot(1:10, main=paste("Results for
2004 Feb 20
1
Does pdf() not work on Trellis graphics?
...ot;xyplot", the output is a file that can not be
read because it has no pages. With "plot" it works
fine. If I do it manually (from the GUI menu), it
works even for "xyplot". How can I save it
automatically, without the GUI?
I use R 1.8.0 on WinXP.
Thank you,
Adrian Dragulescu
2008 Feb 12
0
[Fwd: Re: controlling the edge linewidth in Rgraphviz]
...for the
whole session
# or if you just want to change this for your one graph:
renderGraph(x, graph.pars=list(edges=list(lwd=2)))
There is a Vignette that explains all the new stuff.
Florian
> http://finzi.psych.upenn.edu/R/Rhelp02a/archive/111006.html
>
> On Feb 11, 2008 9:56 PM, Adrian Dragulescu <adrian_d at eskimo.com> wrote:
>
>> Hello,
>>
>> I would like to have different linewidths for the edges of my graph. I
>> read the documentation but could not find how to control this. On the
>> Graphviz help page I've seen that there is something c...
2007 Nov 30
1
dataframe does not expand as.Dates objects (PR#10481)
Full_Name: Adrian Dragulescu
Version: 2.6.0
OS: Windows
Submission from: (NULL) (216.99.178.65)
> data.frame(x=1:10, y="A") # expands fine
x y
1 1 A
2 2 A
3 3 A
4 4 A
5 5 A
6 6 A
7 7 A
8 8 A
9 9 A
10 10 A
>
> data.frame(x=1:10, z=as.Date("2007-01-01")) # get an error...
2004 Apr 29
3
memory problems with lm
Hello list,
I've seen the recent discussions documenting problems with lm.
I have encountered the following problem. I use WinXP Pro with
service pack 1, and R 1.9.0, on a XEON 2GHz, with 1GB of RAM.
> eff.fro
std.dev mean
NSTRDSP 7.403749e-01 1.215686e-01
CPFGEP 9.056763e+00 1.815686e+00
WSWOLF 4.703588e+05 1.112832e+05
NPILGRIM 1.017640e+06 2.134335e+05
2008 Nov 06
1
problem packaging S4 class that contains a slot of jobjRef class
...ds("show")
My .onLoad function contains ".jpackage(pkgname)".
I tried to package just the class twsConnect without the slot reference,
and things worked out fine. I tried to say that twsConnect contains
"jobjRef" but did not have much success.
Thanks a lot,
Adrian Dragulescu
2004 Feb 16
0
error in nls, step factor reduced below minFactor
...keep getting the same error. The function "model"
also returns the
gradient calculated numerically. A run like the one
above takes me a
few hours. Can you help? I looked in the archive and
I've seen this
problem popping up, but no clear solution was
presented.
Thank you,
Adrian Dragulescu
2006 Feb 14
1
weird behavior of nsmall in format
>From the help page of format, nsmall should control the number of digits.
> format(0.123456789, nsmall = 10)
[1] "0.1234567890"
> format(0.123456789, nsmall = 1)
[1] "0.1234568"
> format(0.123456789, nsmall = 2)
[1] "0.1234568"
> format(0.123456789, nsmall = 8)
[1] "0.12345679"
It adds zeros fine but for
2006 Oct 19
1
ROracle error in Windows. Memory could not be read.
I've seen from earlier posts that other people had problems installing
ROracle under Windows. I run R-2.3.1.
I got the Windows binaries for ROracle from
http://stat.bell-labs.com/RS-DBI/download/index.html
Here is my session:
> require(ROracle)
Loading required package: ROracle
Loading required package: DBI
[1] TRUE
> drv <- dbDriver("Oracle")
> drv
2012 Jan 19
1
cannot dyn.load dll from path
Hello,
I'm on Windows, and according to the documentation R searches along the
search path when looking for dll's for dyn.load.
For illustration, I've copied the XML.dll from package XML in the C:/Temp
folder
if (file.exists("C:/Temp/XML.dll")) {
Sys.setenv(path = paste("C:/Temp;", Sys.getenv("path"), sep=""))
2009 Oct 14
2
puzzle using gsub (and encodings maybe)
Hello,
Below is some output that shows my issue.
I have a variable x that I read from a file (more on this below)
> x
[1] "NEW YORK NEW ENGLAND"
> gsub(" -", "-", x) # this does not work!
[1] "NEW YORK NEW ENGLAND"
> Encoding(x) # is x in a special encoding? no
[1] "unknown"
> y = "NEW YORK -NEW
2009 Feb 27
1
R-Google interface: Google summer of code
I use R for data management and ongoing data analysis for amongst other
things, a multi-center medical research project. I have found Google
spreadsheets to be a fantastic way for all collaborators to be on the same
page. Furthermore, Google Forms allows one to capture data from respondents
and effortlessly write it to a google spreadsheet.
Currently, one has to manually download the spreadsheet
2009 Jul 09
1
merge performace degradation in 2.9.1
I have noticed a significant performance degradation using merge in 2.9.1
relative to 2.8.1. Here is what I observed:
N <- 100000
X <- data.frame(group=rep(12:1, each=N), mon=rep(rev(month.abb), each=N))
X$mon <- as.character(X$mon)
Y <- data.frame(mon=month.abb, letter=letters[1:12])
Y$mon <- as.character(Y$mon)
Z <- cbind(Y, group=1:12)
system.time(Out
2004 Mar 18
1
profile error on an nls object
Hello all,
This is the error message that I get.
> hyp.res <- nls(log(y)~log(pdf.hyperb(theta,X)), data=dataModel,
+ start=list(theta=thetaE0),
+ trace=TRUE)
45.54325 : 0.1000000 1.3862944 -4.5577142 0.0005503
3.728302 : 0.0583857346 0.4757772859 -4.9156128701 0.0005563154
1.584317 : 0.0194149477 0.3444648833 -4.9365149150 0.0004105426
1.569333 :
2007 Nov 01
2
unable to install package ff
Hi all,
I've had one of my most miserable R weeks in memory. I'm trying to
deal with huge datasets (>1GB each) but am running up against those
pesky memory limits. The libraries filehash and g.data are not very
suitable for what I need. I haven't gotten into the sql thing yet.
Most recently I've been trying to install the new package ff (not yet
on the CRAN repository). I
2010 Mar 12
4
Form using R
Hi, R users
We can create a form using R?
I would like to create a form where the information can be read by R.
Itneeds to be updated daily because I have to tabulate the reasons for
delays
in the generation of numerical models products.
I really appreciate any help,
Thanks in advance,
Nilza Barros
[[alternative HTML version deleted]]