[R] Object not Found Error on a .csv file

2014-01-16 Thread Valerie Shalin
Hello: I am a new user, running the latest version of R on my Mac. I have started by reading a file with the read.csv command: task2analyses - read.csv(file=GroupsWithRTsEqualN.csv,head=TRUE,sep=,) When I print it out in R, the file appears to be intact, with the proper headers. Yet, when I

Re: [R] Object not Found Error on a .csv file

2014-01-16 Thread Sarah Goslee
Hi Valerie, Assuming GfullUA is a column of your data frame task2analyses, you need to tell R where to look. It's trying to find an object called GfullUA, and there isn't one. Here are two ways: with(task2analyses, cor(GfullUA, GFullUA)) cor(task2analyses$GfullUA, task2analyses$GFullUA) You

[R] object not found in a cca analysis with vegan package

2013-09-24 Thread Pierre Paradis
I'm a beginner, trying to do a canonical correspondance analysis with the vegan package, but I come up with that : library(vegan) abondance.txt - read.table(C:/Users/abondance.txt,header=T,sep=\t) abondance - cca(abondance[,-c(1,2)]~altitude, data=abondance, nhea) Error in model.frame(data

Re: [R] object not found in a cca analysis with vegan package

2013-09-24 Thread Pascal Oettli
Hello, It is kindly requested to post in plain text. HTML is prohibited. Your data are stored in abondance.txt, not in abondance. Hope this helps, Pascal 2013/9/25 Pierre Paradis exod...@hotmail.com I'm a beginner, trying to do a canonical correspondance analysis with the vegan package,

Re: [R] object not found

2013-06-02 Thread Jannetta Steyn
Hi Jim It is defined and initialised: line 69 in the differential equation: dmCaT_soma_AB - (mCaTx(v_soma) - mCaT_soma_AB)/taumCaT(v_soma) and initialised in line 83 dmCaT_soma_AB=0 However, l just noticed the mistake. It needs to be initialised without the d, i.e. mCaT_soma_AB=0 and not

Re: [R] object not found

2013-06-02 Thread Jim Holtman
but that is not the variable that is not found. mCaT_soma_AB Sent from my iPad On Jun 2, 2013, at 4:12, Jannetta Steyn janne...@henning.org wrote: mCaT_soma_AB __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE

[R] object not found

2013-06-01 Thread Jannetta Steyn
Hi All I am trying to implement a neural model in R from a paper but I have run into a bit of a problem. The model is getting so complex that I can't really test it in bits any more. At the moment I get this error: Error in eval(expr, envir, enclos) : object 'mCaT_soma_AB' not found I think I

Re: [R] object not found

2013-06-01 Thread jim holtman
I just did a search through the source and never did find a place that 'mCaT_soma_AB' was defined. How can you expect to use it if it has not been defined. On Sat, Jun 1, 2013 at 8:50 PM, Jannetta Steyn janne...@henning.org wrote: Hi All I am trying to implement a neural model in R from a

[R] object '---' not found

2012-04-10 Thread MLE
Hi, I am very new to R and the stats world. I have enjoyed working with R so far but I have come across an error message in a very simple command that I am unable to resolve. I bring data in through excel .csv files and check them to be sure R reads them correctly and has everything assigned as

Re: [R] object '---' not found

2012-04-10 Thread jim holtman
If you brought the data in from Excel, it is probably a dataframe. You probably need to read the Intro to R on how to access information in a dataframe. You should at least show what you did. most likely VIQ is a column in your Excel file and depending on how you read it in, you would probably

Re: [R] object not found - Can not figure out why I get this error: Error in NROW(yCoordinatesOfLines) : object 'low' not found

2012-02-12 Thread ilai
Ah, scoping rules... Consider: f - function(x,...) plot(x,xlim=c(low,high),...) f(1:10,low=2,high=9) # Error ... object 'low' not found But: f - function(x,low,high,...) plot(x,xlim=c(low,high),...) f(1:10,2,9,col=2) # beautiful red points [low,high] Sorry I can't be more specific but never

[R] object not found - Can not figure out why I get this error: Error in NROW(yCoordinatesOfLines) : object 'low' not found

2012-02-11 Thread Samo Pahor
Hi, I have been using R for over a year now. I am a very happy user. Thank you for making this happen. This is my first question to this list. I trying to add some functions to quantmod that would enable me to draw arbitrary lines and text and make sure they are redrawn. I have created

[R] Object not found using GAMs in MGCV Package

2012-01-16 Thread ruggeddon24
This is my first time running GAMs in R. My csv file has these column headings: X Y Sound Atlantic Blacktip Bonnet Bull Finetooth Lemon Scalloped Sandbar Spinner Abundance Diversity Depth Distance Width System Channel Profile Bathy Slope

Re: [R] Object not found using GAMs in MGCV Package

2012-01-16 Thread Sarah Goslee
See inline: On Mon, Jan 16, 2012 at 6:29 PM, ruggeddon24 smithdon2...@gmail.com wrote: This is my first time running GAMs in R. My csv file has these column headings: X         Y         Sound     Atlantic  Blacktip  Bonnet Bull      Finetooth Lemon     Scalloped Sandbar   Spinner Abundance

Re: [R] Object not found using GAMs in MGCV Package

2012-01-16 Thread Jorge I Velez
Hi, If x is your data, then gam(Atlantic ~ s(depth, bs=sos, k=4) + s(distance, bs=sos, k=4), data = x) will do. See examples in ?gam. BTW, how did you read your data in R? What's the output of ls()? HTH, Jorge * * On Mon, Jan 16, 2012 at 6:29 PM, ruggeddon24 wrote: This is my first

