Displaying 20 results from an estimated 20 matches for "lemnica".
2011 Aug 30
2
Non-GPL C (or R) inside of a package
...es the packaging
process [R CMD ***] cause everything to become GPL, as we are using R itself
to build the package?
I can of course provide the C libs in this case as a separate install, but
that adds complexity to the overall build and install process.
Thanks,
Jeff
--
Jeffrey Ryan
jeffrey.ryan@lemnica.com
www.lemnica.com
www.esotericR.com
[[alternative HTML version deleted]]
2013 Jan 03
1
formal vs. passed args: parent.frame() behavior.
...works as well!
> local( { load(tmp,env=environment()); str(A) } )
num 101
>
> ls() ## NOT in .GlobalEnv, correct!
[1] "tmp"
> args(load) ## env=parent.frame() by default, but is it???
function (file, envir = parent.frame())
NULL
>
--
Jeffrey Ryan
jeffrey.ryan@lemnica.com
www.lemnica.com
[[alternative HTML version deleted]]
2011 Oct 18
9
readRDS and saveRDS
Hi all,
Is there any chance that readRDS and saveRDS might one day become
read.rds and write.rds? That would make them more consistent with the
other reading and writing functions.
Hadley
--
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/
2011 Feb 04
1
matching symbols to objects
Hello,
I'm trying to access an object, given only its name as a symbol. I cannot
figure out how to proceed. Suppose I call substitute( ) on the expression
'x + 2':
> parse.tree <- substitute(x + 2);
The constituents of parse.tree are of type symbol and numeric:
> str(parse.tree[[1]])
symbol +
> str(parse.tree[[2]])
symbol x
> str(parse.tree[[3]])
num 2
Suppose
2011 Mar 11
1
hook for when R quits
Hi,
Is there any way that a package can listen for when R quits? The Qt stuff is
hooking into platform-specific event loops and when those die unexpectedly
(from the perspective of Qt), it aborts, causing an annoying error dialog.
If we could catch when R is killed, we could cleanup, like we do with
.onUnload.
Thanks,
Michael
[[alternative HTML version deleted]]
2012 Feb 10
1
which R package is used for browsing web pages through coding
i know RCurl pakage to retrieve web content,it has limited use, i want
interactive package like
(in perl--->Mechanize,
In java--->Watij,Prowser,HTMLunit,HTTPunit,
in Ruby---->Watir ,etc)
this modules/packages opens appropriate browser,which can create
queries,retrieves output, clicks buttons, fill up form
automatically,searches keyword in search engine, Downloads many items from
2012 May 02
6
Quickest way to make a large "empty" file on disk?
R-helpers:
What would be the absolute fastest way to make a large "empty" file (e.g.
filled with all zeroes) on disk, given a byte size and a given number
number of empty values. I know I can use writeBin, but the "object" in
this case may be far too large to store in main memory. I'm asking because
I'm going to use this file in conjunction with mmap to do parallel
2011 Feb 04
2
Strange behaviour of read and writeBin
To me it seems like writeBin() writes one char/byte more than expected.
> con <- file("testbin", "wb")
> writeBin("ttccggaa", con)
> close(con)
> con <- file("testbin", "rb")
> readBin(con, what="character")
[1] "ttccggaa"
> seek(con, what=NA)
[1] 9
> close(con)
> con <-
2012 Mar 01
2
Julia
My purpose in mentioning the Julia language (julialang.org) here is
not to start a flame war. I find it to be a very interesting
development and others who read this list may want to read about it
too.
It is still very much early days for this language - about the same
stage as R was in 1995 or 1996 when only a few people knew about it -
but Julia holds much potential. There is a thread about
2013 Jan 01
1
Behavior or as.environment in function arguments/call (and force() behaviors...)
...Under development (unstable)
major 3
minor 0.0
year 2012
month 12
day 28
svn rev 61464
language R
version.string R Under development (unstable) (2012-12-28 r61464)
nickname Unsuffered Consequences
--
Jeffrey Ryan
jeffrey.ryan@lemnica.com
www.lemnica.com
[[alternative HTML version deleted]]
2011 Apr 26
1
help.request() for packages?
Hi,
Have I missed something, or misunderstood?
The r-help posting guide asks users to contact the package maintainer :
"If the question relates to a contributed package, e.g., one
downloaded from CRAN, try contacting the package maintainer first.
[snip] ONLY [only is bold font] send such questions to R-help or R-devel
if you get no reply or need further assistance. This applies to both
2012 Jan 31
3
seq.Date bug?
R> seq(as.Date(Sys.Date()), by="-1 months", length=6)
[1] "2012-01-31" "2011-12-31" "2011-12-01" "2011-10-31" "2011-10-01" "2011-08-31"
R>
Notice how October appears twice.
Now, date arithmetic is gruesome but the documentation for seq.Date et al
does not hint it wouldn't honour the by= argument. So a bug, or
2011 Sep 23
2
Issue with seek() on gzipped connections in R-devel
Dear all,
In R-devel (2011-09-23 r57050), I'm running into a serious problem
with seek()ing on connections opened with gzfile(). A warning is
generated and the file position does not seek to the requested
location. It doesn't seem to occur all the time - I tried to create a
small example file to illustrate it, but the problem didn't occur.
However, it can be seen with a file I use for
2012 Sep 11
3
R crashes when printing a named numeric vector of a specific class - Bug?
Dear useR's,
today I stumbled over an interesting phenomenon: First, I created a
named numeric vector with a certain class and several attributes via the
structure() function. After that, I implemented a simple print method
for this class. When calling this function it produces an endless loop
of print calls until R crashes. :/
What is going on here? Is this a bug or have I done something
2011 Apr 01
0
R/Finance 2011 Conference Agenda
...rence workshops are rapidly filling up.
Register now and join your fellow colleagues at R/Finance 2011!
http://www.rinfinance.com/register/
Thanks to our 2011 Co-Sponsors and Sponsors:
International Center for Futures and Derivatives at UIC
REvolution Analytics
OneMarketData
RStudio
lemnica
2012 Jan 19
2
What is a 'closure'?
The "R Language Definition" at http://cran.r-project.org/doc/manuals/R-lang.html states in the following section
4.3.2 Argument matching
This subsection applies to closures but not to primitive functions.
What are 'closures'?
[[alternative HTML version deleted]]
2011 May 08
3
Another quantmod question
I'm having troubles with the names of columns.
quantmod deal with stock quotes. I've created an array of the first 5
closing prices from Jan 2007. (Is there a problem that the name is the same
as the variable name? There shouldn't be.)
> close
close
2007-01-03 1416.60
2007-01-04 1418.34
2007-01-05 1409.71
2007-01-08 1412.84
2007-01-09 1412.11
When I try to
2011 Feb 15
6
Request: Suggestions for "good teaching" packages, esp. with C code
Hello,
I am looking for CRAN packages that don't teach bad habits. Can I
have suggestions?
I don't mean the recommended packages that come with R, I mean the
contributed ones. I've been sampling a lot of examples and am
surprised that many ignore seemingly agreed-upon principles of R
coding. In r-devel, almost everyone seems to support the "functional
programming" theme
2011 Feb 08
4
manipulating the Date & Time classes
Hello,
This is mostly to developers, but in case I missed something in my
literature search, I am sending this to the broader audience.
- Are there any plans in the works to make "time" classes a bit more
friendly to the rest of the "R" world? I am not suggesting to allow for
fancy functions to manipulate times, per se, or to figure out how to
properly
2011 Feb 08
4
manipulating the Date & Time classes
Hello,
This is mostly to developers, but in case I missed something in my
literature search, I am sending this to the broader audience.
- Are there any plans in the works to make "time" classes a bit more
friendly to the rest of the "R" world? I am not suggesting to allow for
fancy functions to manipulate times, per se, or to figure out how to
properly