Message: 12
Date: Wed, 20 Apr 2011 02:09:23 -0700 (PDT)
From: Sharpie ch...@sharpsteen.net
To: r-devel@r-project.org
Subject: Re: [Rd] How to get R to compile with PNG support
Message-ID: 1303290563237-3462502.p...@n4.nabble.com
Content-Type: text/plain; charset=UTF-8
Dear R devel list,
Friedrich Leisch-2 wrote:
On Tue, 19 Apr 2011 13:59:44 -0700 (PDT),
David Epstein (DE) wrote:
When I re-use a code chunk in Sweave, together with keep.source=TRUE,
I would
like to follow usual programming conventions in which the amount of
white
space on the left indicates
Hi, apparently I sent my question about using R and C++ to the wrong list,
ironically seeing as that list was called Rcpp. Anyway, I was directed to
post my question here. To summarize my current question, I have found two
commands that I want to be able to put into a package. The commands are 'R
Hi,
Has something changed regarding the useDynLib in the NAMESPACE file in
packages? I've written a package that works in e.g. 2.12/2.13 but simply
cannot find the dynamic library under windows. The version on CRAN is
older than the one I'm talking about and depends on a newer version of R
Followup with the specific issue in our most recent (non-posted, as of
yet) attempts on a certain box. We now have xorg-dev, libcairo-dev,
and Xwindows.h and libpng (as below) on this machine, but R is not
compiling with support for any of these things.
Once again, any help knowing *exactly*
Hi Charlie, thanks for writing back.
Using the oldPkgs parameter wouldn't work, please see the error bellow:
update.packages(oldPkgs =c(rpart))
Error in update.packages(oldPkgs = c(rpart)) :
invalid 'oldPkgs'; must be a result from old.packages()
Do you think it should support this instead
On 20.04.2011 13:30, Tobias Abenius wrote:
Hi,
Has something changed regarding the useDynLib in the NAMESPACE file in
packages? I've written a package that works in e.g. 2.12/2.13 but simply
cannot find the dynamic library under windows. The version on CRAN is
older than the one I'm talking
Dear R-devel,
I investigated further by tracing into library.dynam.
The .dll file export a symbol ccd. In e.g. R 2.8.1 the following
command succeeds,
dyn.load('/Program
Files/R/R-2.8.1/library/lassoshooting/libs/i386/lassoshooting.dll')
and the external symbol ccd becomes available.
On 21.04.2011 11:30, Tobias Abenius wrote:
Dear R-devel,
I investigated further by tracing into library.dynam.
The .dll file export a symbol ccd. In e.g. R 2.8.1 the following
command succeeds,
dyn.load('/Program
Files/R/R-2.8.1/library/lassoshooting/libs/i386/lassoshooting.dll')
and the
Dear list subscriber,
I am quite puzzled by the behaviour of processing Sweave files within an R
session, i.e.
Sweave(foo.Rnw) versus R CMD Sweave foo.Rnw
In the former the environmental variable 'SWEAVE_STYLEPATH_DEFAULT = TRUE' is
obeyed (this is set in etc/Renviron.site as well as under
On 11-04-20 11:33 AM, Sean Robert McGuffee wrote:
Hi, apparently I sent my question about using R and C++ to the wrong list,
ironically seeing as that list was called Rcpp. Anyway, I was directed to
post my question here. To summarize my current question, I have found two
commands that I want to
Bernd
.Renviron is not being read when you do R CMD ... This is documented,
but still puzzling to me. I solved this by using
Sys.setenv(SWEAVE_STYLEPATH_DEFAULT = TRUE)
in my .Rprofile (which is being read by R CMD ...). If you were on
linux you could also put it inside your shell profile
On 20 April 2011 at 12:16, Karl-Dieter Crisman wrote:
|
|
| R is now configured for i686-pc-linux-gnu
| Source directory: .
| Installation directory:/home/sageserver/sage/local
| C compiler:gcc -std=gnu99
| -I/home/sageserver/sage/local/include
|
On 21 April 2011 at 07:16, Duncan Murdoch wrote:
| On 11-04-20 11:33 AM, Sean Robert McGuffee wrote:
| Hi, apparently I sent my question about using R and C++ to the wrong list,
| ironically seeing as that list was called Rcpp. Anyway, I was directed to
| post my question here. To summarize my
On Thu, 21 Apr 2011, Pfaff, Bernhard Dr. wrote:
Dear list subscriber,
I am quite puzzled by the behaviour of processing Sweave files within an R
session, i.e.
Sweave(foo.Rnw) versus R CMD Sweave foo.Rnw
In the former the environmental variable 'SWEAVE_STYLEPATH_DEFAULT =
TRUE' is obeyed
(Redirected from r-packages, which is supposed to be an annoucements-only
list, to r-devel which is for R development questions.)
On 21 April 2011 at 08:10, Jay Emerson wrote:
| We have used the BOOST interprocess libraries in package bigmemory
| (and synchronicity, and ...) for about 3 years
On Thu, 21 Apr 2011, Pfaff, Bernhard Dr. wrote:
Dear list subscriber,
I am quite puzzled by the behaviour of processing Sweave
files within an R session, i.e.
Sweave(foo.Rnw) versus R CMD Sweave foo.Rnw
In the former the environmental variable
'SWEAVE_STYLEPATH_DEFAULT =
On 04/19/2011 05:00 AM, r-devel-requ...@r-project.org wrote:
Date: Mon, 18 Apr 2011 11:48:40 -0400
From: Karl-Dieter Crismankcris...@gmail.com
To:r-devel@r-project.org
Cc: Jason Groutjason.gr...@drake.edu
Subject: [Rd] How to get R to compile with PNG support
On Thu, Apr 21, 2011 at 6:44 AM, Pfaff, Bernhard Dr.
bernhard_pf...@fra.invesco.com wrote:
Dear list subscriber,
I am quite puzzled by the behaviour of processing Sweave files within an R
session, i.e.
Sweave(foo.Rnw) versus R CMD Sweave foo.Rnw
In the former the environmental variable
Thanks for your replies, Dirk and Matt.
On Thu, Apr 21, 2011 at 7:49 AM, Dirk Eddelbuettel e...@debian.org wrote:
On 20 April 2011 at 12:16, Karl-Dieter Crisman wrote:
|
|
| R is now configured for i686-pc-linux-gnu
| Source directory: .
| Installation directory:
On 21 April 2011 at 09:51, Karl-Dieter Crisman wrote:
| Thanks for your replies, Dirk and Matt.
My pleasure.
| On Thu, Apr 21, 2011 at 7:49 AM, Dirk Eddelbuettel e...@debian.org wrote:
| Random guess: did you connect via ssh without x11 forwarding?
|
| Almost certainly, yes. (I am an
On Apr 21, 2011, at 9:51 AM, Karl-Dieter Crisman wrote:
Thanks for your replies, Dirk and Matt.
On Thu, Apr 21, 2011 at 7:49 AM, Dirk Eddelbuettel e...@debian.org wrote:
On 20 April 2011 at 12:16, Karl-Dieter Crisman wrote:
|
|
| R is now configured for i686-pc-linux-gnu
|
Thanks,
That's great, but I don't know how to determine what foo is. How do I
declare the name of the package?
On 4/21/11 7:16 AM, Duncan Murdoch murdoch.dun...@gmail.com wrote:
On 11-04-20 11:33 AM, Sean Robert McGuffee wrote:
Hi, apparently I sent my question about using R and C++ to the
On Apr 21, 2011, at 10:52 AM, Sean Robert McGuffee wrote:
Thanks,
That's great, but I don't know how to determine what foo is.
It's the name of your package.
How do I declare the name of the package?
in DESCRIPTION:
Package: name
and the directory of your package has to have the same
On 21/04/2011 10:52 AM, Sean Robert McGuffee wrote:
Thanks,
That's great, but I don't know how to determine what foo is. How do I
declare the name of the package?
See the Writing R Extensions manual, or a tutorial on the topic, e.g.
the one I gave at UseR 2008, available here:
On Apr 20, 2011, at 8:35 AM, Karl-Dieter Crisman wrote:
Message: 12
Date: Wed, 20 Apr 2011 02:09:23 -0700 (PDT)
From: Sharpie ch...@sharpsteen.net
To: r-devel@r-project.org
Subject: Re: [Rd] How to get R to compile with PNG support
Message-ID: 1303290563237-3462502.p...@n4.nabble.com
So, how is the package turning it's name into those commands?
Does the installation automatically list the src directory and iteratively
run a loop over each file and call 'R CMD SHLIB objectOfIterator' ?
The reason this is so important is because it¹s easy to get things to work
via a terminal
Ah, that's simple, thanks!
On 4/21/11 10:57 AM, Simon Urbanek simon.urba...@r-project.org wrote:
On Apr 21, 2011, at 10:52 AM, Sean Robert McGuffee wrote:
Thanks,
That's great, but I don't know how to determine what foo is.
It's the name of your package.
How do I declare the name
Please, please, please read the documentation before sending more
questions to the list. You also have the source code, so you can look
at what R CMD build and R CMD INSTALL are doing.
--
Joshua Ulrich | FOSS Trading: www.fosstrading.com
On Thu, Apr 21, 2011 at 10:16 AM, Sean Robert McGuffee
Thanks for all the feedback. First, our update, then two responses.
From Jason Grout:
+++
I finally got it working. After mucking around in the R configure
file a bit and trying out some of the different tests, as well as
comparing a working system with our broken system, I realized that
I've just committed some changes to rgl that will probably detect
bitmaps that are specified to be too large. As well, Brian Ripley
backported some of the R-devel additions to the RweaveLatex driver, so
now R 2.13.0-patched (revision 55572 or newer) should
work as well as R-devel.
Duncan
I am trying to define subset operator for a reference class and hitting some
problem i am unable to diagnose.To give an example, here is a toy class
generator that is a wrapper around a list
tmpGEN-setRefClass(TMP, fields=list(
namelist=list
))
You're confusing functional and OOP-style methods.
Since you define an OOP-style method, you need to invoke it in OOP style.
With your example:
tmp$`[`(random)
[1] -1.439131143 -0.630354726 0.822006263 -0.651707539 0.475332681
[6] 0.002680224 1.539035675 -0.117609566 2.066227300
smcguffee wrote:
You are right, I looked and I did find the R source code. However, it's
largely written in R! I mean, I don't know how to trace the R code where
INSTALL is recognized and follow it to a c or c++ level command. For
example
these are hits in .R files, not c files, and I
34 matches
Mail list logo