Re: [R] Object not found using GAMs in MGCV Package

2012-01-16 Thread Jorge I Velez
Hi Dontrece, It looks like you do not have an object Final in your active session. Could you please show us how you read your data, e.g., what commands you used and what's the result of ls()? As Sarah Goslee mentioned in an earlier post, you probably used read.table() or read.csv() but you

Re: [R] Object not found using GAMs in MGCV Package

2012-01-16 Thread Dontrece Smith
Now, it read this: library(mgcv) This is mgcv 1.7-6. For overview type 'help(mgcv-package)'. gam(Atlantic ~ s(depth, bs=sos, k=4) + s(distance, bs=sos, k=4), data = Final) Error in inherits(x, data.frame) : object 'Final' not found On 1/16/12, Jorge I Velez jorgeivanve...@gmail.com wrote:

Re: [R] Object not found using GAMs in MGCV Package

2012-01-16 Thread Dontrece Smith
I used: Final - read.csv(Final.csv, header=TRUE) On 1/16/12, Jorge I Velez jorgeivanve...@gmail.com wrote: Hi Dontrece, It looks like you do not have an object Final in your active session. Could you please show us how you read your data, e.g., what commands you used and what's the

Re: [R] Object not found using GAMs in MGCV Package

2012-01-16 Thread R. Michael Weylandt michael.weyla...@gmail.com
That should work: you are using it before the call to gam? Try this (verbatim) library(mgcv) Final - read.csv(Final.csv) ls.str() search() sessionInfo() gam(Atlantic ~ s(depth, bs=sos, k=4) + s(distance, bs=sos, k=4), data = Final) and give the output. Michael On Jan 16, 2012, at 7:13

Re: [R] Object not found using GAMs in MGCV Package

2012-01-16 Thread Don McKenzie
And note how Michael has changed your code so that your data object is now named Final instead of Final.csv. On 16-Jan-12, at 5:16 PM, R. Michael Weylandt michael.weyla...@gmail.com wrote: That should work: you are using it before the call to gam? Try this (verbatim) library(mgcv) Final

[R] object not found with %dopar% when using foreach

2011-05-27 Thread Nicolas Berkowitsch
Dear R-List member, tried implement the foreach loop. It works fine, when I'm using %do%, but not when I'm using %dopar%. I always receive one of the following error messages: error in { : task 1 failed - Objekt 'S3' not found - could the .export be an solution for this?? Any help is much

[R] object not found inside step() function

2009-11-16 Thread shuai yuan
Hi, there, My appologize if someone ask the same question before. I searched the mailing list and found one similar post, but not what i want. The problem for me is, I use the step( glm()) to do naive forward selection for logistic regression. My code is functional in the open environment.

Re: [R] object not found inside step() function

2009-11-16 Thread David Winsemius
On Nov 16, 2009, at 2:31 PM, shuai yuan wrote: Hi, there, My appologize if someone ask the same question before. I searched the mailing list and found one similar post, but not what i want. The problem for me is, I use the step( glm()) to do naive forward selection for logistic

Re: [R] object not found inside step() function

2009-11-16 Thread shuai yuan
Thanks David. My code is ok if I did not wrap it up. The problem poped up after i make it as a function. In my step() call, i just make it a little bit more general. I do not like stepwise method too, but need it as a comparison. samer On Mon, Nov 16, 2009 at 3:03 PM, David Winsemius

Re: [R] object not found within function

2009-11-03 Thread tlumley
On Mon, 2 Nov 2009, Thushyanthan Baskaran wrote: Hi, I am trying to write a function to compute many cross-tabulations with the -svytable- command. Here is a simplified example of the structure of my code (adapted from the -svytable- help file): In the 'survey' package -- if you say what

Re: [R] object not found within function

2009-11-03 Thread Thushyanthan Baskaran
Hi Thomas, sorry, I should have mentioned that I was using the survey package. But thank you very much for your quick response. Your first solution worked perfectly. Best, Thushyanthan tlum...@u.washington.edu wrote: On Mon, 2 Nov 2009, Thushyanthan Baskaran wrote: Hi, I am trying

Re: [R] object not found within function

2009-11-03 Thread Uwe Ligges
Thushyanthan Baskaran wrote: Hi, I am trying to write a function to compute many cross-tabulations with the -svytable- command. Here is a simplified example of the structure of my code (adapted from the -svytable- help file): data(api) func.example-function(variable){

[R] object not found within function

2009-11-02 Thread Thushyanthan Baskaran
Hi, I am trying to write a function to compute many cross-tabulations with the -svytable- command. Here is a simplified example of the structure of my code (adapted from the -svytable- help file): data(api) func.example-function(variable){ dclus1-svydesign(id=~1, weights=~pw,data=apiclus1,

[R] Object not found

2009-05-22 Thread Gaertner, Stefanie
Hello, I run into a problem: ftable(table(Fire, Standard, StoAll), col.vars=c(Fire,Standard)) Error in table(Fire, Standard, StoAll) : object 'Fire' not found I do not understand that because when I read the table everything seems correct.

Re: [R] Object not found

2009-05-22 Thread jim holtman
You read them into a dataframe so you need to do ftable(table(Stocking_all$Fire, Stocking_all$Standard, StoAll), col.vars=c(Fire,Standard)) On Fri, May 22, 2009 at 2:33 PM, Gaertner, Stefanie stefanie.gaert...@ales.ualberta.ca wrote: Hello, I run into a problem: ftable(table(Fire,