Displaying 20 results from an estimated 200 matches similar to: "question re: error message --- package error: "functionName" not resolved from current namespace"
2012 Sep 19
1
different behavior accessing type-specific as.data.frame inside a function vs inside R shell
hello
we are developing an R package called ANTsR for which we have some special
types.
one of these types is an " antsMatrix " type.
we implemented a "as.data.frame" function that casts an antsMatrix to a
data.frame
this works fine in a basic shell script. for instance:
# install
R CMD INSTALL ANTsR
# open
R
# in R do
library(ANTsR)
a <- new( "antsMatrix",
2009 Oct 29
1
change in default behavior of ?functionname in R 2.10?
Hi everyone,
I just installed R 2.10 using the Windows binary. At some point in
the past using the Windows binary installation, the default behavior
of ?functionname changed from plain text to a nice html interface.
Now with R 2.10, the default behavior has changed back to the plain
text help. I assume this has some thing to do with these changes
listed for R 2.10, but I don't quite
2010 Mar 22
2
importing .bil files
Dear list
Has anyone got a recipie at hand to import .bil files into R? From
what I understand the .bil files I got contain layered matricies which
I would lke to make available in R as an array or list.
GIS people seem to be familiar with the .bil format but I am not using
any GIS software and would prefer to deal with the data in R.
I use the latest version of R on Mac OSX 10.5.8.
2013 Jun 27
2
choicemodelr is misbehaving under R3.0
Hi John (and other authors of ChoiceModelR package),
I am experiencing a weird thing when using the function choicemodelr under
R3.0.1.
Before I updated to R3.0, I had used choicemodelr unde R2.15. It was always
as fast or faster than exactly the same task in Sawtooth software.
Now, I've tried to run it under R3.0.1. It seems to be doing the job. But
something is slowing it down dramatically.
2017 Jan 09
4
Tweaking the Register Allocator's spill placement
Hello,
My target features some very-high-latency instructions that access an on-chip network (we'll call them FXLV). In one important kernel (snippet below), register allocation needs to spill values resulting from FXLV. The spiller is unaware of FXLV's latency, and thus naively inserts those spills immediately after the FXLV, incurring huge and unnecessary data stalls.
FXLV r10,
2006 Dec 06
0
mFilter package
Dear useRs,
Please find the new package mFilter version 0.1-2 on CRAN.
The package implements several time series filters useful for smoothing
and extracting trend and cyclical components of a time series. The
routines are commonly used in economics and finance, however they should
also be interest to other areas. Currently, Christiano-Fitzgerald,
Baxter-King, Hodrick-Prescott, Butterworth, and
2009 Apr 02
1
Time series analysis with irregular time-series
Dear R users
I am currently investigating time series analysis using an irregular time series. Our study is looking at vegetation change in areas of alien vegetation growth after clearing events. The irregular time series is sourced from Landsat ETM+ data, over a six year period I have 38 scenes. For certain periods I have monthly data while for others, images are up to three months apart. So far
2013 Apr 29
2
bigmemory and R 3.0
Dear helpers,
Does anyone have information on the status of bigmemory and R3.0? Will it
just take time for the devs to re-code for the new environment? Or is there
an alternative for this new version?
Thanks
Ben Caldwell
[[alternative HTML version deleted]]
2002 Aug 13
1
R CMD check: Too long [R] code line generated (PR#1900)
Full_Name: Henrik Bengtsson
Version: 1.5.1
OS: WinMe
Submission from: (NULL) (217.210.0.243)
In the Perl script $R_HOME/bin/check there is a bug under the section "Check R
code for syntax errors" where the 'Rfiles <- c(...)' is build up. If there are
too many files in @Rfiles the source code line generated will be too long and
weird things will happen, e.g. strange
2008 Dec 19
1
[LLVMdev] strange behaviour after extracting optimization pass code
Hi,
I am expieriencing strange behaviour of llvm's optimization passes and I
don't understand what I am doing wrong.
Basically all I've done is extracting code for optimization of a
llvm-function in a llvm-module and put it into a separate function for
better readability. The original code looks like follows (and works as
expected):
-----------------------------
std::string
2009 Aug 21
4
Where to put source code?
I'm trying to move from Matlab to R, and I'm stuck even getting
started. This sounds to me like the dumbest question in the world
but... how does one put R source code in files? Over the last three
days I've gone front to back through the Introduction to R and the R
Language Definition, and while I'm excited that the language is so
Lispish, none of what I read described how to
2008 Dec 19
2
[LLVMdev] strange behaviour after extracting optimization pass code
Hi,
I am expieriencing strange behaviour of llvm's optimization passes and I
don't understand what I am doing wrong.
Basically all I've done is extracting code for optimization of a
llvm-function in a llvm-module and put it into a separate function for
better readability. The original code looks like follows (and works as
expected):
-----------------------------
std::string
2013 Apr 25
1
Make R 3.0 open .RData files
Hello!
I have Windows 7 Enterprise and two versions of R installed: 2.15.3 and
3.0.0.
Before I had R 3.0 I made it a setting that all .RData files - when I
double-click on them - were opened by R 2.15.3.
Now I want them to be opened by R 3.0 instead of R 2.15.3 (but I don't want
to remove R 2.15.3. yet).
I right-click on some .RData file, select "Open with" - "Choose default
2012 Jun 11
0
SSOAP Parameter Structures: Nested Arrays
Dear list,
I've been using R for a while, but am new to web services. I'm a relatively
novice programmer; advance apologies for incorrect terminology.
I'm trying to send queries and get results back from a SOAP server, using
the SSOAP package. My code contains sensitive API keys and URLs, and
unfortunately I'm unable to share it uncensored. I have not been able to
reproduce the
2016 Mar 01
2
Insert CallInst within a function passing same parameters of the calling function.
Hi,
supposing I have a function “foo” like the following:
int foo(int a, int b) {
...
...
}
I want to insert int the LLVM IR a call instructions to a function “bar” that requires the same parameters of foo.
So my function foo will become:
int foo(int a, int b) {
bar(a,b);
…
...
}
I am using the following code:
bool ThreadSanitizer::runOnFunction(Function &F) {
2009 Jun 13
1
Portuguese translation problem (PR#13756)
Full_Name: Adriano Azevedo Filho
Version: 2.9.0
OS: Windows Vista
Submission from: (NULL) (201.68.79.62)
The error message produced when the function name typed in the console is
misspelled in the Portuguese translation. This is not a new issue but as it is
around for sometime I've decided to report. As this is a frequent message when
beginners start using R, it gives an unfortunate bad
2011 Aug 09
1
Matlab to R
I am trying to convert a matlab code to R.
Most of the conversion statements are simple, but problem is with return.
Since it's a recursive function it's a bit complicated. Anyway in matlab
we can have return statment like
[price, notional] = functionname()
and also for the same function...
notional(1) = functionname()
how to do this in R? i have tried using data frame but still
2010 Feb 26
1
match.call to obtain the name of a function
Within a function I'd often like to obtain a text string equal to the name of the function.
One use for this: To generate a filename for use in pdf(). This enables me to keep track of which function generated a particular graphic came.
match.call() puts parentheses at the end of the name. I don't want parentheses in a filename.
The following kludgey function gives the desired result.
2009 Dec 04
1
no html help upon upgrading to 2.10
I just upgraded from 2.8.1 to 2.10 on Windows Vista. BIG MISTAKE
apparently because now when I type:
> help(functionname)
or
?functionname
I get only a small text window giving some very basic info on the topic, e.g.:
base-package package:base R Documentation
The R Base Package
Description:
Base R functions
Details:
This package contains the
2017 Jun 27
3
Testing utility for building and updating CFG
Hi folks,
I’m working on adding an API for incremental updates to DominatorTree and I
noticed that there isn’t a simple way to quickly build and update CFG (just
for testing) -- one has to either build CFG programmatically, or write IR
by hand and manually map pointers to basic blocks. The downside is that it
tends to be pretty verbose and not easy to update (e.g. adding a new edge
often involves