similar to: Reading in .csv Files in R 1081

Displaying 20 results from an estimated 2000 matches similar to: "Reading in .csv Files in R 1081"

2008 Aug 28
2
Defining environments within functions
How can I define environments within a function so that they are visible to calls to a sub-function? I have defined an objective function, ProfileErr = function(params,...) which I would like to optimize using standard routines (optim, nlminb,....) but which contains auxiliary variables which need to be updated along with params. No optimization routine in R that I have found has facilities
2007 Sep 21
1
problem with 'integrate'
Hello - I am having a problem with the function 'integrate'. I am running R on OSX (R 2.5.1). I am trying to suppress the error message when 'integrate' attempts to integrate across a parameter set giving a non-finite function value. I'm using it in a MCMC / simulated annealing algorithm, and it is entirely possible that some parameter sets will give non-
2004 Jul 06
2
lme: extract variance estimate
For a Monte Carlo study I need to extract from an lme model the estimated standard deviation of a random effect and store it in a vector. If I do a print() or summary() on the model, the number I need is displayed in the Console [it's the 0.1590195 in the output below] >print(fit) >Linear mixed-effects model fit by maximum likelihood > Data: datag2 > Log-likelihood:
2006 Jul 24
1
R and ACML
While I recently received some very helpful files and email from Kevin Hendricks for compiling with ATLAS, thought I'd first have a stab at ACML. Having problems, which I suspect are trivial to solve: 1. machine is running RHEL 4, meaning, it uses gcc 3.4.5 out of the box, and g77. In my experience, over-riding RHEL's choice, and manually upgrading to gcc 4.x.x (and, as a consequence
2001 Mar 27
1
ATTN Development TEAM - "invalid mid from server"
Hi, We are having a problem with smbclient running tar back to a FreeBSD system for Amanda. smbclient seems to be choking on large files. Of the many singularly uninformative error messages, the primary error* is "invalid mid from server" Searching all FAQ's and news groups shows this has been a problem for several users since 8/2000 with no published response from anyone except a
2002 Mar 09
1
How does Samba know which driver goes with which queue?
I am moving from Samba 1.9.18 to Samba 2.2.2. I have figured out how to install printer drivers into the Samba server from a W2K workstation. But I can't figure out how Samba keeps track of which print queue uses which driver. Any help greatly appreciated. -Rick -- |Rick Cochran phone: 607-255-7618| |Cornell CIT - Systems & Operations - Net-Print
2006 Sep 18
1
symbolic matrix elements...
Normally, I do symbolics in Maple, or Mathematica, but I'm trying to write a simple script for students to handle some *very* simple calculations (for other purposes) with matrix or vector elements, where the elements are coded symbolically. What I've tried with *partial" success is use of the tilde (~) operator. So, for example, consider a simple vector: test=matrix(c(~
2008 Aug 22
1
R CMD check problem
I have a query after finding an error running Rtools on a Windows machine. I am trying to build an update to the R fda library using Rtools27 under Windows XP Pro. This is the current fda library on RForge: http://r-forge.r-project.org/projects/fda Following R CMD build, R CMD check produces the following error in 00Install.out: installing R.css in F:/work/RForge/fda.Rcheck make: ***
2006 Jan 25
1
imbalanced classes
Hi Andy, I know this topic has been discussed before on the R-help, but I was wondering if you could offer some advice specific to my application. I'm using the R random forest package to compare two classes of data, the number of cases in each class relatively low, 28 in class 1 and 9 in class 2. I'd really like to use R environment to analyze this data, however I'm finding it
2009 Sep 25
1
Problem with dgamma function.
Hi, All, I am getting some funny results trying to use R's built in distribution functions. In R: > dgamma(4.775972,1.37697964405418, 0.106516604930466) [1] 0.05585295 > dgamma(4.775972,1.37697964405418, 0.106516604930466,TRUE) ### THIS IS JUST WRONG! [1] 0.01710129 > log(dgamma(4.775972,1.37697964405418, 0.106516604930466)) [1] -2.885033 > In C:
2004 Apr 14
1
mvtnorm problems
Hi all! My apologies for posting such a naive question. I've been trying to run multiple comparison contrasts on several GLM models. For doing so I've tried to use the mulcomp CRAN package. However, before I can make the package to work I have to load the mvtnorm package which I cannot find in CRAN (or anywhere else). Any inputs? Thanks a lot, /J Jose A. Andres. Post-doc Associate.
2004 Apr 28
2
Matrix efficiency in 1.9.0 vs 1.8.1
I'm seeking some advice on effectively using the new Matrix library in R1.9.0 for operations with large dense matrices. I'm working on integral operator models (implemented numerically via matrix operations) and except for the way entries are generated, the examples below really are representative of my problem sizes. My main concern is speed of large dense matrix multiplication. In R
2006 Dec 05
1
dynamic variable creation in lists and data frames
Hi I have a question about the creation of variables within lists in R. I am running simulations and am interested in two parameters, ESM and ESMM (the similarity of these names is important for my question). I do simulations to generate ESMM, then plug these values into a second simulation function to get ESM: x <- list() for (i in 1:nsimulations) { x$ESMM[i] <- do_simulation1()
2014 Feb 12
1
TKEY is unacceptable
Samba 4.1.1 using BIND_DLZ (bind-9.9.1-0.1.P2) on CentOS 6.5 x86_64. I have two domain controllers, dc-1 and dc-2, which each have three network interfaces. Selinux is in permissive mode, and iptables is off. One interface on each dc is to be shut down. So, on dc-1, I do: # nsupdate -g update delete europa.icse.cornell.edu A 192.168.3.250 update delete europa.icse.cornell.edu A 192.168.3.251
2015 Feb 27
0
DriveReady error after live migration
I have three machines running libvirt under Scientific Linux (RHEL derivative) version 6. The virtual machine disk images are running SL 5 and 6, are all stored on NFS, and I can do live migrations with virsh migrate --live guestname qemu+ssh://vmhostname.math.cornell.edu/system Trouble is, within a day or two after the migration, the guest hangs up with repeated DriveReady errors and has to
2015 May 10
2
bind fails to start w/missing records
Roland, Thank you very much for your attention to this. You should get a medal for all the help you give everyone on this list. On Sun, 10 May 2015, Rowland Penny wrote: > Why ? And why don't they show up when you ask for the zones with samba-tool ? I have that many subnets. As for why they don't show up: they are defined in BIND's configuration and not samba's; they never
2006 Jun 13
2
Building R package: make pdf & _masked_by_GlobalEnv
Hi.... I am assembling an R package (under Windows XP, R v.2.3) and have a very basic question. Running R CMD build does not generate a pdf. R CMD check generates a .dvi, but I cannot figure out how to automatically create the pdf. I thought from reading the "writing r extensions' manual that R CMD build was supposed to generate the pdf. I am having no success using various
2007 Apr 08
1
How do I back transforme ordinary log-krigged prdiction values?
I have a question to everybody. After log10 transfprmation, I have done ordinary kriging in gstat in R? I need to back trnasform the prediction values to orgiginal scale. How do I do this in gstat in R? Thanks Zia -- Zia Uddin Ahmed 915 Brad Field Hall Department of Crop and Soil Cornell University Ithaca NY 14850 USA
2006 Jun 07
3
Building packages in R - 'private' functions
Hello. I am creating an R package that I'd like to submit to CRAN (OS Windows XP). How do I distinguish among 'public' functions, e.g., those that are intended to be called by users of the package and for which I am providing documentation & examples, and 'private' functions, which are used internally by the 'public' functions, but for which I do not wish to
2018 Jul 03
1
Breaking a virtlockd lock?
I have several Qemu/kvm servers running VMs hosted on an NFS share, and am using virtlockd. (lock_manager = "lockd" in qemu.conf) After a power failure, one of the VMs will not start, claiming that it is locked. How do I get out of this? thanks, Steve Gaarder System Administrator, Dept of Mathematics Cornell University, Ithaca, NY, USA gaarder@math.cornell.edu