similar to: Testing if an object exists

Displaying 20 results from an estimated 11000 matches similar to: "Testing if an object exists"

2001 Aug 31
1
RODBC SQLSave
I am having the following problem with RODBC I connect to an oracle 8i (8.1.7) database using RODBC as follows; dbConn <- odbcConnect("mydatabase","myuserid","mypassword",case="oracle") Then I extract some data, actually a whole table; orgdata <- sqlQuery(dbConn, "select * from organism", na.strings = "NA") Then I try to save it
2004 Jul 14
1
RCMD fails in Windows XP
I have setup R 1.9.1 on my Dell laptop running windows XP. I have installed it to C:\R\rw1091. Rgui runs fine, but Rcmd fails if run with parameters (i.e. install). The windows dialog box cheerfully says "R for Windows front-end has encountered a problem and needs to close. We are sorry for the inconvenience." Running the visual C++ debugger informs me that there is an unhandled
2002 Feb 12
0
ROracle: Call function name not in load table
Hi, I've just installed the ROracle package. The library loads okay but when I try to instantiate a database manager I get an error: > ora <- dbManager("Oracle") Error in .Call("RS_Ora_init", config.params, reload) : .Call function name not in load table Has anyone had any experience with using this package? Regards, Gavin Kennedy Software Engineer -
2011 Jun 29
2
Testing if a variable is specified within a function & adding TRUE/FALSE options to functions
I have 2 related questions about functions. 1. I am writing a function to plot data from a time series with the form myplot<-function(data, d1,d2) { } Where d1 and d2 are two dates in a time series. The idea being that if no values for d1 and d2 are entered then the function defaults to plotting the whole time series, else it plots the data for the interval specified by d1 and d2. I am
2006 Apr 10
2
TukeyHSDs function (pgirmess package)
Dear R-help, I have been trying to use the TukeyHSDs function in the "pgirmess" package to quickly extract all significant pairwise comparisons in an aov object. However, it seems that this function isn't working as intended when only the two last populations means being tested are significant. An example of this can be seen below: >numbers<-c(464,482,453,434,495,487)
2003 May 22
4
grep, gsub, sub have problems with NA values (PR#3078)
In a string context, grep, gsub, sub are improperly treating NA (missing) as the string "NA", and returning unexpected results > grep("A", c(NA,"NA")) [1] 1 2 # expected: # [1] 2 > gsub("A", "X", c(NA,"NA")) [1] "NX" "NX" # expected # [1] NA "NX" > sub("A", "X",
2007 Mar 03
11
Beyond multiple return values
First off, I love mocha and have been using it all over the place ever since I found it a few months ago. So I noticed the other day rather belatedly that mocha-0.4.0 had been released and that we can now do the object.stubs(:method).returns (:first_value, :second_value). Much neater than fiddling with lambdas everytime this sort of behaviour is needed But can we go further ? I was
2007 Apr 04
4
[LLVMdev] For a small help
Hi, I want to ask for a small help for creating an instruction that calls e member method of an object. I suppose that this is not a headache but I am impatient in learning :) I would be very thankful if you can show me an example snippet code that does this in LLVM. Below is described my case. Let's say I have a class TestClass class TestClass { int testMethod(int a); } and I want to
2015 Apr 07
0
Patch for rsync --link-dest won't link even if existing file is out of date (fwd)
Folks, We faced a similar situation to that which Ken described - we recycle backup directories, for good reason. There is a patch to solve the problem. Our systems administrator provided the following description of the patches we use: ============================================================================ 1. rsync_link_dest improvement by Bryant Hansen Normally, existing files in
2015 Apr 16
2
Recycling directories and backup performance. Was: Re: rsync --link-dest won't link even if existing file is out of date (fwd)
rsync folks, Henri Shustak <henri.shustak at gmail.com> wrote: > LBackup always starts a new backup snapshot with an empty directory. I > have been looking at extending --link-dest options to scan beyond just > the previous successful backup to (failed backups / older backups). > However, there are all kinds of edge cases which are worth considering > with such a changes. At
2007 Jan 07
1
substitute creates an object whichprints incorrectly (PR#9427)
> I think we should get rid of source attributes completely, > since they are no longer needed, but your comment still > applies to source references. We should strip them when code > gets modified. > > Duncan Murdoch I would be very concerned about losing source attributes-- it would break a lot of my code :(! It's very useful to have a single portable R object that
2015 Mar 21
0
Samba 4.1 gentent, ls, no display domain user name on Primary ACDC but wbinfo -u yes
Now I realized what the documentation says, sucessfull. I returned to run the above command and these results changed. Change the settings of smb.conf, now looks: [global] workgroup = KENNEDY realm = kennedy.edu netbios name = PROTEUS server role = active directory domain controller dns forwarder = 200.40.220.245 allow dns updates = nonsecure
2004 Jul 16
0
Does AIC() applied to a nls() object use the correctnumber of estimated parameters?
Thanks Adaikalavan, however the problem remains. Considering AIC() as applied to the linear model in AIC() help documentation: > data(swiss) > lm1 <- lm(Fertility ~ . , data = swiss) > AIC(lm1) [1] 326.0716 Clearly this includes the estimation of the residual standard error as an estimated parameter, as this gives the correct score: > -2*logLik(lm1) + 2*(length(coef(lm1))+1)
2015 Mar 21
0
Samba 4.1 gentent, ls, no display domain user name on Primary ACDC but wbinfo -u yes
Ready changed what you asked me and restart the samba service. Yet I only see the UID instead of domain users. :-/ One question. I do not see the service "winbind or winbindd" running, is this correct. I can not find it in init.d Also "wbinfo -u" Show me the domain users. Thanks for helpme, sorry for noob question. > Date: Sat, 21 Mar 2015 09:00:37 +0000 >
2004 Jul 16
1
Does AIC() applied to a nls() object use the correct number of estimated parameters?
I'm wondering whether AIC scores extracted from nls() objects using AIC() are based on the correct number of estimated parameters. Using the example under nls() documentation: > data( DNase ) > DNase1 <- DNase[ DNase$Run == 1, ] > ## using a selfStart model > fm1DNase1 <- nls( density ~ SSlogis( log(conc), Asym, xmid, scal ), DNase1 ) Using AIC() function: >
2015 Mar 22
0
Samba 4.1 gentent, ls, no display domain user name on Primary ACDC but wbinfo -u yes
Even "getent" does not show me the domain users. Yes, im rember, im install sernet version the first time, after im uninstall it. As we know? if the version of winbind is correct and if the samba daemon running. Regards > Date: Sat, 21 Mar 2015 18:36:13 +0000 > From: rowlandpenny at googlemail.com > To: samba at lists.samba.org > Subject: Re: [Samba] Samba 4.1 gentent,
2007 Apr 04
0
[LLVMdev] For a small help
Hi Ferad, On Wed, 2007-04-04 at 19:48 +0200, Ferad Zyulkyarov wrote: > Hi, > > I want to ask for a small help for creating an instruction that calls > e member method of an object. I suppose that this is not a headache > but I am impatient in learning :) I would be very thankful if you can > show me an example snippet code that does this in LLVM. Below is > described my
2003 Oct 21
0
summary - controling x-labels in xyplot (lattice) when x is POSIX object
Hi, The solution to my problem is to use lattice:::calculateAxisComponents to calculate appropriate labels for the time axis in trellis plots. # For example, given x <- seq.POSIXt(strptime("2003/01/01", format = "%Y/%m/%d"), strptime("2003/10/01", format = "%Y/%m/%d"), by = "month") y <- rnorm(length(x)) dat <-
2001 Feb 26
1
[fwd] Re: Can't encode anything using Oggdrop Beta 4 (from: bryandanielkennedy@hotmail.com)
I don't know enough to tell if this is pilot error on the user's part or a legit problem. Advice requested (also Cc: the original user if you can). ----- Forwarded message from Bryan Kennedy <bryandanielkennedy@hotmail.com> ----- Delivery-Date: Mon Feb 26 22:07:54 2001 From: "Bryan Kennedy" <bryandanielkennedy@hotmail.com> To: "Monty"
2013 Jan 23
0
Changed attributes for a file in destination that is hard linked get propagated to --link-dest directories
Folks, Thinking again about the issue of changed attributes for a file in source that is identical in content to a file in destination that is hard linked get propagated to the --link-dest directories I would like to suggest a new flag, (perhaps called something like --preserve-linked-attributes), to allow callers to get the behaviour that is needed to allow the use of recycled