similar to: Error in load(dataFile, myEnv)

Displaying 20 results from an estimated 2000 matches similar to: "Error in load(dataFile, myEnv)"

2006 Feb 26
0
R2.2.1 source compile problem in MacOS10.3
Dear R-list, Realising the importance of updating the R base, I tried to compile the source file of R2.2.1 in my machine, but failed. According to "R for Mac OS X FAQ", i've got the basic dependencies which are gcc 3.3 and g77 3.4. ./configure is fine Here are the errors I got from make: >make ... gcc -I../../src/extra/zlib -I../../src/extra/bzip2 -I../../src/extra/pcre
2006 Feb 24
1
RGtk2 install in Mac
Dear R-list, I'm struggling installing RGtk2 on my Mac. Has anybody succeeded in doing so? I've got Gtk2.8 (finally) and I have R2.0.1 I'm using ibook G4 and Mac 10.3.9 and here is the error I got from installing > R CMD INSTALL ~/Desktop/install/RGtk2_2.8.0-0.tar.gz * Installing *source* package 'RGtk2' ... checking for pkg-config... /sw/bin/pkg-config checking
2011 Jul 25
1
do.call in "with" construction
Dear all, I'd appreciate any help to rectify what must be a misconception of mine how environments work: ########################## myEnv <- new.env() myEnv$a.env <- 1 myEnv$symbols.env <- "a.env" a.global <- 2 symbols.global <- "a.global" myFun <- function(symbols){do.call("print", lapply(symbols, FUN=as.name))} do.call("myFun",
2020 May 12
4
S3 method dispatch for methods in local environments
Dear All, In R 3.6.3 (and earlier), method dispatch used to work for methods stored in local environments that are attached to the search path. For example: myfun <- function(y) { out <- list(y=y) class(out) <- "myclass" return(out) } print.myclass <- function(x, ...) print(formatC(x$y, format="f", digits=5)) myfun(1:4) # prints: [1]
2010 Oct 20
2
new.env does not recognize parents from subclasses of "environment"
Dear Developers, A lot has been changed in the R12.0 with respect to behavior of "environment" subclasses. Many thanks for that. One small irregularity, though; new.env does not allow the parent to be from S4 subclass. > setClass("myenv", contains="environment") [1] "myenv" > new.env(parent=new("myenv")) Error in new.env(parent =
2008 Jan 28
1
package.skeleton from within function: objects not found
Hi all, I ran into a strange error: I am trying to create a package skeleton for a new source package from within a function. Objects that are created in this function are to be included in my package, but for some reason, I get an error message saying that these objects cannot be found. Here is the code: ###### myfun <- function(pkgName,x){ myenv <- new.env() apply(x, 1,
2008 Jul 29
0
mac install no font found problem in quartz display
Dear list, I was attempted to install 2.7.1 in my mac only recently because of the fantastic quartz display support. I had no problem in building from source. But after installation, I always got font warnings as following when using quartz: Warning messages: 1: In axis(side = side, at = at, labels = labels, ...) ... : no font could be found for family "Arial" .... 33: In
2006 Sep 27
1
potential setClass bug (with user-defined environment)
the following returns an error in an 'exists' call on my machine MyEnv <- new.env() setClass("Numeric", "numeric", where=MyEnv) franklin parlamis > version _ platform powerpc-apple-darwin8.7.0 arch powerpc os darwin8.7.0 system powerpc, darwin8.7.0 status beta major 2 minor 4.0 year
2005 Apr 19
2
pl/R and MacOS X using R binary
I'm sorry if this is too off-topic--feel free to ignore. I am interested in using pl/R, an amazing "plugin" for the postgresql database. As is typical of these types of applications, pl/R needs to link against a shared library. However, it appears that the MacOS R binary does not build a static (.so) shared library. Is there an accepted, general way (read, a way that works)
2005 Apr 19
2
pl/R and MacOS X using R binary
I'm sorry if this is too off-topic--feel free to ignore. I am interested in using pl/R, an amazing "plugin" for the postgresql database. As is typical of these types of applications, pl/R needs to link against a shared library. However, it appears that the MacOS R binary does not build a static (.so) shared library. Is there an accepted, general way (read, a way that works)
2006 Jan 18
2
Help with mixed effects models
Dear R-users I have problems using lme The model i want to fit can be viewed as a two-level bivariate model Two-level bivariate: bivariate (S coded as -1,T coded as 1) endpoint within trial OR It can equivalently be considered as a three-level model.Three-level: endpoint within patient, patient within trial. My code tries to model the levels through a RANDOM statement and a
2011 Feb 15
4
Variable length datafile import problem
Dear all, I am stuck the reading of a file which has 100s of rows and variable column counts. The tab-limited data file looks something like: Some_Text 1 3 123 1534 -119 1010 178 Some_Taxt 1 3 133 1434 -219 1010 178 Some_Tsxt 1 3 244 1334 -319 1010 178 Some_Tfxt 1 3 153 1234 -419 1010 178 Some_Trxt 1
2011 May 24
1
how to eliminate first row in datafile created in do loop
I am trying to create a routine that would take a time series and generate monthly 25%tile and 75%tile limits based on 12 calendar months. I have succeeded to create a do loop to do this, but can't figure out how to initiate the receiving datafile (in this case "limit.list") without sticking an initial set of zeroes in. I'd like to be able to insert a new column
2011 Jun 16
7
Problem with usage of arrays
Hi there, i can''t use array in puppet. Here is my codesnipplet: $callapidata = [ ''wert1'',''wert2''] notice $callapidata[1] A puppetrun results in: Could not retrieve catalog from remote server: Error 400 on SERVER: can''t convert String into Integer at /etc/puppet/myenv/modules/ uc4client/manifests/init.pp:41 on node testnode Thanks for your
2011 Sep 12
2
regression on data subsets in datafile
I have data of the form tC <- textConnection(" Subject Date parameter1 bob 3/2/99 10 bob 4/2/99 10 bob 5/5/99 10 bob 6/27/99 NA bob 8/35/01 10 bob 3/2/02 10 steve 1/2/99 4 steve 2/2/00 7 steve 3/2/01 10 steve 4/2/02 NA steve 5/2/03 16 kevin 6/5/04 24 ") data <- read.table(header=TRUE, tC) close.connection(tC) rm(tC) I am trying to calculate rate of change of parameter1 in
2011 Feb 17
0
Fw: RE: Variable length datafile import problem
--- On Thu, 2/17/11, John Kane <jrkrideau at yahoo.ca> wrote: > From: John Kane <jrkrideau at yahoo.ca> > Subject: RE: [R] Variable length datafile import problem > To: "Ingo Reinhold" <ingor at kth.se> > Received: Thursday, February 17, 2011, 5:54 AM > Generally most of the gurus are in > this list.? Hopefully someone will take an interest in >
2020 May 12
0
S3 method dispatch for methods in local environments
Dear Wolfgang, I think this new behaviour is related to the following R 4.0.0 NEWS item: > S3 method lookup now by default skips the elements of the search path between the global and base environments. Your environment "myenv" is attached at position 2 of the search() path and thus now skipped in S3 method lookup. I have just noticed that
2004 Jul 01
2
RMySQL
Hi!! I want some help to install the RMySQL package. I've tried to configure some things but i'm still getting erros. Anybody could help me?? Thank's Talita Perciano Costa Leite Graduanda em Ci??ncia da Computa????o Universidade Federal de Alagoas - UFAL Departamento de Tecnologia da Informa????o - TCI Constru????o de Conhecimento por Agrupamento de Dados - CoCADa
2005 Feb 24
4
r: functions
hi all i have a function that uses two inputs, say xdata and ydata. An example is the following, simple1<-function(xdata,ydata) { ofit<-lm(ydata~xdata) list(ofit) } say i use arbitray number for xdata and ydata such that D = x1 x2 y 1 1 10 2 6 6 3 10 7 x<-D[,1:2] and y<-D[,3] if one uses these inputs and rund the program we get the following: >simple(xdata=x,ydata=y)
2016 Apr 22
0
non-numeric argument to binary operator problem in stock analysis
I use these codes to get the returns of my simulated portfolio but, I can not get returns as the non-numeric argument to binary operator problem in stoc thank you guys first. library(quantmod)library(quadprog)library(stockPortfolio)library(fPortfolio)library(tseries)source("efficientFrontierFunction.r") myenv <- new.env()##Calculate the mean and sd of the monthly returns of each